This is a repo for F1Tenth Lab 2 Assignment which implements Automatic Emergency Brake(AEB) using Time to Collision(TTC) Algorithm.
- ROS Melodic
- F1TENTH Simulator
- Clone this repo into catkin_ws/src.
- Build the ROS package:
catkin build safety
. - Launch it:
roslaunch safety AEB_simulation
.
- The collision during turning is still possible as the lidar sensing until TTC calculation still need a period of time. (We can slow down the speed during turning, or come out with higher TCC thersold during turning)