AEB
Description
This repo contains two packages that implement AEB using a Zed camera (auto_brake) and a rplidar module (lidar_brake)
How to run
auto_brake
- Start roscore in a terminal with
$roscore
- In a new terminal cd into catkin_ws
- Run
./run_zed_brake_system.sh
lidar_brake
- Start roscore in a terminal with
$roscore
- In a new terminal cd into catkin_ws
- Run
./run_lidar_brake_system.sh
joy_control
- Start roscore in a terminal with
$roscore
- In a new terminal cd into catkin_ws
- Run
source devel/setup.bash
- Run
rosrun joy joy_node
Topics published
- /AEBzed
- std_msgs.Bool
- True if object is closer than MINIMUM_DISTANCE
- /AEBlidar
- std_msgs.Bool
- True if object is closer than MINIMUM_DISTANCE
Troubleshooting
- Error:
roscore cannot run as another roscore/master is already running.
Solution:killall -9 rosmaster
to kill the current roscore running in the background.