Constructor
class
new ROSClock()
Create a ROSClock.
- Source:
Methods
function
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
function
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
function
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