Class: ROSClock

ROSClock()

- Class representing a ROSClock in ROS

Constructor

new ROSClock()

Create a ROSClock.
Source:

Methods

get:isRosTimeActive() → {boolean}

Return status that whether the ROS time is active.
Source:
Returns:
Return true if the time is active, otherwise return false.
Type
boolean

set:isRosTimeActive(enabled) → {undefined}

Set the status of ROS time.
Parameters:
Name Type Description
enabled boolean Set the ROS time to be active.
Source:
Returns:
Type
undefined

set:rosTimeOverride(time) → {undefined}

Set the status of ROS time.
Parameters:
Name Type Description
time Time The time to be set override.
Source:
Returns:
Type
undefined