Python APIs

Python can be used to control Marty in a couple of ways, through our Python Library martypy and also through using ROS Python if you’ve set up your Marty to run with ROS.

Installation of martypy is super simple:

pip install martypy
MartyPy Library Documentation
For controlling rick remotely over WiFi, and locally using Serial or I2C

MartyPy & ROSPy Documentation
For local in-head control

Source code for martypy is on GitHub: https://github.com/robotical/martypy