Skip to content
On this page

Drive

Overview

This command allows to simply drive the robot using keyboard.

shell
poppy drive [-h] [-a angle] [-s speed] [-l color] [-H hostname] [-P port]

Below the "commands"/shorcuts for a Poppy Ergo Jr

Key binding for Ergo Jr

Options

 desccriptionvaluedefaultmandatory
-a/--angleRotation value (in degree) for rotation keysinteger10no
-s/--speedSet the 'goal_speed' register of all motorsan integer in the [0, 1023] range150no
-l/--lightActivate led of selected motorsoff | red | green | blue | yellow | cyan | pink | whiteblueno
-H/--hostSet the Poppy hostname/IPstringpoppy.localno
-p/--portSet the REST API port on Poppyinteger8080no
-h/--helpDisplay help about this commandbooleanfalseno

Examples

  • Deactivate led on motor selection:
shell
poppy drive -l off

Released under the MIT License.