Cattle and Crops: Mission Documentation
command: setMachineState
Setzt einen MachineState auf der angegebenen Maschine.
Attribute
Attribute | Type | Value | Beschreibung |
---|---|---|---|
command |
integer |
> 0 |
Command-ID des Fahrzeugs auf der der MachineState gesetzt werden soll |
machineState |
string |
* |
Vollständiger identifier des MachineStates der gesetzt werden soll |
value |
float |
[0.0 , 1.0 ] |
Wert auf den der angegebene MachineState gesetzt werden soll |
Beispiel
…
<commands>
<command type="setMachineState" command="100" machineState="straw_spreader_pos" value="1.0" />
<command type="setMachineState" command="100" machineState="cust-abcd" value="0.15" />
</commands>
…