bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
fixed_wing_trim.h File Reference

The trim of a fixed wing aircraft for level flight, its linear model about a trim, and the modes of that model. More...

#include "bitsim/bitsim_types.h"
#include "bitsim/dynamics/fixed_wing_dynamics.h"
#include <Eigen/Dense>
#include <complex>
#include <string>
#include <vector>
Include dependency graph for fixed_wing_trim.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  bitsim::dynamics::FixedWingTrim
 A steady flight: the state and the controls that keep it. More...
struct  bitsim::dynamics::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  bitsim::dynamics::FlightMode
 A mode of the linearised motion. 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.

Functions

FixedWingTrim bitsim::dynamics::trim_level_flight (const FixedWingParameters &parameters, 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 bitsim::dynamics::linearise (const FixedWingParameters &parameters, const FixedWingTrim &trim)
 Linearise the dynamics about a trim, by central differences.
std::vector< FlightMode > bitsim::dynamics::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).

Detailed Description

The trim of a fixed wing aircraft for level flight, its linear model about a trim, and the modes of that model.