gymwipe.control.inverted_pendulum module¶
Controller implementations for an inverted pendulum (using the
gymwipe.plants.sliding_pendulum
module)
-
class
InvertedPendulumPidController
(name, xPos, yPos, frequencyBand)[source]¶ Bases:
gymwipe.networking.devices.SimpleNetworkDevice
A PID inverted pendulum controller for the SlidingPendulum plant.
Note
After initialization, the
sensorAddr
andactuatorAddr
attributes have to be set to the network addresses of the sensor and the actuator.