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.

This will update a spikes position which will affect every cue that uses the spike.


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.

This will update a spikes factor which will affect every cue that uses the spike.


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.

This will update a spikes offset which will affect every cue that uses the spike.


Last updated

Was this helpful?