Models of how things move: wheeled robots, a bicycle, a quadrotor and a fixed wing aircraft, with the trim and linearisation of the aircraft.
More...
|
| struct | BicycleVehicleModelDynamicsConfig |
| class | BicycleVehicleModelDynamics |
| | The BicycleVehicleModelDynamics class. Implements the bicycle vehicle model dynamics. The implementation of the dynamics is taken from the paper: Deep Reinforcement Learning for Mobile Robot Path Planning by Hao Liu, Yi Shen, Shuangjiang Yu, Zijun Gao, Tong Wu The state of the model is described by the tuple (X, Y, Phi) where (X,Y) denotes the 2D position of the vehicle in the world coordinates and phi denotes the heading of the vehicle. More...
|
| struct | 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 | CartPoleLinearModel |
| | A model linearised about a state and a force: \(\dot x \approx A x + B F\), for the deviations from them. More...
|
| class | CartPoleDynamics |
| | A cart on a straight track, pushed by a horizontal force F, with a pole hinged on it. More...
|
| class | DiffDriveDynamics |
| | DiffDriveDynamics class. Describes the motion of a differential drive robot in the plane: the centre of its axle at (x, y), facing theta. Three versions: More...
|
| class | DynamicsMatrixDescriptor |
| | The DynamicsMatrixDescriptor class. Helper class to model the matrix representon of dynamical systems. More...
|
| struct | FixedWingControls |
| | What the pilot or the autopilot sets. More...
|
| struct | LandingGearWheel |
| | A wheel of the landing gear: a spring and damper along the body z axis, that rolls along its heading and grips sideways. More...
|
| struct | FixedWingParameters |
| | The aircraft: its mass, its geometry, its aerodynamic coefficients, its propeller and motor, and its landing gear. aerosonde() gives the small UAV of Beard and McLain. More...
|
| struct | FixedWingForces |
| | The forces and moments on the aircraft, in the body frame, and the air data they come from. More...
|
| class | FixedWingDynamics |
| | The 6-DOF flight dynamics of a fixed wing aircraft, with its landing gear on a flat ground at down = 0. More...
|
| struct | FixedWingTrim |
| | A steady flight: the state and the controls that keep it. More...
|
| struct | FixedWingLinearModel |
| | The motion near a trim, \(\dot{\delta x} = A \delta x + B \delta u\), with the controls in the order elevator, aileron, rudder, throttle. More...
|
| struct | FlightMode |
| | A mode of the linearised motion. More...
|
| class | MotionModelDynamicsBase |
| | Base class for deriving motion models. Motion models describe the dynamics or kinematics of a rigid body. More...
|
| struct | QuadrotorDynamicsConfig |
| class | QuadrotorDynamics |
| | The QuadrotorDynamics class. Implements quadrotor dynamics The implementation of this class follows the System Modeling section at https://wilselby.com/research/arducopter/modeling/ and https://scholarsarchive.byu.edu/cgi/viewcontent.cgi?article=2324&context=facpub The quadrotor is assumed to have four rotors Each rotor consists of a brushless DC motor and rotor with a fixed pitch. It is assumed that the quadrotor can move in 6 degrees of freedom; 3-translational and 3-rotational, The motion of the quadrotor is controlled via 4 inputs namely the speeds of the 4 motors. The quadrotor model that this class implements assumes the following: More...
|
| class | SysState |
| | SysState utility class describing the state of a system. More...
|
|
| using | 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].
|
| using | FixedWingState = UnalignedMat<real_t, 12, 1> |
| | The 12 values of the state of a fixed wing aircraft, in this order: the position (north, east, down) in the world [m], the velocity (u, v, w) in the body frame [m/s], the Euler angles (roll, pitch, yaw) [rad] and the angular velocity (p, q, r) in the body frame [rad/s].
|
|
| FixedWingTrim | trim_level_flight (const FixedWingParameters ¶meters, real_t airspeed, real_t altitude=100.0, real_t heading=0.0) |
| | Find the controls for straight and level flight at the given airspeed, with no wind. The unknowns are the angle of attack and the sideslip, and the elevator, aileron, rudder and throttle; the pitch equals the angle of attack and the roll is 0. The search ignores the limits of the controls; converged says whether it found a trim, and the controls are within them.
|
| FixedWingLinearModel | linearise (const FixedWingParameters ¶meters, const FixedWingTrim &trim) |
| | Linearise the dynamics about a trim, by central differences.
|
| std::vector< FlightMode > | flight_modes (const FixedWingLinearModel &model) |
| | The classical modes: short period and phugoid from the longitudinal states (u, w, q, theta), and roll, spiral and Dutch roll from the lateral ones (v, p, r, phi).
|
| template<int dim> |
| std::ostream & | operator<< (std::ostream &out, const SysState< dim > &state) |
Models of how things move: wheeled robots, a bicycle, a quadrotor and a fixed wing aircraft, with the trim and linearisation of the aircraft.
The 12 values of the state of a fixed wing aircraft, in this order: the position (north, east, down) in the world [m], the velocity (u, v, w) in the body frame [m/s], the Euler angles (roll, pitch, yaw) [rad] and the angular velocity (p, q, r) in the body frame [rad/s].