Zephyr Scientific Library (zscilib)
|
API header file for attitude and AHRS in zscilib. More...
Go to the source code of this file.
Data Structures | |
struct | zsl_attitude |
Represents the orientation of a rigid body with respect to the world frame in terms of roll, pitch and yaw (heading), expressed in degrees. More... | |
Functions | |
int | zsl_att_to_vec (struct zsl_attitude *a, struct zsl_vec *v) |
Takes the values in the supplied zsl_attitude, and assigns the same memory address to a zsl_vec, allowing for vector functions to be used on the zsl_attitude values. More... | |
int | zsl_att_to_euler (struct zsl_attitude *a, struct zsl_euler *e) |
Converts the input zsl_attitude, expessed in degrees, to it's equivalent in radians in the output zsl_euler. More... | |
int | zsl_att_from_euler (struct zsl_euler *e, struct zsl_attitude *a) |
Converts the input zsl_euler, expessed in radians, to it's equivalent in degrees in the output zsl_attitude. More... | |
int | zsl_att_from_accelmag (struct zsl_vec *accel, struct zsl_vec *mag, struct zsl_attitude *a) |
Converts a three-axis accelerometer (in m/s^2) and a three-axis magnetometer sample (in micro-Tesla) to attitude. More... | |
int | zsl_att_from_accel (struct zsl_vec *accel, struct zsl_attitude *a) |
Converts a three-axis accelerometer sample (in m/s^2) to roll and pitch. More... | |
int | zsl_att_accel_angle (struct zsl_vec *a1, struct zsl_vec *a2, zsl_real_t *b) |
Calculates the angle between two accelerometers. More... | |
API header file for attitude and AHRS in zscilib.
This file contains the zscilib AHRS APIs.
Definition in file ahrs.h.