ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You can try "export ROBOT=sim" before running "bin/odometry_base cmd_vel:=base_controller/command", and set the timeout duration to something longer: //wait for the listener to get the first message listener_.waitForTransform("base_footprint", "odom_combined", ros::Time(0), ros::Duration(10000.0));
2 | No.2 Revision |
You can try "export ROBOT=sim" before running "bin/odometry_base cmd_vel:=base_controller/command", and set the timeout duration to something longer:
longer (1000.0 instead of 5.0):
//wait for the listener to get the first message
listener_.waitForTransform("base_footprint", "odom_combined", ros::Time(0), ros::Duration(10000.0));
3 | No.3 Revision |
You can try "export ROBOT=sim" before running "bin/odometry_base cmd_vel:=base_controller/command", and set the timeout duration to something longer (1000.0 (e.g., 1000.0 instead of 5.0):
//wait for the listener to get the first message
listener_.waitForTransform("base_footprint", "odom_combined", ros::Time(0), ros::Duration(10000.0));