|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
33 #ifndef WINDTUNNEL_TO_BODY_PHI
34 #define WINDTUNNEL_TO_BODY_PHI 0
37 #ifndef WINDTUNNEL_TO_BODY_THETA
38 #define WINDTUNNEL_TO_BODY_THETA 0
41 #ifndef WINDTUNNEL_TO_BODY_PSI
42 #define WINDTUNNEL_TO_BODY_PSI 0
61 #if PERIODIC_TELEMETRY
72 float aoa = DegOfRad(windtunnel_to_body_e.
theta);
91 #if PERIODIC_TELEMETRY
struct AirData air_data
global AirData state
struct min_max_ctrl_t ctrl_windtunnel_throttle
void guidance_v_module_run(UNUSED bool in_flight)
void guidance_h_module_read_rc(void)
static float get_sys_time_float(void)
Get the time in seconds since startup.
struct min_max_ctrl_t ctrl_windtunnel_flaps
void guidance_h_module_init(void)
#define WINDTUNNEL_TO_BODY_PHI
float vsupply
supply voltage in V
void ctrl_module_init(void)
void guidance_v_module_init(void)
static struct FloatQuat * orientationGetQuat_f(struct OrientationReps *orientation)
Get vehicle body attitude quaternion (float).
static struct FloatQuat * stateGetNedToBodyQuat_f(void)
Get vehicle body attitude quaternion (float).
void guidance_h_module_run(bool in_flight)
void guidance_v_module_enter(void)
float ctrl_windtunnel_steptime
static const struct usb_device_descriptor dev
float airspeed
Equivalent Air Speed (equals to Calibrated Air Speed at low speed/altitude) (in m/s,...
int8_t register_periodic_telemetry(struct periodic_telemetry *_pt, uint8_t _id, telemetry_cb _cb)
Register a telemetry callback function.
struct ctrl_windtunnel_struct ctrl_windtunnel
static void orientationSetEulers_f(struct OrientationReps *orientation, struct FloatEulers *eulers)
Set vehicle body attitude from euler angles (float).
static void send_windtunnel_meas(struct transport_tx *trans, struct link_device *dev)
struct OrientationReps rotation
#define WINDTUNNEL_TO_BODY_PSI
void guidance_h_module_enter(void)
void ctrl_module_run(bool in_flight)
int32_t stabilization_cmd[COMMANDS_NB]
Stabilization commands.
struct Electrical electrical
void float_eulers_of_quat(struct FloatEulers *e, struct FloatQuat *q)
euler rotation 'ZYX'
#define WINDTUNNEL_TO_BODY_THETA
#define DefaultPeriodic
Set default periodic telemetry.
float current
current in A
struct RadioControl radio_control
pprz_t values[RADIO_CONTROL_NB_CHANNEL]
void float_quat_comp_inv(struct FloatQuat *a2b, struct FloatQuat *a2c, struct FloatQuat *b2c)
Composition (multiplication) of two quaternions.