![]() |
Larus glider flight sensor system 3.9.2024
Software-In-The-Loop test and validation system
|
Attitude and heading reference system. More...
#include <AHRS.h>
| void AHRS_type::attitude_setup | ( | const float3vector & | acceleration, |
| const float3vector & | induction | ||
| ) |
initial attitude setup from observables
Definition at line 41 of file AHRS.cpp.
References compass_calibration_t< sample_type, evaluation_type >::available(), compass_calibration_t< sample_type, evaluation_type >::calibrate(), quaternion< datatype >::from_rotation_matrix(), quaternion< datatype >::get_rotation_matrix(), vector< datatype, size >::negate(), vector< datatype, size >::normalize(), and vector< datatype, size >::vector_multiply().
Referenced by navigator_t::set_from_add_mag().
|
inline |
Definition at line 82 of file AHRS.h.
Referenced by navigator_t::report_data().
|
inline |
Definition at line 122 of file AHRS.h.
Referenced by wind_oberserver_t::process_at_10_Hz().
|
inline |
Definition at line 134 of file AHRS.h.
Referenced by wind_oberserver_t::process_at_10_Hz(), navigator_t::report_data(), and navigator_t::update_at_10Hz().
Definition at line 102 of file AHRS.h.
References quaternion< datatype >::get_down().
Referenced by get_orientation(), and navigator_t::update_at_100Hz().
Definition at line 98 of file AHRS.h.
References quaternion< datatype >::get_east().
Referenced by get_orientation(), and navigator_t::update_at_100Hz().
|
inline |
Definition at line 78 of file AHRS.h.
Referenced by wind_oberserver_t::process_at_10_Hz(), navigator_t::report_data(), and navigator_t::update_at_10Hz().
Definition at line 155 of file AHRS.h.
References pt2< datatype, basetype >::get_output().
Referenced by navigator_t::report_data().
|
inline |
|
inline |
Definition at line 118 of file AHRS.h.
Referenced by navigator_t::report_data().
|
inline |
Definition at line 86 of file AHRS.h.
Referenced by navigator_t::report_data(), and navigator_t::update_at_100Hz().
|
inline |
Definition at line 126 of file AHRS.h.
Referenced by navigator_t::report_data().
|
inline |
Definition at line 90 of file AHRS.h.
Referenced by navigator_t::report_data().
Definition at line 94 of file AHRS.h.
References quaternion< datatype >::get_north().
Referenced by get_orientation(), and navigator_t::update_at_100Hz().
|
inline |
Definition at line 110 of file AHRS.h.
References DOWN, EAST, get_down(), get_east(), get_north(), and NORTH.
Definition at line 151 of file AHRS.h.
References pt2< datatype, basetype >::get_output().
Referenced by navigator_t::report_data().
|
inline |
Definition at line 184 of file AHRS.h.
Referenced by navigator_t::report_data().
|
inline |
Definition at line 179 of file AHRS.h.
Referenced by navigator_t::report_data().
|
inline |
Definition at line 189 of file AHRS.h.
Referenced by navigator_t::report_data().
|
inline |
Definition at line 169 of file AHRS.h.
Referenced by navigator_t::report_data().
|
inline |
Definition at line 174 of file AHRS.h.
Referenced by navigator_t::report_data().
|
inline |
Definition at line 146 of file AHRS.h.
References pt2< datatype, basetype >::get_output().
Referenced by navigator_t::report_data().
|
inline |
Definition at line 140 of file AHRS.h.
References pt2< datatype, basetype >::get_output().
Referenced by navigator_t::report_data().
Definition at line 72 of file AHRS.h.
References quaternion< datatype >::from_euler(), and quaternion< datatype >::get_rotation_matrix().
Referenced by navigator_t::set_attitude(), and navigator_t::set_from_euler().
| void AHRS_type::update | ( | const float3vector & | gyro, |
| const float3vector & | acc, | ||
| const float3vector & | mag, | ||
| const float3vector & | GNSS_acceleration, | ||
| float | GNSS_heading, | ||
| bool | GNSS_heading_valid | ||
| ) |
Definition at line 168 of file AHRS.cpp.
References update_compass().
Referenced by navigator_t::update_at_100Hz().
| void AHRS_type::update_ACC_only | ( | const float3vector & | gyro, |
| const float3vector & | acc, | ||
| const float3vector & | mag, | ||
| const float3vector & | GNSS_acceleration | ||
| ) |
rotate quaternion taking angular rate readings
update attitude from IMU data NOT using magnetometer of D-GNSS
Definition at line 387 of file AHRS.cpp.
References compass_calibration_t< sample_type, evaluation_type >::available(), compass_calibrator_3D::available(), compass_calibration_t< sample_type, evaluation_type >::calibrate(), compass_calibrator_3D::calibrate(), CROSS_GAIN, DOWN, EAST, I_GAIN, NORTH, P_GAIN, matrix< datatype, size >::reverse_map(), and STRAIGHT_FLIGHT.
| void AHRS_type::update_compass | ( | const float3vector & | gyro, |
| const float3vector & | acc, | ||
| const float3vector & | mag, | ||
| const float3vector & | GNSS_acceleration | ||
| ) |
rotate quaternion taking angular rate readings
update attitude from IMU data and magnetometer
Definition at line 303 of file AHRS.cpp.
References vector< datatype, size >::abs(), compass_calibration_t< sample_type, evaluation_type >::available(), compass_calibrator_3D::available(), compass_calibration_t< sample_type, evaluation_type >::calibrate(), compass_calibrator_3D::calibrate(), CIRCLING, CROSS_GAIN, DOWN, EAST, I_GAIN, M_H_GAIN, NAV_CORRECTION_LIMIT, nav_induction, NORTH, P_GAIN, matrix< datatype, size >::reverse_map(), SQR, STRAIGHT_FLIGHT, and TRANSITION.
Referenced by update().
Definition at line 429 of file AHRS.cpp.
References lock_EEPROM(), and compass_calibration_t< sample_type, evaluation_type >::write_into_EEPROM().
Referenced by navigator_t::update_at_10Hz().