gymwipe.plants.core module¶
Core components for plant implementations.
-
class
Plant[source]¶ Bases:
objectPlants are supposed to hold the state of a simulated plant and make it accessible to simulated sensors and modifyable by simulated actuators. The
Plantclass itself does not provide any features.
-
class
OdePlant(world=None)[source]¶ Bases:
gymwipe.plants.core.PlantA
Plantimplementation that interacts with an ODE world object: It offers anupdateState()method that makes the ODE world simulate physics for the SimPy simulation time that has passed since the most recentupdateState()call.Parameters: world ( Optional[World]) – A py3odeWorldobject. If not provided, a new one will be created with gravity(0,-9.81,0).