time_sync
Synchronize a servomotor's clock to a master time reference by sending the current master time. Returns the motor's time error to verify clock alignment.
Instructions
Sends the master time to the motor so that it can sync its own clock (do this 10 times per second). [Firmware command "Time sync", group: Device Management.] Parameters:
masterTime (in seconds): The motor absolute time that the motor should sync to (in microseconds). Returns:
timeError: The error in the motor's time compared to the master time.
rccIcscr: The contents of the RCC-ICSCR register (holds the HSICAL and HSITRIM settings). motor: an alias number (e.g. 88), a 16-hex-digit unique ID (e.g. "0123456789ABCDEF"), or "all" to broadcast to every motor on the bus (broadcasts get no responses back).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| motor | Yes | ||
| masterTime | Yes |