This repository is for the ECU-HeadUnit part of the Autonomous-Driving-System project. The ECU-HeadUnit is based on an independent RaspberryPi board and displays information such as the vehicle's driving status and location on the head unit screen. The head unit was developed with QT5 and interacts with ECU-Core via CAN communication. This repository includes the head unit developed in Ubuntu OS. By following the documentation, you can set up the environment and run the head unit on Ubuntu. However, in the overall project, this head unit runs in an OS based on the Yocto Project and is updated via OTA.
- Displays vehicle driving status
- Shows vehicle location
- Developed with QT5
- Interacts with ECU-Core via CAN communication
- Runs on Ubuntu OS for development
- Runs on Yocto Project-based OS for production
- Supports OTA updates
To set up the environment and run the head unit on Ubuntu, follow these steps:
-
Clone the repository:
git clone -b adas https://github.com/AhmedAdelWafdy7/ECU-HEAD.git cd ECU-HeadUnit mkdir build && cd build cmake .. make cd .. sh can_setup.sh sh run.sh
-
Install the required dependencies:
sudo apt-get update sudo apt-get install qt5-default qtcreator sudo apt install qtdeclarative5-dev sudo apt install qml-module-qtquick-controls sudo apt install qml-module-qtquick-extras sudo apt install libqt5serialbus5*
-
Build the project:
mkdir build cd build qmake .. make
-
Run the head unit application:
./ECU-HeadUnit
For more detailed information, refer to the Autonomous-Driving-System project documentation.
This project is licensed under the MIT License. See the LICENSE file for details.
- QT5
- Yocto Project
- RaspberryPi
For any questions or support, please contact ahmedadelwafdy782@gmail.com.