Algorithme which pilots a car in C
Algorithm for an automous car in C, using CoppeliaSim.
CoppeliaSim is a simulator created by Coppelia Robotics. It enables the creation and control of robots.
For this project, we have built a virtual track and car that you will use to implement for AI.
START_SIMULATION
STOP_SIMULATION
CAR_FORWARD:float [0;1]
CAR_BACKWARDS:float [0;1]
WHEELS_DIR:float [-1;1]
GET_INFO_LIDAR
GET_CURRENT_SPEED
GET_CURRENT_WHEELS
CYCLE_WAIT:int [0; INT_MAX]
GET_CAR_SPEED_MAX
GET_CAR_SPEED_MIN
GET_INFO_SIMTIME
All the commands ends with “\n”.
This only the code, CoppeliaSim or th binaries to communicate with the software aren’t in the repo.
Made in C