Skip to content
On this page

Speed

Overview

This command sets the the rotation speed of the selected motor(s).

shell
poppy speed <value> [-h] [-m motors] [-H hostname] [-P port]

Options

 desccriptionvaluedefaultmandatory
<value>Set the 'goal_speed' registeran integer in the [0, 1023] rangen.a.yes
-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

  • Set the rotation speed of all motors to 100 (slower):
shell
poppy speed 80
  • Set the rotation speed of the motors m1 and m2 to 200 (quicker):
shell
poppy speed 200 -m m1 m2

Released under the MIT License.