Go to the source code of this file.
Namespaces | |
namespace | rtt_rosclock |
Functions | |
const bool | rtt_rosclock::disable_sim () |
Do't use a simulated clock source. | |
const bool | rtt_rosclock::enable_sim () |
Use a simulated clock source. | |
const ros::Time | rtt_rosclock::host_now () |
Get the current time according to CLOCK_HOST_REALTIME or the simulation time. | |
const RTT::Seconds | rtt_rosclock::host_offset_from_rtt () |
Get the difference in seconds between rtt_wall_now() and host_wall_now() | |
const ros::Time | rtt_rosclock::host_wall_now () |
Get the current time according to CLOCK_HOST_REALTIME or the wall time. | |
const ros::Time | rtt_rosclock::rtt_now () |
Get the current time according to RTT. | |
const ros::Time | rtt_rosclock::rtt_wall_now () |
Get the current wall time according to RTT. | |
const bool | rtt_rosclock::set_sim_clock_activity (RTT::TaskContext *t) |
Set a TaskContext to use a periodic simulation clock activity. | |
void | rtt_rosclock::update_sim_clock (const ros::Time new_time) |
Update the current simulation time and trigger all simulated TaskContexts. | |
void | rtt_rosclock::use_manual_clock () |
Use manual clock updates. | |
void | rtt_rosclock::use_ros_clock_topic () |
Use ROS /clock topic for time measurement. |