gymwipe.plants.core module¶
Core components for plant implementations.
-
class
Plant
[source]¶ Bases:
object
Plants are supposed to hold the state of a simulated plant and make it accessible to simulated sensors and modifyable by simulated actuators. The
Plant
class itself does not provide any features.
-
class
OdePlant
(world=None)[source]¶ Bases:
gymwipe.plants.core.Plant
A
Plant
implementation 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 py3odeWorld
object. If not provided, a new one will be created with gravity(0,-9.81,0)
.