CartPole Environment#
The CartPole environment is configured to allow non-stationarity in physics parameters like pole mass and gravity. See Gymnasium documentation for more details on the environment.
The CartPole Environment. GIF courtesy of the Gymnasium Documentation.#
See below for tunable parameters that can be modified to introduce non-stationarity.
Tunable Parameters#
Parameter |
Description |
Default Value |
|---|---|---|
|
Magnitude of gravitational acceleration |
9.8 |
|
Mass of the cart |
1.0 |
|
Mass of the pole |
0.1 |
|
Magnitude of the force applied to the cart |
10.0 |
|
Time interval for state updates |
0.02 |
|
Length of the pole |
0.5 |