Skip to content

Linerover, a fully autonomous car made in C++ utilizing an Arduino

Notifications You must be signed in to change notification settings

xCodiq/Linerover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linerover


Linerover

Hey! Welcome to the official repository of my Autonomous Car called Linerover. During my first year of computer science, I worked on the Linerover, and it was the final product for the Project System module at Saxion University.

Saxion

 

💻 Software

I wrote this project in C++ using the Arduino framework, which I learned by following multiple classes at my university and doing a lot of research online. By combining a very intelligent IDE like Clion by Jetbrains, and Platformio, I was able to write and test my code very efficiently.

Arduino Startup

#include "Linerover.h"

bool RUNNING = false;
bool LOGGING = false;

void setup() {
    // Configure the linerover logger
    if (LOGGING) Logger::configure(Pins::SERIAL_BAUD);

    // Linerover#startEngine() is used to enable the car, initialize all the controllers,
    // and make sure everything is ready before driving/looping
    Linerover::startEngine();

    // Set the global boolean variable to true for the loop function to start working
    RUNNING = true;
}

void loop() {
    // Having a while loop will give us the ability to stop looping
    // whenever we want, without killing/stopping the entire program.
    while (RUNNING) {
        if (!(RUNNING = Linerover::drive())) break;
    }
}

LineroverClionClion

 

🔧 Hardware

The hardware for the Linerover was partly delivered to us, however, we were free to choose what kind of sensors we wanted to use.

Component List
  • Arduino UNO
  • Ishima - RC 390 motor (ISH-010-021)
  • Ishima - 3-wire Steering Servo (ISH-010-056)
  • Ishima - Li-ion Battery 7.4V, 2400mAh (ISH-010-020)
  • VNH2SP30 (Motor Shield)
  • 1x Iduino ST1099 Ultrasonic sensor (Echo Sensor)
  • 5x ST1140 (Infrared Sensor)
  • DC/DC Buck Converter

ArduinoMotorShieldUltrasonicInfrared

About

Linerover, a fully autonomous car made in C++ utilizing an Arduino

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published