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

Get robot pose in costmap layer updateBounds.

asked 2015-07-10 15:08:32 -0500

mattc_vec gravatar image

I'm trying to get the pose of my robot in a custom costmap_2d layer, modeled after the tutorial layer here: http://wiki.ros.org/costmap_2d/Tutori... The robot_x, robot_y, and robot_yaw parameters in the updateBounds function don't seem to change from zero throughout the planning process. Is there any other way to get the pose of the robot in that function? Or some way to see why the pose is zero? I can't seem to find where that function is called. The changes I make to the costmap are applied, though. Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-07-10 15:27:59 -0500

David Lu gravatar image

The function is called here: https://github.com/ros-planning/navig...

The numbers passed in should reflect the pose of the robot_base_frame relative to the global frame. I would check the frame of your map.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2015-07-10 15:08:32 -0500

Seen: 675 times

Last updated: Jul 10 '15