Motor module of the TNY-360 API (code 0x06).
This module contains actions related to the motor management of the robot.
Here's a list of all the actions available in the motor module:
0x06 - 0x00Sets the duty cycle of a motor.
uint8-
ID of the joint to set the duty cycle for.
float32-
Duty cycle to set in ms (between 0.0 and 5.0).
No return values
0x06 - 0x01Gets the current duty cycle of a motor.
uint8-
ID of the joint to get the duty cycle for.
float32-
Current duty cycle in ms (between 0.0 and 5.0).
0x06 - 0x02Gets the current calibration state of a motor.
uint8-
ID of the joint to get the calibration state for.
uint8-
Current calibration state (0 = Not Calibrated, 1 = Calibrating, 2 = Calibrated).
0x06 - 0x03Gets the calibration data of a motor.
uint8-
ID of the joint to get the calibration data for.
MotorController::CalibrationData-
Current calibration data.
0x06 - 0x04Sets the calibration data of a motor.
uint8-
ID of the joint to set the calibration data for.
MotorController::CalibrationData-
New calibration data.
No return values
0x06 - 0x05Deletes the calibration data of a motor.
uint8-
ID of the joint to delete the calibration data for.
No return values
0x06 - 0x06Starts the calibration process for a motor.
uint8-
ID of the joint to start the calibration for.
No return values
0x06 - 0x07Stops the calibration process for a motor.
uint8-
ID of the joint to stop the calibration for.
No return values
0x06 - 0x08Gets the progress of the calibration process for a motor.
uint8-
ID of the joint to get the calibration progress for.
float32-
Current calibration progress (0.0 to 1.0).
Here's a list of all the types used in the motor module:
Calibration data for the motor controller.
float32-
Minimum Duty Cycle value corresponding to the minimum physical position of the motor.
float32-
Maximum Duty Cycle value corresponding to the maximum physical position of the motor.
float32-
Deadband width in Duty Cycle unit.
float32-
Feedback value corresponding to the minimum physical position of the motor.
float32-
Feedback value corresponding to the maximum physical position of the motor.
float32-
Feedback noise level in Volt (standard deviation).
float32-
Latency between command and movement in ms.
bool-
Flag indicating whether the feedback is inverted or not.
float32-
Maximum speed of the motor in range/s (range = [max bound - min bound]).