GetRtc#
This command returns the current Epoch Time in seconds, set using the SetRtc,
after every reboot of the robot. Note that this is different from the timestamp
returned by all GetRt* commands, which is in microseconds. Furthermore,
these two time measurements have different zero references.
Syntax#
GetRtc()
Responses#
[2140][t]
t: Epoch time as defined in Unix (i.e., number of seconds since 00:00:00 UTC January 1, 1970).
Usage restrictions#
This command can be executed in any robot state.
Cyclic protocols#
In cyclic protocols, the command GetRtc is represented by the
RobotTimestamp section (see Section 4.5.8).