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

NavFn Final Goal Orientation Wrong

asked 2022-09-22 10:01:12 -0500

GaganBhat gravatar image

updated 2022-09-22 10:02:33 -0500

Everytime I add a 2D Nav Goal, the final orientation at the end of the Global plan seems to face the wrong way.

Using ROS Noetic along with navfn/NavfnROS.

Please see screenshots below:

https://i.imgur.com/80nHg2Q.png

https://i.imgur.com/H1ryUUa.png

The behavior is not consistent however, seems to have a mind of its own in terms of the final orientation.

Config Files:

navfn_global_planner_params.yml

NavfnROS: visualize_potential: false allow_unknown: false
planner_window_x: 0.0
planner_window_y: 0.0 default_tolerance: 0.0

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-09-23 19:49:12 -0500

miura gravatar image

It is not a wrong behavior. Another planner controls the orientation of the robot.

The navigation stack consists of two planners. The navigation stack consists of two planners: a global planner and a local planner.

The global planner plans without considering the orientation of the robot. NavFn is a global planner, so it does not need to consider the orientation of the robot at the goal.

The local planner takes the robot's orientation into account when planning.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2022-09-22 10:01:12 -0500

Seen: 53 times

Last updated: Sep 23 '22