You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A first version of using python scripts to control the simulation is
implemented with the PythonMars plugin. It allows to read sensors
and write motor valus via python. This way it is possible to change the
controller while the simulation is running. Additionally, text can be
rendered onto the 3D window and lines and pointclouds can be drawn into
the simulation.
Prerequisites
We assume you already have a MARS development environment setup in
´MARS_DEV_ROOT´. Within the documentation we use ´MARS_DEV_ROOT´ as alias to
the folder where you installed MARS. You should also have a simulation scene
or SMURF file to load into the simulation.
Open a terminal and source your environment: