Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.01 KB

README.md

File metadata and controls

34 lines (23 loc) · 1.01 KB

JumpingSumo Control Library for Python

  1. About this... JumpingSumo is a small mobile robot produced by Parrot(http://www.parrot.com). The SDK of this robot is already released on Github.com(https://github.com/Parrot-Developers).

This SDK is implemented for C-Language only, so I tried to ported it to Python.

  1. Quick start

    1. Power on your JumpingSumo and connect to the Wifi connection of the robot.
    2. start Python
    3. load library
    • import sumo

    1. create controller; cnt
    • cnt = sumo.SumoController('MyCtrl')

    1. connect to the robot
    • cnt.connect()

    1. call 'move' function to confirm connection...
    • cnt.move(10)

    1. stop moving
    • cnt.move(0)

    1. please try to activate 'move', 'action', 'jump', 'posture' functions...
    • cnt.move(speed, turn_spped) ; speed = [-100:100],turn_speed = [-100:100]
    • cnt.action(param) ; param = [0:9]
    • cnt.jump(param) ; param = [0:1]
    • cnt.posture(param) ; param = [0:2]