|
bitsim
Model, simulate, estimate and control robots in C++
|
The cart and the pole. The defaults are those of the classic cart-pole of Barto, Sutton and Anderson (1983), which Gymnasium's CartPole uses too. More...
#include <cart_pole_dynamics.h>
Public Attributes | |
| real_t | cart_mass {1.0} |
| [kg] | |
| real_t | pole_mass {0.1} |
| [kg] | |
| real_t | pole_half_length {0.5} |
| from the pivot to the centre of the pole [m] | |
| real_t | gravity {9.8} |
| [m/s^2] | |
| real_t | max_force {10.0} |
| the largest push on the cart, either way [N] | |
| real_t | track_half_length {2.4} |
| the cart must stay within this of the centre [m] | |
The cart and the pole. The defaults are those of the classic cart-pole of Barto, Sutton and Anderson (1983), which Gymnasium's CartPole uses too.
| real_t bitsim::dynamics::CartPoleParameters::cart_mass {1.0} |
[kg]
| real_t bitsim::dynamics::CartPoleParameters::gravity {9.8} |
[m/s^2]
| real_t bitsim::dynamics::CartPoleParameters::max_force {10.0} |
the largest push on the cart, either way [N]
| real_t bitsim::dynamics::CartPoleParameters::pole_half_length {0.5} |
from the pivot to the centre of the pole [m]
| real_t bitsim::dynamics::CartPoleParameters::pole_mass {0.1} |
[kg]
| real_t bitsim::dynamics::CartPoleParameters::track_half_length {2.4} |
the cart must stay within this of the centre [m]