Skip to content

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.

Notifications You must be signed in to change notification settings

AhmedAdelWafdy7/ECU-HEAD

Repository files navigation

ECU-HeadUnit

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.

Features

  • 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

Setup and Installation

To set up the environment and run the head unit on Ubuntu, follow these steps:

  1. 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
  2. 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*
  3. Build the project:

    mkdir build
    cd build
    qmake ..
    make
  4. Run the head unit application:

    ./ECU-HeadUnit

Documentation

For more detailed information, refer to the Autonomous-Driving-System project documentation.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgements

  • QT5
  • Yocto Project
  • RaspberryPi

For any questions or support, please contact ahmedadelwafdy782@gmail.com.

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages