Introduction
This is the rule book for the 2nd phase of MACHATHON 4.0 hosted by STP.
This phase is the final phase, where you will compete to create software for a car to race autonomously on an unknown track. From this phase, you will be given the car and have a period of 7 days to program the car and test the it’s performance. The goal of this phase is to drive the track autonomously with the shortest time possible. The time taken to complete each run, known as the lap time
The starting navigation direction of the track for each run is chosen randomly
by the judge code. This means that the car must have the capability to navigate
the track regardless of which direction it starts in.
Steps to start using the car:
The car can be controlled and the camera's data can be accessed via two topics, X and Y, but to activate the car's controllers, a few steps must be taken.
Setting Up the Car
To start controlling the car (throttle/ steering)
- Connect the battries, make sure they're fully charged. (The sum of the 2 batteries must be charged above 7V.)
- Open the mobile app.
- On your mobile, you must first open "Bluetooth devices" and pair with "
Your_Controller_Name
" .
- Open the mobile app, Macathon 4.0. and click on Bluetooth devices and select the “
Your_Controller_Name
”, Then click connect
- When you see "Connected to car!" and New IP Address and Port number is generated below in the application,
- Take the IP Address and Port number and add them to the
yaml.yaml
file in your directory
- enter in the WIFI name (SSID) and password your laptop (the one that issues control commands) is connected to.
- Make sure you are using the same wifi/hotspot in your pc to the one you wrote inside the application
To start the camera
- On your mobile, you must first open "Bluetooth devices" and pair with "
Your_Camera_Name
".
- Open the mobile app, Macathon 4.0. and click on Bluetooth devices and select the “
Your_Camera_Name
”, Then click connect
- When you see "Connected to car!" and New IP Address and Port number is generated below in the application,
- Take the IP Address and Port number and add them to the
yaml.yaml
file in your directory
- enter in the WIFI name (SSID) and password your laptop (the one that issues control commands) is connected to.