Ask Your Question
0

Ros Kinetic navigation with firmware blocking

asked 2021-06-24 14:01:47 -0500

Skhanna gravatar image

updated 2021-06-24 14:03:22 -0500

I am right now trying to get navigation setup on a three-wheel drive robot running ROS Kinetic.

For the protection of the robot and any users that may be operating around the robot, the robot at the firmware level stops the robot if an obstacle is detected by a sensor:

If the obstacle is in the front, the robot can't move forward. If the obstacle is in the back, the robot can't move backward. If I input a velocity command in order to have the robot move past the obstacle, the firmware will block the command from being executed by the robot.

Can I still use a standard ROS navigation stack in this scenario? If so, what would I need to do in order to get it working smoothly?

I would like to not have to modify the firmware if possible.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-06-24 15:26:20 -0500

bob-ROS gravatar image

This is the point of the local costmap, the effectiveness depends on what type of sensor you have. If you have robot with 360 degree view it should be quite effective. It becomes more complicated if you need to remember or try to estimate positions of obstacles rather than viewing them directly.

If you want extra protection with some own tinkering you could just redirect the twist output through some other node that tries to limit the twist command in emergencies.

edit flag offensive delete link more

Comments

Does this work as normal if certain Twist commands are ignored though? This is my cause for cocern.

Skhanna gravatar image Skhanna  ( 2021-06-24 16:52:11 -0500 )edit
1

Yes, you have a high frequency on the local planner e.g. 20 hz. If you do not use a recovery behavior you won't have any reaction. You can try this out in gazebo or stage by using a twist mux with some xbox controller/keyboard teleop that overrides the cmd_vel from move_base.

bob-ROS gravatar image bob-ROS  ( 2021-06-24 18:09:16 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2021-06-24 14:01:47 -0500

Seen: 49 times

Last updated: Jun 24 '21