Skip to content

In this project we built a car with accompanying software that makes it easy to write autonomous control logic for the students at HVL. The system we have developed gives the students easy access to the data from the different sensors and makes it intuitive how to control the car based on this data.

License

Notifications You must be signed in to change notification settings

BjAlvestad/BO19E-15_SensorVehicle

Repository files navigation

BO19E-15 Sensor vehicle for use by students in practical application of interdisciplinary skills

Table of Contents

About The Project

This project was the bachelor thesis of Bjørnar Alvestad, Benjamin Odland Skare and Erlend Lone. Our goal was to make a learining tool for automation/electrical engineering students at Western Norway University of Applied Science. The physical car we made has ultrasonic sensors and a LiDAR for measuring distance to obstacles and it has encoders that is used to determine the speed of the car and the distance travelled. HVL SensorVehicle Simulator was made so that the students could test their control logics without having the physical car present.

Built With

SensorVehicle-main (UWP app, C#, XAML)

Simulator-2D (UWP app, C#, XAML)

SensorVehicle-extras (UWP app, C#, XAML, JavaScript, CSS, HTML)

Android app for remote control (Java - Android Studio)

Code for microcontrollers (C++ - Visual Micro)

Getting Started

To fully use HVL SensorVehicle Main and write your own control logic you need to:

  • For writing your own control logic:
git clone https://github.com/BjAlvestad/BO19E-15_SensorVehicle-Simplified.git
  • For access to the entire software:
git clone https://github.com/BjAlvestad/BO19E-15_SensorVehicle.git
  • Install HVL SensorVehicle Simulator from Microsoft Store
  • Open SensorVehicle-main.sln and navigate to one of the StudentXX.cs-files

Usage

Control logic example
The above example shows how one can make the car drive towards the largest distance reported by the LiDAR.

To write your own control logic, navigate to the files in the picture below. The different StudentXX.cs-files contains instruction where to write the control logic.


An overview of the different control logics from the shown .cs-files will appear in the student logic page.



The different version of the car that was made are shown in the pictures above. The first version was made to get the different hardware components to work. The second version was made fully functional. The complete software was made by using this version of the sensor vehicle. The third and final version was made even more solid than the second version. The brackets were 3D-printed and the sheet were cut with laser cutter.

For more information about the development process and a detailed user manual, see Bachelor thesis document (Norwegian)

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature)
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Acknowledgements

About

In this project we built a car with accompanying software that makes it easy to write autonomous control logic for the students at HVL. The system we have developed gives the students easy access to the data from the different sensors and makes it intuitive how to control the car based on this data.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published