Overview of the Webots Python API
masterThe Webots Python API is contained in the controller module. It is designed to mirror the C++ API, meaning class hierarchies, names, and function names are nearly identical.
- Supported Versions: Python 3.8 or higher.
- API Composition: Approximately 25 classes and 200 public functions.
- Class Types:
- Node representations: Classes representing scene tree nodes (e.g.,
Robot,LED). - Utility classes: Classes for specialized tasks (e.g.,
Motion,ImageRef).
- Node representations: Classes representing scene tree nodes (e.g.,