|
Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Macros | |
| #define | SQUARE(_a) |
| #define | VECT2_ASSIGN(_a, _x, _y) |
| #define | VECT2_COPY(_a, _b) |
| #define | VECT2_ADD(_a, _b) |
| #define | VECT2_SUB(_a, _b) |
| #define | VECT2_SUM(_c, _a, _b) |
| #define | VECT2_DIFF(_c, _a, _b) |
| #define | VECT2_SMUL(_vo, _vi, _s) |
| #define | VECT2_SDIV(_vo, _vi, _s) |
| #define | VECT2_STRIM(_v, _min, _max) |
| #define | VECT2_DOT_PRODUCT(_v1, _v2) |
| #define | VECT2_NORM2(_v) |
| #define | VECT3_ASSIGN(_a, _x, _y, _z) |
| #define | VECT3_ASSIGN_ABS(_a, _x, _y, _z) |
| #define | VECT3_COPY(_a, _b) |
| #define | VECT3_ADD(_a, _b) |
| #define | VECT3_SUB(_a, _b) |
| #define | VECT3_SUM(_c, _a, _b) |
| #define | VECT3_ADD_SCALED(_a, _b, _s) |
| #define | VECT3_SUM_SCALED(_c, _a, _b, _s) |
| #define | VECT3_DIFF(_c, _a, _b) |
| #define | VECT3_SMUL(_vo, _vi, _s) |
| #define | VECT3_SDIV(_vo, _vi, _s) |
| #define | VECT3_STRIM(_v, _min, _max) |
| #define | VECT3_EW_DIV(_vo, _va, _vb) |
| #define | VECT3_EW_MUL(_vo, _va, _vb) |
| #define | VECT3_BOUND_CUBE(_v, _min, _max) |
| #define | VECT3_BOUND_BOX(_v, _v_min, _v_max) |
| #define | VECT3_ABS(_vo, _vi) |
| #define | VECT3_CROSS_PRODUCT(_vo, _v1, _v2) |
| #define | VECT3_DOT_PRODUCT(_v1, _v2) |
| #define | VECT3_NORM2(_v) |
| #define | VECT3_RATES_CROSS_VECT3(_vo, _r1, _v2) |
| #define | EULERS_COPY(_a, _b) |
| #define | EULERS_ASSIGN(_e, _phi, _theta, _psi) |
| #define | EULERS_ADD(_a, _b) |
| #define | EULERS_SUB(_a, _b) |
| #define | EULERS_DIFF(_c, _a, _b) |
| #define | EULERS_SMUL(_eo, _ei, _s) |
| #define | EULERS_SDIV(_eo, _ei, _s) |
| #define | EULERS_BOUND_CUBE(_v, _min, _max) |
| #define | RATES_ASSIGN(_ra, _p, _q, _r) |
| #define | RATES_COPY(_a, _b) |
| #define | RATES_ADD(_a, _b) |
| #define | RATES_SUB(_a, _b) |
| #define | RATES_SUM(_c, _a, _b) |
| #define | RATES_SUM_SCALED(_c, _a, _b, _s) |
| #define | RATES_DIFF(_c, _a, _b) |
| #define | RATES_SMUL(_ro, _ri, _s) |
| #define | RATES_SDIV(_ro, _ri, _s) |
| #define | RATES_EWMULT_RSHIFT(c, a, b, _s) |
| #define | RATES_BOUND_CUBE(_v, _min, _max) |
| #define | RATES_BOUND_BOX(_v, _v_min, _v_max) |
| #define | RATES_BOUND_BOX_ABS(_v, _v_max) |
| #define | RATES_ADD_SCALED_VECT(_ro, _v, _s) |
| #define | MAT33_ELMT(_m, _row, _col) |
| #define | MAT33_COPY(_mat1, _mat2) |
| #define | MAT33_MULT_SCALAR(_mat1, _scalar) |
| #define | MAT33_VECT3_MUL(_vout, _mat, _vin) |
| #define | MAT33_VECT3_TRANSP_MUL(_vout, _mat, _vin) |
| #define | MAT33_INV(_minv, _m) |
| #define | MAT33_ROW_VECT3_SMUL(_mat, _row, _vin, _s) |
| #define | VECT3_VECT3_TRANS_MUL(_mat, _v_a, _v_b) |
| #define | MAT33_MAT33_DIFF(_mat1, _mat2, _mat3) |
| #define | MAT33_MAT33_SUM(_mat1, _mat2, _mat3) |
| #define | MAT33_TRANS(_mat1, _mat2) |
| #define | QUAT_ASSIGN(_q, _i, _x, _y, _z) |
| #define | QUAT_DIFF(_qc, _qa, _qb) |
| #define | QUAT_COPY(_qo, _qi) |
| #define | QUAT_EXPLEMENTARY(b, a) |
| #define | QUAT_SMUL(_qo, _qi, _s) |
| #define | QUAT_ADD(_qo, _qi) |
| #define | QUAT_INVERT(_qo, _qi) |
| #define | QUAT_EXTRACT_Q(_vo, _qi) |
| #define | QUAT_SDIV(_qo, _qi, _s) |
| #define | QUAT_DOT_PRODUCT(_qa, _qb) |
| #define | RMAT_ELMT(_rm, _row, _col) |
| #define | RMAT_TRACE(_rm) |
| #define | RMAT_DIFF(_c, _a, _b) |
| #define | RMAT_VECT3_MUL(_vout, _rmat, _vin) |
| #define | RMAT_VECT3_TRANSP_MUL(_vout, _rmat, _vin) |
| #define | RMAT_COPY(_o, _i) |
| #define | EULERS_FLOAT_OF_BFP(_ef, _ei) |
| #define | EULERS_BFP_OF_REAL(_ei, _ef) |
| #define | RMAT_BFP_OF_REAL(_ei, _ef) |
| #define | RMAT_FLOAT_OF_BFP(_ef, _ei) |
| #define | QUAT_FLOAT_OF_BFP(_qf, _qi) |
| #define | QUAT_BFP_OF_REAL(_qi, _qf) |
| #define | RATES_FLOAT_OF_BFP(_rf, _ri) |
| #define | RATES_BFP_OF_REAL(_ri, _rf) |
| #define | POSITIONS_FLOAT_OF_BFP(_ef, _ei) |
| #define | POSITIONS_BFP_OF_REAL(_ef, _ei) |
| #define | SPEEDS_FLOAT_OF_BFP(_ef, _ei) |
| #define | SPEEDS_BFP_OF_REAL(_ef, _ei) |
| #define | ACCELS_FLOAT_OF_BFP(_ef, _ei) |
| #define | ACCELS_BFP_OF_REAL(_ef, _ei) |
| #define | MAGS_FLOAT_OF_BFP(_ef, _ei) |
| #define | MAGS_BFP_OF_REAL(_ef, _ei) |
| #define ACCELS_BFP_OF_REAL | ( | _ef, | |
| _ei ) |
Definition at line 801 of file pprz_algebra.h.
Referenced by accel_cb(), ahrs_vectornav_event(), ekf_run(), ins_float_invariant_propagate(), ins_vectornav_propagate(), stateCalcAccelEcef_i(), and stateCalcAccelNed_i().
| #define ACCELS_FLOAT_OF_BFP | ( | _ef, | |
| _ei ) |
Definition at line 795 of file pprz_algebra.h.
Referenced by accel_cb(), accel_cb(), accel_cb(), accel_cb(), accel_cb(), accel_cb(), accel_cb(), accel_cb(), accel_cb(), ahrs_icq_update_accel(), ahrs_int_get_quat_from_accel(), ahrs_int_get_quat_from_accel_mag(), aligner_cb(), aligner_cb(), aligner_cb(), aligner_cb(), aligner_cb(), aligner_cb(), aligner_cb(), ekf_aw_wrapper_fetch(), imu_accel_raw_cb(), lms_estimation(), send_accel(), stabilization_indi_rate_run(), stateCalcAccelEcef_f(), stateCalcAccelNed_f(), v_ctl_climb_loop(), and wind_estimator_periodic().
| #define EULERS_ADD | ( | _a, | |
| _b ) |
Definition at line 281 of file pprz_algebra.h.
Referenced by attitude_ref_euler_float_update(), attitude_ref_euler_int_update(), stabilization_attitude_plane_pid_run(), and stabilization_attitude_run().
| #define EULERS_ASSIGN | ( | _e, | |
| _phi, | |||
| _theta, | |||
| _psi ) |
Definition at line 274 of file pprz_algebra.h.
Referenced by ahrs_float_get_euler_from_accel_mag(), attitude_ref_euler_float_update(), and nps_fdm_init().
| #define EULERS_BFP_OF_REAL | ( | _ei, | |
| _ef ) |
Definition at line 715 of file pprz_algebra.h.
Referenced by imu_init(), imu_set_body_to_imu_eulers(), orientationCalcEulers_i(), orientationCalcQuat_i(), orientationCalcRMat_i(), send_att(), send_att(), send_euler_int(), send_fp(), stab_sp_to_eulers_i(), stab_sp_to_quat_i(), and stabilization_attitude_read_rc_setpoint_eulers().
| #define EULERS_BOUND_CUBE | ( | _v, | |
| _min, | |||
| _max ) |
Definition at line 317 of file pprz_algebra.h.
Referenced by stabilization_attitude_plane_pid_run(), and stabilization_attitude_run().
| #define EULERS_COPY | ( | _a, | |
| _b ) |
Definition at line 268 of file pprz_algebra.h.
Referenced by fetch_state(), get_orient(), ins_ext_pose_msg_update(), orientationSetEulers_f(), orientationSetEulers_i(), and stabilization_attitude_run().
| #define EULERS_DIFF | ( | _c, | |
| _a, | |||
| _b ) |
Definition at line 295 of file pprz_algebra.h.
Referenced by attitude_ref_euler_float_update(), attitude_ref_euler_int_update(), stabilization_attitude_plane_pid_run(), and stabilization_attitude_run().
| #define EULERS_FLOAT_OF_BFP | ( | _ef, | |
| _ei ) |
Definition at line 709 of file pprz_algebra.h.
Referenced by orientationCalcEulers_f(), orientationCalcQuat_f(), orientationCalcRMat_f(), quat_from_rpy_cmd_i(), send_att_full_indi(), stab_sp_to_eulers_f(), stab_sp_to_quat_f(), and stabilization_attitude_read_rc_setpoint_eulers().
| #define EULERS_SDIV | ( | _eo, | |
| _ei, | |||
| _s ) |
Definition at line 310 of file pprz_algebra.h.
Referenced by stabilization_attitude_plane_pid_run().
| #define EULERS_SMUL | ( | _eo, | |
| _ei, | |||
| _s ) |
Definition at line 303 of file pprz_algebra.h.
| #define EULERS_SUB | ( | _a, | |
| _b ) |
Definition at line 288 of file pprz_algebra.h.
| #define MAGS_BFP_OF_REAL | ( | _ef, | |
| _ei ) |
Definition at line 813 of file pprz_algebra.h.
| #define MAGS_FLOAT_OF_BFP | ( | _ef, | |
| _ei ) |
Definition at line 807 of file pprz_algebra.h.
Referenced by ahrs_int_get_quat_from_accel_mag(), aligner_cb(), aligner_cb(), aligner_cb(), aligner_cb(), aligner_cb(), aligner_cb(), mag_cb(), mag_cb(), mag_cb(), mag_cb(), mag_cb(), mag_cb(), mag_cb(), and send_mag().
| #define MAT33_COPY | ( | _mat1, | |
| _mat2 ) |
Definition at line 438 of file pprz_algebra.h.
Referenced by get_world_position_from_image_points().
| #define MAT33_ELMT | ( | _m, | |
| _row, | |||
| _col ) |
Definition at line 436 of file pprz_algebra.h.
Referenced by georeference_project(), process_data(), unwrap_LUT(), and wind_estimation_quadrotor_periodic().
| #define MAT33_INV | ( | _minv, | |
| _m ) |
Definition at line 489 of file pprz_algebra.h.
Referenced by get_world_position_from_image_points(), and guidance_indi_run().
| #define MAT33_MAT33_DIFF | ( | _mat1, | |
| _mat2, | |||
| _mat3 ) |
Definition at line 534 of file pprz_algebra.h.
Referenced by get_world_position_from_image_points().
| #define MAT33_MAT33_SUM | ( | _mat1, | |
| _mat2, | |||
| _mat3 ) |
Definition at line 547 of file pprz_algebra.h.
Referenced by get_world_position_from_image_points().
| #define MAT33_MULT_SCALAR | ( | _mat1, | |
| _scalar ) |
Definition at line 450 of file pprz_algebra.h.
| #define MAT33_ROW_VECT3_SMUL | ( | _mat, | |
| _row, | |||
| _vin, | |||
| _s ) |
Definition at line 514 of file pprz_algebra.h.
Referenced by float_rmat_reorthogonalize().
| #define MAT33_TRANS | ( | _mat1, | |
| _mat2 ) |
Definition at line 560 of file pprz_algebra.h.
Referenced by get_world_position_from_image_points().
| #define MAT33_VECT3_MUL | ( | _vout, | |
| _mat, | |||
| _vin ) |
Definition at line 463 of file pprz_algebra.h.
Referenced by enu_of_ecef_point_d(), enu_of_ecef_point_f(), enu_of_ecef_vect_d(), enu_of_ecef_vect_f(), get_world_position_from_image_points(), guidance_indi_run(), nps_sensor_accel_run_step(), nps_sensor_gyro_run_step(), and nps_sensor_mag_run_step().
| #define MAT33_VECT3_TRANSP_MUL | ( | _vout, | |
| _mat, | |||
| _vin ) |
Definition at line 476 of file pprz_algebra.h.
Referenced by ecef_of_enu_point_d(), ecef_of_enu_point_f(), ecef_of_enu_vect_d(), and ecef_of_enu_vect_f().
| #define POSITIONS_BFP_OF_REAL | ( | _ef, | |
| _ei ) |
Definition at line 777 of file pprz_algebra.h.
Referenced by ekf_run().
| #define POSITIONS_FLOAT_OF_BFP | ( | _ef, | |
| _ei ) |
Definition at line 771 of file pprz_algebra.h.
| #define QUAT_ADD | ( | _qo, | |
| _qi ) |
Definition at line 619 of file pprz_algebra.h.
Referenced by attitude_ref_quat_float_update(), attitude_ref_quat_int_update(), invariant_model(), invariant_model(), and update_quat_second_order_low_pass().
| #define QUAT_ASSIGN | ( | _q, | |
| _i, | |||
| _x, | |||
| _y, | |||
| _z ) |
Definition at line 580 of file pprz_algebra.h.
Referenced by ahrs_float_get_quat_from_accel(), ahrs_float_get_quat_from_accel_mag(), float_quat_vmul_right(), and quat_from_earth_cmd_f().
| #define QUAT_BFP_OF_REAL | ( | _qi, | |
| _qf ) |
Definition at line 752 of file pprz_algebra.h.
Referenced by ahrs_int_get_quat_from_accel(), ahrs_int_get_quat_from_accel_mag(), guidance_hybrid_set_cmd_i(), orientationCalcEulers_i(), orientationCalcQuat_i(), orientationCalcRMat_i(), quat_from_earth_cmd_i(), quat_from_rpy_cmd_i(), send_ahrs_ref_quat(), stab_sp_to_eulers_i(), stab_sp_to_quat_i(), and stabilization_attitude_heli_indi_set_steadystate_pitchroll().
| #define QUAT_COPY | ( | _qo, | |
| _qi ) |
Definition at line 596 of file pprz_algebra.h.
Referenced by ahrs_fc_realign_heading(), ahrs_icq_realign_heading(), attitude_ref_quat_float_enter(), attitude_ref_quat_float_update(), attitude_ref_quat_int_enter(), fetch_state(), get_orient(), ins_ext_pose_msg_update(), orientationSetQuat_f(), orientationSetQuat_i(), sim_overwrite_ahrs(), stabilization_attitude_read_rc_setpoint(), and stabilization_attitude_read_rc_setpoint_earth_bound().
| #define QUAT_DIFF | ( | _qc, | |
| _qa, | |||
| _qb ) |
Definition at line 588 of file pprz_algebra.h.
| #define QUAT_DOT_PRODUCT | ( | _qa, | |
| _qb ) |
Definition at line 650 of file pprz_algebra.h.
| #define QUAT_EXPLEMENTARY | ( | b, | |
| a ) |
Definition at line 603 of file pprz_algebra.h.
Referenced by float_quat_wrap_shortest(), and int32_quat_wrap_shortest().
| #define QUAT_EXTRACT_Q | ( | _vo, | |
| _qi ) |
Definition at line 635 of file pprz_algebra.h.
| #define QUAT_FLOAT_OF_BFP | ( | _qf, | |
| _qi ) |
Definition at line 745 of file pprz_algebra.h.
Referenced by orientationCalcEulers_f(), orientationCalcQuat_f(), orientationCalcRMat_f(), send_att_full_indi(), stab_sp_to_eulers_f(), and stab_sp_to_quat_f().
| #define QUAT_INVERT | ( | _qo, | |
| _qi ) |
Definition at line 627 of file pprz_algebra.h.
Referenced by float_quat_invert(), ins_int_update_gps(), and vel_est_cb().
| #define QUAT_SDIV | ( | _qo, | |
| _qi, | |||
| _s ) |
Definition at line 642 of file pprz_algebra.h.
| #define QUAT_SMUL | ( | _qo, | |
| _qi, | |||
| _s ) |
Definition at line 611 of file pprz_algebra.h.
Referenced by attitude_ref_quat_float_update(), invariant_model(), invariant_model(), and update_quat_second_order_low_pass().
| #define RATES_ADD | ( | _a, | |
| _b ) |
Definition at line 344 of file pprz_algebra.h.
Referenced by ahrs_aligner_run(), ahrs_icq_propagate(), attitude_ref_euler_float_update(), attitude_ref_euler_int_update(), attitude_ref_quat_float_update(), attitude_ref_quat_int_update(), stabilization_indi_attitude_controller(), stabilization_indi_attitude_run(), stabilization_rate_run(), and update_quat_second_order_low_pass().
| #define RATES_ADD_SCALED_VECT | ( | _ro, | |
| _v, | |||
| _s ) |
Definition at line 419 of file pprz_algebra.h.
Referenced by ahrs_fc_update_accel(), ahrs_fc_update_heading(), ahrs_fc_update_mag_2d(), ahrs_fc_update_mag_2d_dumb(), and ahrs_fc_update_mag_full().
| #define RATES_ASSIGN | ( | _ra, | |
| _p, | |||
| _q, | |||
| _r ) |
Definition at line 330 of file pprz_algebra.h.
Referenced by attitude_ref_quat_float_init(), imu_aspirin2_event(), imu_bebop_event(), imu_disco_event(), imu_feed_gyro_accel(), imu_gyro_raw_cb(), imu_init(), imu_set_defaults_gyro(), invariant_model(), invariant_model(), sensors_hitl_parse_HITL_IMU(), and stabilization_rate_init().
| #define RATES_BFP_OF_REAL | ( | _ri, | |
| _rf ) |
Definition at line 765 of file pprz_algebra.h.
Referenced by ahrs_vectornav_event(), ins_vectornav_propagate(), send_bias(), send_bias(), stab_sp_to_rates_i(), and stateCalcBodyRates_i().
| #define RATES_BOUND_BOX | ( | _v, | |
| _v_min, | |||
| _v_max ) |
Definition at line 407 of file pprz_algebra.h.
Referenced by attitude_ref_euler_int_update().
| #define RATES_BOUND_BOX_ABS | ( | _v, | |
| _v_max ) |
Definition at line 413 of file pprz_algebra.h.
Referenced by attitude_ref_float_saturate_naive(), and attitude_ref_int_saturate_naive().
| #define RATES_BOUND_CUBE | ( | _v, | |
| _min, | |||
| _max ) |
Definition at line 401 of file pprz_algebra.h.
Referenced by stabilization_rate_run().
| #define RATES_COPY | ( | _a, | |
| _b ) |
Definition at line 337 of file pprz_algebra.h.
Referenced by ahrs_fc_propagate(), ahrs_float_invariant_propagate(), ahrs_icq_align(), ahrs_icq_propagate(), gyro_int_cb(), imu_aspirin2_event(), imu_gyro_raw_cb(), imu_set_defaults_gyro(), ins_float_invariant_propagate(), propagate_ref(), sim_overwrite_ahrs(), stabilization_attitude_run(), stateSetBodyRates_f(), and stateSetBodyRates_i().
| #define RATES_DIFF | ( | _c, | |
| _a, | |||
| _b ) |
Definition at line 372 of file pprz_algebra.h.
Referenced by ahrs_dcm_propagate(), ahrs_icq_propagate(), ahrs_madgwick_propagate(), compute_body_orientation_and_rates(), ins_float_invariant_propagate(), invariant_model(), invariant_model(), stabilization_attitude_plane_pid_run(), stabilization_attitude_run(), stabilization_attitude_run(), stabilization_indi_rate_controller(), and stabilization_rate_run().
| #define RATES_EWMULT_RSHIFT | ( | c, | |
| a, | |||
| b, | |||
| _s ) |
| #define RATES_FLOAT_OF_BFP | ( | _rf, | |
| _ri ) |
Definition at line 759 of file pprz_algebra.h.
Referenced by aligner_cb(), aligner_cb(), aligner_cb(), aligner_cb(), aligner_cb(), aligner_cb(), aligner_cb(), gyro_cb(), gyro_cb(), gyro_cb(), gyro_cb(), gyro_cb(), gyro_cb(), gyro_cb(), gyro_cb(), imu_gyro_raw_cb(), send_gyro(), stab_sp_to_rates_f(), and stateCalcBodyRates_f().
| #define RATES_SDIV | ( | _ro, | |
| _ri, | |||
| _s ) |
Definition at line 386 of file pprz_algebra.h.
Referenced by ahrs_aligner_run(), ahrs_icq_propagate(), and stabilization_rate_run().
| #define RATES_SMUL | ( | _ro, | |
| _ri, | |||
| _s ) |
Definition at line 379 of file pprz_algebra.h.
Referenced by ahrs_icq_propagate(), attitude_ref_euler_float_update(), attitude_ref_quat_float_update(), send_eff_mat_g_indi_simple(), and update_quat_second_order_low_pass().
| #define RATES_SUB | ( | _a, | |
| _b ) |
Definition at line 351 of file pprz_algebra.h.
Referenced by ahrs_fc_propagate(), and propagate_ref().
| #define RATES_SUM | ( | _c, | |
| _a, | |||
| _b ) |
Definition at line 358 of file pprz_algebra.h.
Referenced by ahrs_fc_propagate(), attitude_ref_euler_int_update(), and attitude_ref_quat_int_update().
| #define RATES_SUM_SCALED | ( | _c, | |
| _a, | |||
| _b, | |||
| _s ) |
Definition at line 365 of file pprz_algebra.h.
| #define RMAT_BFP_OF_REAL | ( | _ei, | |
| _ef ) |
Definition at line 721 of file pprz_algebra.h.
Referenced by orientationCalcEulers_i(), orientationCalcQuat_i(), and orientationCalcRMat_i().
| #define RMAT_COPY | ( | _o, | |
| _i ) |
Definition at line 704 of file pprz_algebra.h.
Referenced by imu_init(), imu_set_defaults_accel(), imu_set_defaults_gyro(), imu_set_defaults_mag(), invensense3_fix_config(), orientationSetRMat_f(), and orientationSetRMat_i().
| #define RMAT_DIFF | ( | _c, | |
| _a, | |||
| _b ) |
Definition at line 666 of file pprz_algebra.h.
| #define RMAT_ELMT | ( | _rm, | |
| _row, | |||
| _col ) |
Definition at line 660 of file pprz_algebra.h.
Referenced by ahrs_fc_update_accel(), ahrs_fc_update_heading(), ahrs_fc_update_mag_2d_dumb(), ahrs_icq_update_accel(), ahrs_icq_update_heading(), double_rmat_inv(), double_rmat_of_eulers_321(), double_rmat_of_quat(), float_quat_of_rmat(), float_rmat_inv(), float_rmat_of_axis_angle(), float_rmat_of_eulers_312(), float_rmat_of_eulers_321(), float_rmat_of_quat(), float_rmat_reorthogonalize(), guidance_indi_run(), int32_quat_of_rmat(), int32_rmat_of_eulers_312(), int32_rmat_of_eulers_321(), and set_dcm_matrix_from_rmat().
| #define RMAT_FLOAT_OF_BFP | ( | _ef, | |
| _ei ) |
Definition at line 733 of file pprz_algebra.h.
Referenced by imu_accel_raw_cb(), imu_gyro_raw_cb(), orientationCalcEulers_f(), orientationCalcQuat_f(), and orientationCalcRMat_f().
| #define RMAT_TRACE | ( | _rm | ) |
Definition at line 663 of file pprz_algebra.h.
Referenced by float_quat_of_rmat(), and int32_quat_of_rmat().
| #define RMAT_VECT3_MUL | ( | _vout, | |
| _rmat, | |||
| _vin ) |
Definition at line 679 of file pprz_algebra.h.
| #define RMAT_VECT3_TRANSP_MUL | ( | _vout, | |
| _rmat, | |||
| _vin ) |
Definition at line 691 of file pprz_algebra.h.
| #define SPEEDS_BFP_OF_REAL | ( | _ef, | |
| _ei ) |
Definition at line 789 of file pprz_algebra.h.
Referenced by acInfoCalcVelocityEnu_i(), ekf_run(), stateCalcHorizontalSpeedDir_i(), stateCalcSpeedEcef_i(), stateCalcSpeedEnu_i(), and stateCalcSpeedNed_i().
| #define SPEEDS_FLOAT_OF_BFP | ( | _ef, | |
| _ei ) |
Definition at line 783 of file pprz_algebra.h.
Referenced by acInfoCalcVelocityEnu_f(), stateCalcHorizontalSpeedDir_f(), stateCalcHorizontalSpeedNorm_f(), stateCalcSpeedEcef_f(), stateCalcSpeedEnu_f(), and stateCalcSpeedNed_f().
| #define SQUARE | ( | _a | ) |
Definition at line 48 of file pprz_algebra.h.
Referenced by ahrs_float_get_quat_from_accel_mag(), double_quat_norm(), float_eulers_norm(), float_quat_norm(), float_rmat_norm(), and gps_uavcan_cb().
| #define VECT2_ADD | ( | _a, | |
| _b ) |
Definition at line 74 of file pprz_algebra.h.
Referenced by gh_update_ref_from_accel_sp(), gh_update_ref_from_pos_sp(), gh_update_ref_from_speed_sp(), guidance_hybrid_groundspeed_to_airspeed(), nav_hybrid_route(), nav_survey_zamboni_run(), and utm_of_lla_d().
| #define VECT2_ASSIGN | ( | _a, | |
| _x, | |||
| _y ) |
Definition at line 62 of file pprz_algebra.h.
Referenced by ballistic_touchdown_run(), compute_points_from_bungee(), ins_int_update_gps(), nav_bungee_takeoff_run(), nav_circle(), nav_circle(), and nav_hybrid_route().
| #define VECT2_COPY | ( | _a, | |
| _b ) |
Definition at line 68 of file pprz_algebra.h.
Referenced by ahrs_fc_update_mag_2d(), dc_periodic(), gh_set_ref(), gh_update_ref_from_accel_sp(), gh_update_ref_from_pos_sp(), gh_update_ref_from_speed_sp(), guidance_h_update_reference(), guidance_hybrid_h_run_speed(), guidance_module_enter(), nav_advance_carrot(), nav_circle(), nav_circle(), nav_goto(), nav_gvf_survey_polygon_setup(), nav_hybrid_circle(), nav_hybrid_goto(), nav_run(), nav_spiral_run(), nav_spiral_setup(), nav_survey_hybrid_setup(), nav_survey_polygon_setup(), nav_survey_zamboni_setup(), reset_guidance_reference_from_current_position(), rover_guidance_steering_setpoints(), stateSetHorizontalWindspeed_f(), and stateSetHorizontalWindspeed_i().
| #define VECT2_DIFF | ( | _c, | |
| _a, | |||
| _b ) |
Definition at line 92 of file pprz_algebra.h.
Referenced by airspeed_consistency_periodic(), compute_accel_from_speed_sp(), compute_points_from_bungee(), computeOptiTrack(), dc_periodic(), gh_update_ref_from_pos_sp(), gh_update_ref_from_speed_sp(), guidance_hybrid_determine_wind_estimate(), guidance_hybrid_h_run_pos(), guidance_pid_h_run_pos(), guidance_pid_h_run_speed(), heading_towards_setpoint_WNED(), heading_towards_waypoint(), mission_point_of_lla(), nav_advance_carrot(), nav_approaching(), nav_approaching(), nav_bungee_takeoff_run(), nav_check_wp_time(), nav_check_wp_time(), nav_circle(), nav_circle(), nav_glide_points(), nav_gvf_survey_polygon_run(), nav_gvf_survey_polygon_setup(), nav_hybrid_approaching(), nav_hybrid_circle(), nav_hybrid_goto(), nav_hybrid_route(), nav_oval(), nav_oval(), nav_route(), nav_route(), nav_set_heading_towards(), nav_spiral_3D_run(), nav_spiral_run(), nav_spiral_setup(), nav_survey_disc_run(), nav_survey_polygon_run(), nav_survey_polygon_setup(), nav_survey_zamboni_setup(), reshape_wind(), rotorcraft_cam_periodic(), rover_guidance_run(), rover_guidance_steering_setpoints(), and rover_holo_guidance_run().
| #define VECT2_DOT_PRODUCT | ( | _v1, | |
| _v2 ) |
Definition at line 116 of file pprz_algebra.h.
Referenced by nav_bungee_takeoff_run(), and nav_survey_disc_run().
| #define VECT2_NORM2 | ( | _v | ) |
Definition at line 118 of file pprz_algebra.h.
Referenced by CN_escape_velocity(), CN_potential_heading(), CN_potential_velocity(), CN_vector_escape_velocity(), CN_vector_velocity(), dc_ctrl_parrot_mykonos_autoshoot(), distance_drone_to_drone(), gh_saturate_accel(), gh_saturate_speed(), gps_uavcan_cb(), hackhd_autoshoot(), and nav_set_heading_towards().
| #define VECT2_SDIV | ( | _vo, | |
| _vi, | |||
| _s ) |
Definition at line 104 of file pprz_algebra.h.
Referenced by guidance_hybrid_h_run_pos(), ins_int_update_gps(), and nav_advance_carrot().
| #define VECT2_SMUL | ( | _vo, | |
| _vi, | |||
| _s ) |
Definition at line 98 of file pprz_algebra.h.
Referenced by ballistic_touchdown_run(), compute_points_from_bungee(), gh_saturate_accel(), gh_saturate_speed(), gh_update_ref_from_accel_sp(), gh_update_ref_from_pos_sp(), gh_update_ref_from_speed_sp(), lla_of_utm_d(), mission_point_of_lla(), nav_advance_carrot(), nav_approaching(), nav_approaching(), nav_gvf_survey_polygon_setup(), nav_hybrid_approaching(), nav_hybrid_circle(), nav_hybrid_goto(), nav_hybrid_route(), nav_route(), nav_route(), nav_survey_polygon_setup(), nav_survey_zamboni_setup(), update_wp(), and utm_of_lla_d().
| #define VECT2_STRIM | ( | _v, | |
| _min, | |||
| _max ) |
Definition at line 110 of file pprz_algebra.h.
Referenced by computeOptiTrack(), guidance_pid_h_run(), guidance_pid_h_run_pos(), guidance_pid_h_run_speed(), nav_advance_carrot(), tag_tracking_compute_speed(), and update_wp().
| #define VECT2_SUB | ( | _a, | |
| _b ) |
Definition at line 80 of file pprz_algebra.h.
Referenced by lla_of_utm_d().
| #define VECT2_SUM | ( | _c, | |
| _a, | |||
| _b ) |
Definition at line 86 of file pprz_algebra.h.
Referenced by ballistic_touchdown_run(), compute_points_from_bungee(), mission_point_of_lla(), nav_advance_carrot(), nav_approaching(), nav_approaching(), nav_circle(), nav_circle(), nav_gvf_survey_polygon_run(), nav_gvf_survey_polygon_setup(), nav_hybrid_approaching(), nav_hybrid_route(), nav_route(), nav_route(), nav_survey_polygon_run(), nav_survey_polygon_setup(), and nav_survey_zamboni_setup().
| #define VECT3_ABS | ( | _vo, | |
| _vi ) |
Definition at line 238 of file pprz_algebra.h.
| #define VECT3_ADD | ( | _a, | |
| _b ) |
Definition at line 147 of file pprz_algebra.h.
Referenced by ahrs_aligner_run(), ahrs_fc_update_accel(), ahrs_icq_update_accel(), CN_vector_escape_velocity(), CN_vector_velocity(), detection_cb(), double_vect3_update_random_walk(), ecef_of_enu_point_d(), ecef_of_enu_point_i(), ecef_of_enu_pos_i(), error_output(), float_quat_vmul_right(), georeference_filter(), ins_float_invariant_propagate(), invariant_model(), jsbsimloc_to_loc(), nav_lace_run(), nav_rosette_run(), nav_spiral_3D_run(), nav_trinity_run(), nps_sensor_accel_run_step(), nps_sensor_gps_run_step(), nps_sensor_gyro_run_step(), nps_sensor_mag_run_step(), oneloop_nB_calc_nB_states(), stabilization_indi_rate_run(), update_tag_position(), update_wp(), and wind_estimator_periodic().
| #define VECT3_ADD_SCALED | ( | _a, | |
| _b, | |||
| _s ) |
Definition at line 168 of file pprz_algebra.h.
| #define VECT3_ASSIGN | ( | _a, | |
| _x, | |||
| _y, | |||
| _z ) |
Definition at line 125 of file pprz_algebra.h.
Referenced by ahrs_fc_init(), ahrs_icq_init(), ahrs_mlkf_init(), calc_fast9_lukas_kanade(), detect_gate_init(), geo_mag_cb(), georeference_init(), georeference_project(), imu_aspirin2_event(), imu_bebop_event(), imu_disco_event(), imu_init(), imu_px4_event(), imu_set_defaults_accel(), imu_set_defaults_mag(), ins_vectornav_propagate(), nav_bungee_takeoff_setup(), nav_lace_setup(), nav_rosette_setup(), nav_spiral_3D_setup(), nav_trinity_setup(), nps_fdm_init(), nps_sensor_accel_init(), nps_sensor_gps_init(), nps_sensor_gyro_init(), nps_sensor_mag_init(), quat_from_earth_cmd_f(), sensors_hitl_parse_HITL_IMU(), stabilization_attitude_euler_float_init(), stabilization_attitude_euler_int_init(), stabilization_attitude_plane_pid_init(), stabilization_attitude_quat_float_init(), tag_tracking_init(), and target_localization_init().
| #define VECT3_ASSIGN_ABS | ( | _a, | |
| _x, | |||
| _y, | |||
| _z ) |
Definition at line 133 of file pprz_algebra.h.
| #define VECT3_BOUND_BOX | ( | _v, | |
| _v_min, | |||
| _v_max ) |
Definition at line 231 of file pprz_algebra.h.
| #define VECT3_BOUND_CUBE | ( | _v, | |
| _min, | |||
| _max ) |
Definition at line 224 of file pprz_algebra.h.
Referenced by nps_sensor_accel_run_step(), nps_sensor_gyro_run_step(), and nps_sensor_mag_run_step().
| #define VECT3_COPY | ( | _a, | |
| _b ) |
Definition at line 140 of file pprz_algebra.h.
Referenced by accel_cb(), accel_cb(), accel_int_cb(), acInfoSetPositionEnu_f(), acInfoSetPositionEnu_i(), acInfoSetVelocityEnu_f(), acInfoSetVelocityEnu_i(), ahrs_fc_update_accel(), ahrs_float_invariant_update_mag(), ahrs_icq_update_accel(), CN_vector_escape_velocity(), CN_vector_velocity(), ekf_aw_wrapper_fetch(), ekf_run(), error_output(), follow_diagonal_approach(), follow_me_periodic(), georeference_filter(), get_acc(), imu_accel_raw_cb(), imu_aspirin2_event(), imu_aspirin_event(), imu_aspirin_i2c_event(), imu_feed_gyro_accel(), imu_feed_mag(), imu_mag_raw_cb(), imu_px4_event(), imu_set_defaults_accel(), imu_set_defaults_mag(), ins_float_invariant_propagate(), ins_float_invariant_update_mag(), ins_module_propagate(), invariant_model(), ltp_def_from_ecef_d(), ltp_def_from_ecef_f(), ltp_def_from_ecef_i(), mag_hmc58xx_module_event(), mag_qmc5883l_module_event(), mag_rm3100_module_event(), nav_goto(), nav_home(), nav_init(), nav_init_stage(), nav_survey_hybrid_run(), nav_survey_poly_run(), nav_survey_rectangle_rotorcraft_setup(), nps_sensor_accel_run_step(), nps_sensor_gps_run_step(), nps_sensor_gyro_run_step(), sim_overwrite_ins(), stateSetAccelBody_i(), stateSetAccelEcef_f(), stateSetAccelEcef_i(), stateSetAccelNed_f(), stateSetAccelNed_i(), stateSetPosition_f(), stateSetPosition_i(), stateSetPositionEcef_f(), stateSetPositionEcef_i(), stateSetPositionEnu_f(), stateSetPositionEnu_i(), stateSetPositionNed_f(), stateSetPositionNed_i(), stateSetSpeed_f(), stateSetSpeed_i(), stateSetSpeedEcef_f(), stateSetSpeedEcef_i(), stateSetSpeedEnu_f(), stateSetSpeedEnu_i(), stateSetSpeedNed_f(), stateSetSpeedNed_i(), and UpdateSensorLatency().
| #define VECT3_CROSS_PRODUCT | ( | _vo, | |
| _v1, | |||
| _v2 ) |
Definition at line 244 of file pprz_algebra.h.
Referenced by ahrs_fc_update_accel(), ahrs_fc_update_mag_full(), ahrs_icq_update_accel(), ahrs_icq_update_mag_full(), error_output(), error_output(), float_quat_tilt_twist(), float_quat_vmul_right(), float_rmat_reorthogonalize(), quat_from_earth_cmd_f(), and rotwing_state_choose_circle_direction().
| #define VECT3_DIFF | ( | _c, | |
| _a, | |||
| _b ) |
Definition at line 182 of file pprz_algebra.h.
Referenced by ahrs_fc_update_accel(), ahrs_icq_update_accel(), cam_gimbal_target(), distance_drone_to_drone(), enu_of_ecef_point_d(), enu_of_ecef_point_f(), enu_of_ecef_point_i(), error_output(), error_output(), float_vect3_norm_two_points(), follow_diagonal_approach(), follow_me_periodic(), guidance_indi_run(), init_jsbsim(), rotwing_state_choose_circle_direction(), scout_detector_sim(), update_state(), update_state_heading(), and viewing_angle().
| #define VECT3_DOT_PRODUCT | ( | _v1, | |
| _v2 ) |
Definition at line 250 of file pprz_algebra.h.
Referenced by error_output(), float_quat_vmul_right(), float_rmat_reorthogonalize(), quat_from_earth_cmd_f(), and rotwing_state_choose_circle_direction().
| #define VECT3_EW_DIV | ( | _vo, | |
| _va, | |||
| _vb ) |
Definition at line 210 of file pprz_algebra.h.
| #define VECT3_EW_MUL | ( | _vo, | |
| _va, | |||
| _vb ) |
Definition at line 217 of file pprz_algebra.h.
Referenced by nps_sensor_accel_run_step(), and nps_sensor_gyro_run_step().
| #define VECT3_NORM2 | ( | _v | ) |
Definition at line 252 of file pprz_algebra.h.
Referenced by double_vect3_norm(), float_rmat_reorthogonalize(), follow_diagonal_approach(), get_world_position_from_image_points(), and gps_uavcan_cb().
| #define VECT3_RATES_CROSS_VECT3 | ( | _vo, | |
| _r1, | |||
| _v2 ) |
Definition at line 254 of file pprz_algebra.h.
Referenced by ahrs_fc_update_accel(), and ahrs_icq_update_accel().
| #define VECT3_SDIV | ( | _vo, | |
| _vi, | |||
| _s ) |
Definition at line 196 of file pprz_algebra.h.
Referenced by ahrs_aligner_run(), ahrs_fc_update_accel(), ahrs_icq_update_accel(), ahrs_madgwick_propagate(), enu_of_ecef_pos_i(), georeference_filter(), and get_world_position_from_image_points().
| #define VECT3_SMUL | ( | _vo, | |
| _vi, | |||
| _s ) |
Definition at line 189 of file pprz_algebra.h.
Referenced by ahrs_fc_update_accel(), ahrs_icq_update_accel(), CN_vector_escape_velocity(), CN_vector_velocity(), double_vect3_update_random_walk(), ecef_of_enu_pos_i(), error_output(), error_output(), float_quat_vmul_right(), follow_diagonal_approach(), georeference_filter(), ins_float_invariant_propagate(), invariant_model(), and mission_point_of_lla().
| #define VECT3_STRIM | ( | _v, | |
| _min, | |||
| _max ) |
Definition at line 203 of file pprz_algebra.h.
| #define VECT3_SUB | ( | _a, | |
| _b ) |
Definition at line 154 of file pprz_algebra.h.
Referenced by cam_gimbal_target(), georeference_filter(), ins_int_update_gps(), and oneloop_nB_calc_nB_states().
| #define VECT3_SUM | ( | _c, | |
| _a, | |||
| _b ) |
Definition at line 161 of file pprz_algebra.h.
Referenced by follow_diagonal_approach(), get_world_position_from_image_points(), and invariant_model().
| #define VECT3_SUM_SCALED | ( | _c, | |
| _a, | |||
| _b, | |||
| _s ) |
Definition at line 175 of file pprz_algebra.h.
Referenced by detection_cb(), and float_rmat_reorthogonalize().
| #define VECT3_VECT3_TRANS_MUL | ( | _mat, | |
| _v_a, | |||
| _v_b ) |
Definition at line 521 of file pprz_algebra.h.
Referenced by get_world_position_from_image_points().