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

Revision history [back]

click to hide/show revision 1
initial version

I found this method much easier to get the parameter value from the server

 double map_resolution;
  // **rosparam list** < use this command to see all the parameters
  if (ros::param::get("/move_base/global_costmap/resolution", map_resolution))
  {
    ROS_INFO("map resolution: %f",map_resolution);
  }
  else
      ROS_INFO("couldn't get map resolution");