upkie 10.1.0
Open-source wheeled biped robots
Loading...
Searching...
No Matches

◆ __init__()

None __init__ (   self,
float  dt,
Optional[dict]   bullet_config = None,
bool   gui = True,
str   js_path = "/dev/input/js0",
Optional[int]   nb_substeps = None 
)

Initialize PyBullet backend.

Parameters
dtSimulation time step in seconds.
bullet_configAdditional bullet configuration overriding the default upkie.config.BULLET_CONFIG. The combined configuration dictionary is used for PyBullet simulation setup.
guiIf True, run PyBullet with GUI. If False, run headless.
js_pathPath to joystick device. Defaults to "/dev/input/js0".
nb_substepsNumber of substeps for the PyBullet simulation.