RoboticaUtnFrba / create_autonomy

ROS autonomy stack for iRobot Create 2.
BSD 3-Clause "New" or "Revised" License
28 stars 38 forks source link

Integrate safety controller #232

Closed eborghi10 closed 3 years ago

eborghi10 commented 3 years ago

Description

This PR adds a safety controller that stops the robot when a cliff, bump or wheel drop is detected. For that, a velocity multiplexer was added to support multiple velocity inputs.

Fixes #38 and #47.

Type of change

How Has This Been Tested?

# Simulation
GUI=false RVIZ=true LOCALIZATION=amcl roslaunch ca_gazebo create_sweet_house_3.launch
## Move the robot with RViz (move_base) and use the keyboard too
roslaunch ca_tools keyboard_teleop.launch
# Real robot
# TODO

Screenshot from 2021-03-23 10-53-08

Test Configuration:

Checklist: