Get robot pose in costmap layer updateBounds.
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!