This repository showcases a ROS2 node specifically designed to halt the movement of a bot. It achieves this by canceling the set goals, effectively setting the geometry_msgs to null.
Cancel_goal.node.mp4
Video Demonstration of stopping a mobile bot while navigating to goal location which was set by slam toolbox in rviz2.
Once you have any mobile bot or entity which is publishing geometry_msgs,
git clone https://github.com/Amenephous/Cancel_goals_ros2.git
cd ros2-Cancel_goals
colcon build
source install/setup.bash
ros2 run Cancel_goals_ros2 stop_nodeContributions are welcome! Feel free to open issues or submit pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.