bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
bitsim::dynamics::QuadrotorDynamicsConfig Struct Reference

#include <quadrotor_dynamics.h>

Public Attributes

bool use_gravity {true}
 flag indicating if gravity is used
bool use_description_matrices {false}
real_t mass
 mass
real_t l
 the arm length
real_t k_1
 Proportionality constant to scale the morot velocity.
real_t k_2
 Proportionality constant to scale the morot velocity used when calculating torques.
real_t drag {0.0}
 Linear air drag [kg/s]: a force of -drag * v on the body. 0, the default, leaves it out. A little drag slows a tilted quadrotor to a steady speed, as air does.
real_t dt
 The time step to use.
real_t Jx
real_t Jy
real_t Jz

Member Data Documentation

◆ drag

real_t bitsim::dynamics::QuadrotorDynamicsConfig::drag {0.0}

Linear air drag [kg/s]: a force of -drag * v on the body. 0, the default, leaves it out. A little drag slows a tilted quadrotor to a steady speed, as air does.

◆ dt

real_t bitsim::dynamics::QuadrotorDynamicsConfig::dt

The time step to use.

◆ Jx

real_t bitsim::dynamics::QuadrotorDynamicsConfig::Jx

◆ Jy

real_t bitsim::dynamics::QuadrotorDynamicsConfig::Jy

◆ Jz

real_t bitsim::dynamics::QuadrotorDynamicsConfig::Jz

◆ k_1

real_t bitsim::dynamics::QuadrotorDynamicsConfig::k_1

Proportionality constant to scale the morot velocity.

◆ k_2

real_t bitsim::dynamics::QuadrotorDynamicsConfig::k_2

Proportionality constant to scale the morot velocity used when calculating torques.

◆ l

real_t bitsim::dynamics::QuadrotorDynamicsConfig::l

the arm length

◆ mass

real_t bitsim::dynamics::QuadrotorDynamicsConfig::mass

mass

◆ use_description_matrices

bool bitsim::dynamics::QuadrotorDynamicsConfig::use_description_matrices {false}

◆ use_gravity

bool bitsim::dynamics::QuadrotorDynamicsConfig::use_gravity {true}

flag indicating if gravity is used


The documentation for this struct was generated from the following file: