ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

Navigation path is red in rviz

asked 2016-03-18 11:37:41 -0500

pgigioli gravatar image

I am using a turtlebot 2 and am working on autonomous navigation. Whenever I am sending navigation goals in rviz, the path shows up as flashing red instead of green even though the robot is able to execute the navigation. For navigation of a known path, this is not an issue but when I try to do autonomous gmapping of an unknown environment, the DWA path planning fails often and I think the issue might be related to the red path. My only thought is that it is related to the robot_footprint because I always get the error "You must specify three points for the robot_footprint." Anyone know what might be causing this?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-03-18 12:29:30 -0500

mgruhler gravatar image

updated 2016-03-18 12:38:59 -0500

Your problem has nothing to do with the path color. You can actually choose this in rviz. See here.

You should obviously configure your robot footprint correctly. However, there is not enough information to help you with the other errors. At least describe the behaviour in more detail (how is DWA failing, what do you expect), what commands do you launch, ...

edit flag offensive delete link more

Comments

Well, the path is sometimes green but will periodically flash to red, which suggests that this is not a settings problem. In terms of the robot footprint, I have the robot_radius set to 0.20 in the costmap_common_params.yaml but I get the error "you must set at least three points for footprint.."

pgigioli gravatar image pgigioli  ( 2016-03-18 12:55:57 -0500 )edit

I tried setting the footprint to a 0.4x0.4 square and got the error "Footprint spec is empty, maybe missing call to setFootprint?"

pgigioli gravatar image pgigioli  ( 2016-03-18 12:56:30 -0500 )edit
1

There are probably two paths overlapping. There is nothing in rviz that will flash different colors as an indication of an error state.

William gravatar image William  ( 2016-03-18 13:12:40 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2016-03-18 11:37:41 -0500

Seen: 626 times

Last updated: Mar 18 '16