How rohithgg/vehicle-maintain-ai-predict works
Main Components
• Data Collection & Simulation:
• Sensor data uplift via CSV (vehicle_telemetry_data.csv) and the simulation environment using Airsim (referenced in AirsimAPI.py).
• Data Processing:
• Files like py1.pfm and the CSV data indicate data preprocessing and preparation steps.
• The use of NumPy files (X_seq.npy and y_seq.npy) shows preprocessed sequences used in training or predictions.
• Machine Learning Model:
• The supervised learning model is saved as bike_health_model.h5 and bike_health_model.keras.
• This component is responsible for predictive maintenance and engine health monitoring.
• Autopilot & Driver Assistance:
• autopilot.py implements components for autonomous driving.
• monitor.py and server_read.py likely handle real-time monitoring and interfacing with the simulation.
• External/System Integration:
• Although not explicitly shown with dedicated directories, the README mentions IoT sensor integrations and mobile-based interfaces for displaying predictions and sensor data.
Relationships and Interactions between Components
• Data flows from sensors (or simulated sensors via Airsim) into the Data Collection layer.
• The collected data is then processed and formatted, feeding into the ML model for prediction.
• The ML model outputs maintenance alerts or engine health statuses that are fed into the Autopilot or ABS systems.
• There is real-time monitoring to continuously relay data between the simulation (Airsim) and the user interface (mobile/sensor dashboard).
• Server_read.py might be used to relay data between the backend engine (model, monitor) and the frontend display components.
Architectural Patterns and Design Principles
• Separation of concerns: Each file serves a distinct role (data collection, processing, modeling, simulation, monitoring).
• Modular design: Components (ML model, autopilot, simulation API) can be individually developed, tested, and later integrated.
• Real-time data flow: Emphasis on continuous sensor data to facilitate driving assistance and predictive maintenance.
Relevant Technology Stack Elements
• Programming Language: Python.
• Machine Learning Frameworks: TensorFlow/Keras (given .h5 and .keras files), possibly with Scikit-learn.
• Data Handling: NumPy for sequence data processing (X_seq.npy and y_seq.npy).
• Simulation: Airsim for vehicle and sensor simulation.
• Additional tools referenced: Jupyter Notebook for initial analysis/training.