|
Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Integrated Navigation System interface. More...
#include "std.h"#include "generated/airframe.h"#include <stdio.h>Go to the source code of this file.
Enumerations | |
| enum | ins_ext_pose_state { EKF_X_POS_X , EKF_X_POS_Y , EKF_X_POS_Z , EKF_X_VEL_X , EKF_X_VEL_Y , EKF_X_VEL_Z , EKF_X_PHI , EKF_X_THETA , EKF_X_PSI , EKF_X_A_BIAS_X , EKF_X_A_BIAS_Y , EKF_X_A_BIAS_Z , EKF_X_G_BIAS_P , EKF_X_G_BIAS_Q , EKF_X_G_BIAS_R , EKF_NUM_STATES } |
| enum | ins_ext_pose_inputs { EKF_U_ACC_X , EKF_U_ACC_Y , EKF_U_ACC_Z , EKF_U_GYRO_P , EKF_U_GYRO_Q , EKF_U_GYRO_R , EKF_NUM_INPUTS } |
| enum | ins_ext_pose_outputs { EKF_Z_POS_X , EKF_Z_POS_Y , EKF_Z_POS_Z , EKF_Z_PHI , EKF_Z_THETA , EKF_Z_PSI , EKF_NUM_OUTPUTS } |
Functions | |
| void | ins_ext_pose_init (void) |
| Module. | |
| void | ins_ext_pose_run (void) |
| void | ins_ext_pose_msg_update (uint8_t *buf) |
| void | ins_ext_pose_log_header (FILE *file) |
| Logging. | |
| void | ins_ext_pose_log_data (FILE *file) |
Variables | |
| float | ekf_X [EKF_NUM_STATES] |
| float | ins_ext_pose_max_age |
| float | ins_ext_pose_gate_psi |
| float | ins_ext_pose_gate_tilt |
Integrated Navigation System interface.
Definition in file ins_ext_pose.h.
| enum ins_ext_pose_inputs |
| Enumerator | |
|---|---|
| EKF_U_ACC_X | |
| EKF_U_ACC_Y | |
| EKF_U_ACC_Z | |
| EKF_U_GYRO_P | |
| EKF_U_GYRO_Q | |
| EKF_U_GYRO_R | |
| EKF_NUM_INPUTS | |
Definition at line 58 of file ins_ext_pose.h.
| enum ins_ext_pose_outputs |
| Enumerator | |
|---|---|
| EKF_Z_POS_X | |
| EKF_Z_POS_Y | |
| EKF_Z_POS_Z | |
| EKF_Z_PHI | |
| EKF_Z_THETA | |
| EKF_Z_PSI | |
| EKF_NUM_OUTPUTS | |
Definition at line 68 of file ins_ext_pose.h.
| enum ins_ext_pose_state |
Definition at line 39 of file ins_ext_pose.h.
|
extern |
Module.
Definition at line 405 of file ins_ext_pose.c.
References accel_cb(), accel_ev, DefaultPeriodic, ekf_init(), gyro_cb(), gyro_ev, ins_ext_pose, INS_EXT_POSE_IMU_ID, ins_ext_pose_init_from_flightplan(), register_periodic_telemetry(), send_ahrs_bias(), send_external_pose_down(), send_filter_status(), send_ins(), send_ins_ref(), and send_ins_z().
|
extern |
Definition at line 1123 of file ins_ext_pose.c.
References ekf_U, ekf_X, and ekf_Z.
Referenced by logger_file_write_row().
|
extern |
Logging.
Definition at line 1115 of file ins_ext_pose.c.
Referenced by logger_file_write_header().
|
extern |
Definition at line 343 of file ins_ext_pose.c.
References DEBUG_PRINT, ENU_OF_TO_NED, EULERS_COPY, float_eulers_of_quat(), float_quat_comp(), get_sys_time_usec(), ins_ext_pose, ins_ext_pose_check_age(), FloatQuat::qi, QUAT_COPY, FloatQuat::qx, FloatQuat::qy, FloatQuat::qz, EnuCoor_f::x, EnuCoor_f::y, and EnuCoor_f::z.
|
extern |
Definition at line 443 of file ins_ext_pose.c.
References ekf_run().
|
extern |
Definition at line 469 of file ins_ext_pose.c.
Referenced by ekf_init(), ekf_measurement_step(), ekf_prediction_step(), ekf_psi_meas(), ekf_reset_on_pose(), ekf_run(), ins_ext_pose_log_data(), and send_ahrs_bias().
|
extern |
Definition at line 100 of file ins_ext_pose.c.
Referenced by ekf_run().
|
extern |
Definition at line 101 of file ins_ext_pose.c.
Referenced by ekf_run().
|
extern |
Definition at line 99 of file ins_ext_pose.c.
Referenced by ins_ext_pose_check_age().