Simulation clock which can tick and serve time stamps. More...
#include <SimulationClock.h>
Inherited by ROS2::PhysicallyStableClock.
Public Member Functions | |
virtual void | Activate () |
virtual void | Deactivate () |
virtual builtin_interfaces::msg::Time | GetROSTimestamp () const |
virtual void | Tick () |
AZStd::chrono::duration< float, AZStd::chrono::seconds::period > | GetExpectedSimulationLoopTime () const |
Returns an expected loop time of simulation. It is an estimation from past frames. | |
Simulation clock which can tick and serve time stamps.
|
virtual |
Get simulation time as ROS2 message.
Reimplemented in ROS2::PhysicallyStableClock.
|
virtual |
Update time in the ROS 2 ecosystem. This will publish current time to the ROS 2 /clock
topic.