|
bitsim
Model, simulate, estimate and control robots in C++
|
#include "bitsim/bitsim_config.h"#include "bitsim/bitsim_consts.h"#include "bitsim/bitsim_types.h"#include "bitsim/control/fixed_wing_autopilot.h"#include "bitsim/control/fixed_wing_mission.h"#include "bitsim/dynamics/fixed_wing_dynamics.h"#include "bitsim/dynamics/fixed_wing_trim.h"#include "bitsim/utils/io/print_utils.h"#include "bitsim/utils/render/irrlicht_scene.h"#include "bitsim/utils/render/irrlicht_utils.h"#include <chrono/assets/ChVisualShapeBox.h>#include <chrono/physics/ChBody.h>#include <chrono/physics/ChBodyEasy.h>#include <chrono/physics/ChSystemNSC.h>#include <chrono_irrlicht/ChVisualSystemIrrlicht.h>#include <algorithm>#include <chrono>#include <cmath>#include <cstdlib>#include <iomanip>#include <iostream>#include <memory>#include <optional>#include <sstream>#include <string>#include <thread>#include <vector>
Classes | |
| struct | fixed_wing_flight::Options |
| class | fixed_wing_flight::Display |
Namespaces | |
| namespace | fixed_wing_flight |
Macros | |
| #define | FIXED_WING_RENDER |
Typedefs | |
| using | fixed_wing_flight::real_t |
| real_t | |
| using | fixed_wing_flight::RealMat3d |
| 3×3 matrix of type double. | |
| using | fixed_wing_flight::uint_t |
| uint_t | |
Functions | |
| void | fixed_wing_flight::show_trims (const FixedWingParameters &p) |
| void | fixed_wing_flight::show_modes (const FixedWingParameters &p) |
| void | fixed_wing_flight::show_gains (const FixedWingAutopilot &autopilot) |
| const chrono::ChMatrix33d | fixed_wing_flight::NED_TO_Z_UP (ChVector3d(1, 0, 0), ChVector3d(0, -1, 0), ChVector3d(0, 0, -1)) |
| ChVector3d | fixed_wing_flight::to_z_up (real_t n, real_t e, real_t d) |
| int | fixed_wing_flight::fly (const FixedWingParameters &p, FixedWingAutopilot &autopilot, const Options &options) |
| int | main (int argc, char **argv) |
| void | fixed_wing_flight::print_title (const std::string &title, std::ostream &out) |
| An empty line and then the title. | |
Variables | |
| const real_t | fixed_wing_flight::PI = bitsim::consts::maths::PI |
| const real_t | fixed_wing_flight::DEG = PI / 180.0 |
| const real_t | fixed_wing_flight::STEP = 0.01 |
| const real_t | fixed_wing_flight::PRINT_PERIOD = 10.0 |
| const real_t | fixed_wing_flight::TIME_LIMIT = 400.0 |
| const real_t | fixed_wing_flight::RENDER_RATE = 30.0 |
| const real_t | fixed_wing_flight::RECORD_RATE = 10.0 |
| const real_t | fixed_wing_flight::DESIGN_AIRSPEED = 25.0 |
| const Runway | fixed_wing_flight::RUNWAY {0.0, 0.0, 0.0, 400.0, 20.0} |
| const std::vector< MissionWaypoint > | fixed_wing_flight::ROUTE |
| #define FIXED_WING_RENDER |
| int main | ( | int | argc, |
| char ** | argv ) |