1 #ifndef __RTT_ROSCLOCK_RTT_ROSCLOCK_H 2 #define __RTT_ROSCLOCK_RTT_ROSCLOCK_H 71 #endif // ifndef __RTT_ROSCLOCK_RTT_ROSCLOCK_H
const bool enable_sim()
Use a simulated clock source.
const RTT::Seconds host_offset_from_rtt()
Get the difference in seconds between rtt_wall_now() and host_wall_now()
const ros::Time host_wall_now()
Get the current time according to CLOCK_HOST_REALTIME or the wall time.
void use_manual_clock()
Use manual clock updates.
void use_ros_clock_topic()
Use ROS /clock topic for time measurement.
const bool set_sim_clock_activity(RTT::TaskContext *t)
Set a TaskContext to use a periodic simulation clock activity.
const ros::Time rtt_wall_now()
Get the current wall time according to RTT.
void update_sim_clock(const ros::Time new_time)
Update the current simulation time and trigger all simulated TaskContexts.
const bool disable_sim()
Do't use a simulated clock source.
const ros::Time host_now()
Get the current time according to CLOCK_HOST_REALTIME or the simulation time.
const ros::Time rtt_now()
Get the current time according to RTT.