Motor Messages
Motor messages affect a single motor.
Motor Position
/motor/{motor_name}/position [number]
Read: If no arguments are given, the current position of motor_name is returned.
Write: If an argument is given, Spikemark will attempt to reset the motor_name's position.
Stop Motor
/motor/{motor_name}/stop
Note: Soft stops motor_name.
Reset Drive
/motor/{motor_name}/drive/reset
Note: Resets the drive of motor_name.
Spike Position
/motor/{motor_name}/spike/{spike_name}/position [number]
Read: If no arguments are given, then the position of spike_name on motor_name is returned.
Write: If an argument is given, Spikemark will attempt to set the position of spike_name on motor_name.
Spike Factor
/motor/{motor_name}/spike/{spike_name}/factor [number]
Read: If no arguments are given, then the factor of spike_name on motor_name is returned.
Write: If an argument is given, Spikemark will attempt to set the factor of spike_name on motor_name.
Spike Offset
/motor/{motor_name}/spike/{spike_name}/offset [number]
Read: If no arguments are given, then the offset of spike_name on motor_name is returned.
Write: If an argument is given, Spikemark will attempt to set the offset of spike_name on motor_name.
Last updated
Was this helpful?