Skip to content
On this page

Goto

Overview

This command sets the target position/angle of the selected motor(s).

shell
poppy goto <value> [-wh] [-d duration] [-m motors] [-H hostname] [-P port]

Options

 desccriptionvaluedefaultmandatory
<value>Target angle to reach (in degree)integern.a.yes
-d/--durationSet duration of the movementnumbern.a.no
-w/--waitWait until motor(s) reachs new positionbooleanfalseno
-m/--motorSelect the targeted motors.name of motors | 'all''all'no
-H/--hostSet the Poppy hostname/IPstringpoppy.localno
-p/--portSet the REST API port on Poppyinteger8080no
-h/--helpDisplay help about this commandbooleanfalseno

Examples

  • Move all motors to the angle 0 degree:
shell
poppy goto 0
  • Move the motors m1 and m2 to the angle 90 degrees in 3 seconds:
shell
poppy goto 90 -m m1 m2 -d 3

Released under the MIT License.