# Motor Commands

### Motor Position

#### /motor/{motor\_name}/position \[number]

If **number** is present then Spikemark will attempt to reset **motor\_name**'s position to **number**. If **number** is not set then Spikemark will send a data message back with **motor\_name**'s current position.

### Motors Spike Position

#### /motor/{motor\_name}/spike/{spike\_name}/position \[number]

If **number** is present then Spikemark will attempt to set the position of **motor\_name**'s spike with the name **spike\_name**. If **number** is not set then Spikemark will send a data message back with the position of **moto\_name**'s spike with the name **spike\_name**.

{% hint style="warning" %}
This will update a spikes position which will affect every cue that uses the spike.
{% endhint %}

### Motors Spike Factor

#### /motor/{motor\_name}/spike/{spike\_name}/factor \[number]

If **number** is present then Spikemark will attempt to set the factor of **motor\_name**'s spike with the name **spike\_name**. If **number** is not set then Spikemark will send a data message back with the factor of **moto\_name**'s spike with the name **spike\_name**.

{% hint style="warning" %}
This will update a spikes factor which will affect every cue that uses the spike.
{% endhint %}

### Motors Spike Offset

#### /motor/{motor\_name}/spike/{spike\_name}/offset \[number]

If **number** is present then Spikemark will attempt to set the offset of **motor\_name**'s spike with the name **spike\_name**. If **number** is not set then Spikemark will send a data message back with the offset of **moto\_name**'s spike with the name **spike\_name**.

{% hint style="warning" %}
This will update a spikes offset which will affect every cue that uses the spike.
{% endhint %}
