Make your own Gelo program

Python code and building instructions for the LEGO MINDSTORMS Robot Inventor Main Models (51515).

Make your own Gelo program
Image credit: LEGO

A basic template for your own Gelo program.


Program

Use this script as a starting point for your own Gelo program.

This script makes use of the gelo.py module, so make sure to save that program in Pybricks Code first.

Tip

In Pybricks Code, type gelo and then . to see what Gelo can do and get help on what parameters you can pass to the methods.

from pybricks.parameters import Button, Color, Icon
from pybricks.tools import wait, StopWatch

from gelo import Gelo


with Gelo() as gelo:
    # Add your code here
    gelo.walk()


This project was submitted by The Pybricks Team.