This is an old revision of the document!


Command Reference

up

up <motor id>, <amount> - Move the motor with the specified ID up by the specified amount


down

down <motor id>, <amount> - Move the motor with the specified ID down by the specified amount


stop

stop <motor id> - Stop the motor with the specified ID


init

init <motor id> - Set the height of the motor with the specified ID to zero


height

height <motor id> - Get the current height of the motor with the specified ID


set_range

set_range <motor id>, <min height>, <max height> - Set the allowed range of the motor with the specified ID


get_range

get_range <motor id> - Get the allowed range of the motor with the specified ID


save

save <motor id>, <slot id> - Save the current position of the motor with the specified ID to the specified slot


load

load <motor id>, <slot id> - Go to the position saved in the specified slot for the motor with the specified ID


show

show <motor id>, <slot id 1>, <slot id 2>, … - Get the positions saved in the specified slots for the motor with the specified ID


up 1, 100
set_range 2, 100, 500
  • linak/commands2.1677503634.txt.gz
  • Last modified: 2023/02/27 13:13
  • by superuser