Open 3D Engine ROS2 Gem API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
#include <RealTimeSource.h>
Inherits ROS2::ITimeSource.
Public Member Functions | |
virtual void | Activate () override |
virtual void | Deactivate () override |
virtual builtin_interfaces::msg::Time | GetROSTimestamp () const override |
The RealTimeSource starts from 0 at the start of the simulation. This time source could be affected by the jitter in the data, simulation computations or other similar events. On the other hand RealTimeSource can remain consistent with the other independent clocks if it is synchronised (e.g. through NTP).
|
overridevirtual |
Get simulation time as ROS 2 message.
Implements ROS2::ITimeSource.