Installation

If you have python3 and pip installed, then do:

pip3 install robotpy-websim

Alternatively, you can install from a git checkout:

git clone https://github.com/robotpy/robotpy-websim.git
cd robotpy-websim
pip3 install .

Starting a simulation

You can run your robot.py directly like so:

python3 robot.py websim

Your default browser (or Chrome) should be launched and show the control interface. If it does not show automatically, you can browse to http://localhost:8000/