bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
fixed_wing_flight Namespace Reference

Classes

struct  Options
class  Display

Typedefs

using real_t
 real_t
using RealMat3d
 3×3 matrix of type double.
using uint_t
 uint_t

Functions

void show_trims (const FixedWingParameters &p)
void show_modes (const FixedWingParameters &p)
void show_gains (const FixedWingAutopilot &autopilot)
const chrono::ChMatrix33d NED_TO_Z_UP (ChVector3d(1, 0, 0), ChVector3d(0, -1, 0), ChVector3d(0, 0, -1))
ChVector3d to_z_up (real_t n, real_t e, real_t d)
int fly (const FixedWingParameters &p, FixedWingAutopilot &autopilot, const Options &options)
void print_title (const std::string &title, std::ostream &out)
 An empty line and then the title.

Variables

const real_t PI = bitsim::consts::maths::PI
const real_t DEG = PI / 180.0
const real_t STEP = 0.01
const real_t PRINT_PERIOD = 10.0
const real_t TIME_LIMIT = 400.0
const real_t RENDER_RATE = 30.0
const real_t RECORD_RATE = 10.0
const real_t DESIGN_AIRSPEED = 25.0
const Runway RUNWAY {0.0, 0.0, 0.0, 400.0, 20.0}
const std::vector< MissionWaypoint > ROUTE

Typedef Documentation

◆ real_t

◆ RealMat3d

3×3 matrix of type double.

◆ uint_t

Function Documentation

◆ fly()

int fixed_wing_flight::fly ( const FixedWingParameters & p,
FixedWingAutopilot & autopilot,
const Options & options )

◆ NED_TO_Z_UP()

const chrono::ChMatrix33d fixed_wing_flight::NED_TO_Z_UP ( ChVector3d(1, 0, 0) ,
ChVector3d(0, -1, 0) ,
ChVector3d(0, 0, -1)  )

◆ print_title()

void bitsim::utils::io::print_title ( const std::string & title,
std::ostream & out )

An empty line and then the title.

◆ show_gains()

void fixed_wing_flight::show_gains ( const FixedWingAutopilot & autopilot)

◆ show_modes()

void fixed_wing_flight::show_modes ( const FixedWingParameters & p)

◆ show_trims()

void fixed_wing_flight::show_trims ( const FixedWingParameters & p)

◆ to_z_up()

ChVector3d fixed_wing_flight::to_z_up ( real_t n,
real_t e,
real_t d )

Variable Documentation

◆ DEG

const real_t fixed_wing_flight::DEG = PI / 180.0

◆ DESIGN_AIRSPEED

const real_t fixed_wing_flight::DESIGN_AIRSPEED = 25.0

◆ PI

const real_t fixed_wing_flight::PI = bitsim::consts::maths::PI

◆ PRINT_PERIOD

const real_t fixed_wing_flight::PRINT_PERIOD = 10.0

◆ RECORD_RATE

const real_t fixed_wing_flight::RECORD_RATE = 10.0

◆ RENDER_RATE

const real_t fixed_wing_flight::RENDER_RATE = 30.0

◆ ROUTE

const std::vector<MissionWaypoint> fixed_wing_flight::ROUTE
Initial value:
{
{700.0, 0.0, 60.0}, {700.0, 500.0, 80.0}, {-450.0, 500.0, 80.0}, {-700.0, 250.0, 50.0}}

◆ RUNWAY

const Runway fixed_wing_flight::RUNWAY {0.0, 0.0, 0.0, 400.0, 20.0}

◆ STEP

const real_t fixed_wing_flight::STEP = 0.01

◆ TIME_LIMIT

const real_t fixed_wing_flight::TIME_LIMIT = 400.0