ignore "/use_sim_time" parameter
Hi,
is there a way to ignore the "/use_sim_time" parameter in a node, so that it uses the system time instead of clock? Thanks!
cheers Jonas
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
Hi,
is there a way to ignore the "/use_sim_time" parameter in a node, so that it uses the system time instead of clock? Thanks!
cheers Jonas
Use ros::WallTime
and ros::WallDuration
in your node.
Thanks for the hint! I wanted to use a ros::Timer, and your answer pointed me to the createWallTimer method. Jonas
@robotrover Please accept this answer using the checkmark at left so others know it's answered without reading the whole thread.
Asked: 2012-04-24 04:22:37 -0500
Seen: 646 times
Last updated: Apr 24 '12
TransformListener Could not find a common time /base_link and /map
rospy horrible performance with sim_time
Publishing rate of gazebo sensor plugins broken on fuerte?
rosbag --clock time for files recorded on a different machine
Why isn't rospy.Rate.sleep() terminating?
How can I run Gazebo and the real PR2 simultaneously?
How can I reset the simulated clock?