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

Carrot planner prevent orientation goal

asked 2023-05-25 16:06:19 -0500

ThreeForElvenKings gravatar image

updated 2023-05-25 18:21:01 -0500

I'm using a carrot planner to navigate to a goal and stop if there is an obstacle. As it navigates and cannot find a path to the goal, it keeps rotating in place for a bit, sort of oscillating instead of stopping. I would like it to be oriented along the straight line (i.e. if I approach a table, and stop, I would like it to be facing the table, and not rotate away from it).

What parameters are relevant to accomplish this? Thanks

Edit: I'm working with ros1 navigation stack

edit retag flag offensive close merge delete

Comments

What you are describing is not how the carrot planner behaves. My guess is that either you are actually using a different local planner, or there is something wrong with your robot's map->base_link transform (maybe it is inaccurate, or it is jumping around?)

Mike Scheutzow gravatar image Mike Scheutzow  ( 2023-05-27 10:03:22 -0500 )edit

Which local planner is appropriate for the carrot planner, because as I see it, the carrot planner is a global planner. The transforms seem to correct

ThreeForElvenKings gravatar image ThreeForElvenKings  ( 2023-05-27 18:03:44 -0500 )edit

Oops, you're right. The behavior you're describing is determined by the local planner, not the global planner. You want one that does not do collision avoidance. You could look at using something like pose_followerfrom https://github.com/ros-planning/navig...

Mike Scheutzow gravatar image Mike Scheutzow  ( 2023-05-28 07:13:38 -0500 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2023-05-25 18:12:49 -0500

ketill gravatar image

Need more information. A first step could be to look at the "Behavior Server" as it handling recovery behavior.

edit flag offensive delete link more

Comments

Can you give some details on what additional information is needed? I'm using ROS1 navigation stack (edited the post). And I noticed that it does not trigger recovery behaviors, since I've disabled recovery

ThreeForElvenKings gravatar image ThreeForElvenKings  ( 2023-05-25 18:20:48 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2023-05-25 16:06:19 -0500

Seen: 25 times

Last updated: May 25 '23