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 | Q&A answers.ros.org |
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.
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2012-04-24 04:22:37 -0500
Seen: 592 times
Last updated: Apr 24 '12
How to synchronize rostopic publication and node's callback function ?
Does tf2 rely on current time or only on message header time?
TransformListener Could not find a common time /base_link and /map
How can I run Gazebo and the real PR2 simultaneously?
rospy horrible performance with sim_time
[ROS2] use_sim_time does not work
Issue with ros::Time when using /use_sim_time