Learn

Write it. Run it. Watch it move.

Your code. The robot's next move.

Reach the 1 m target and stop. Edit the Python function, run it, and watch the motion it produces. Try the timed command with a weak drive, then switch to feedback.

Python runs locally in your browser when you press Run.

Your Python controller

0.00 m / 1.00 m target

Robot at 0.000 m, velocity 0.000 m/s, time 0.0 s. Target at 1 m.

Run your code to produce a motion trace. The robot starts at 0 m.

What your code controls

The simulator calls control(position, velocity, target, time, dt) every 0.02 simulated seconds. Return a speed in meters per second. Position and target use meters; velocity uses meters per second; time and dt use seconds.

The motor command is limited to ±0.8 m/s. A 0.4 s drive lag and the chosen efficiency determine the actual motion. Each run starts at rest and simulates 12 seconds, then replays those results. Computation stops after 5 seconds if your code does not finish.

This is the same simplified model of the Go2 as the guided lessons. It models one axis of motion, without foot slip, contacts, or a real robot connection. The legs are animated to match the distance covered. The Python standard library is available; installing packages and interactive input are not part of this lab.

New to feedback? Start with the guided experiment.

Ask Wendy

Answers about Wendy and WendyOS

What would you like to know?

Ask about devices, development, and deployment.

Check linked docs for technical details.