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

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));

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));

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));