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.SimpleNetworkDeviceA PID inverted pendulum controller for the SlidingPendulum plant.
Note
After initialization, the
sensorAddrandactuatorAddrattributes have to be set to the network addresses of the sensor and the actuator.