bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
cart_pole_dynamics.h File Reference
#include "bitsim/bitsim_types.h"
#include <Eigen/Dense>
Include dependency graph for cart_pole_dynamics.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  bitsim::dynamics::CartPoleParameters
 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...
struct  bitsim::dynamics::CartPoleLinearModel
 A model linearised about a state and a force: \(\dot x \approx A x + B F\), for the deviations from them. More...
class  bitsim::dynamics::CartPoleDynamics
 A cart on a straight track, pushed by a horizontal force F, with a pole hinged on it. More...

Namespaces

namespace  bitsim
namespace  bitsim::dynamics
 Models of how things move: wheeled robots, a bicycle, a quadrotor and a fixed wing aircraft, with the trim and linearisation of the aircraft.
namespace  bitsim::dynamics::cart_pole
 Where each value is in a CartPoleState.

Typedefs

using bitsim::dynamics::CartPoleState = RealColVec4d
 The state: the position of the cart [m], its velocity [m/s], the angle of the pole from upright [rad], positive when it leans towards +x, and its rate [rad/s].

Variables

constexpr int bitsim::dynamics::cart_pole::X = 0
constexpr int bitsim::dynamics::cart_pole::X_DOT = 1
constexpr int bitsim::dynamics::cart_pole::THETA = 2
constexpr int bitsim::dynamics::cart_pole::THETA_DOT = 3