C MIP-SDK
Data Structures | Defines | Typedefs | Functions
mip_sdk_ahrs.h File Reference
#include "mip.h"
#include "mip_sdk_interface.h"

Go to the source code of this file.

Data Structures

struct  _mip_ahrs_raw_accel
struct  _mip_ahrs_raw_gyro
struct  _mip_ahrs_raw_mag
struct  _mip_ahrs_scaled_accel
struct  _mip_ahrs_scaled_gyro
struct  _mip_ahrs_scaled_mag
struct  _ahrs_scaled_pressure_mip_field
struct  _mip_ahrs_delta_theta
struct  _mip_ahrs_delta_velocity
struct  _mip_ahrs_orientation_matrix
struct  _mip_ahrs_quaternion
struct  _mip_ahrs_euler_angles
struct  _mip_ahrs_orientation_update_matrix
struct  _mip_ahrs_raw_temp
struct  _mip_ahrs_internal_timestamp
struct  _mip_ahrs_1pps_timestamp
struct  _mip_ahrs_gps_timestamp
struct  _mip_ahrs_up_vector
struct  _mip_ahrs_north_vector
struct  _mip_ahrs_signal_settings
struct  _mip_complementary_filter_settings
struct  _mip_low_pass_filter_settings

Defines

#define MIP_AHRS_DATA_SET   0x80
#define MIP_AHRS_DATA_ACCEL_RAW   0x01
#define MIP_AHRS_DATA_GYRO_RAW   0x02
#define MIP_AHRS_DATA_MAG_RAW   0x03
#define MIP_AHRS_DATA_ACCEL_SCALED   0x04
#define MIP_AHRS_DATA_GYRO_SCALED   0x05
#define MIP_AHRS_DATA_MAG_SCALED   0x06
#define MIP_AHRS_DATA_DELTA_THETA   0x07
#define MIP_AHRS_DATA_DELTA_VELOCITY   0x08
#define MIP_AHRS_DATA_ORIENTATION_MATRIX   0x09
#define MIP_AHRS_DATA_QUATERNION   0x0A
#define MIP_AHRS_DATA_ORIENTATION_UPDATE_MATRIX   0x0B
#define MIP_AHRS_DATA_EULER_ANGLES   0x0C
#define MIP_AHRS_DATA_TEMPERATURE_RAW   0x0D
#define MIP_AHRS_DATA_TIME_STAMP_INTERNAL   0x0E
#define MIP_AHRS_DATA_TIME_STAMP_PPS   0x0F
#define MIP_AHRS_DATA_STAB_MAG   0x10
#define MIP_AHRS_DATA_STAB_ACCEL   0x11
#define MIP_AHRS_DATA_TIME_STAMP_GPS   0x12
#define MIP_AHRS_DATA_PRESSURE_SCALED   0x17
#define MIP_AHRS_DATA_ASPP   0x81
#define MIP_AHRS_DATA_GXSB   0x82

Typedefs

typedef struct _mip_ahrs_raw_accel mip_ahrs_raw_accel
typedef struct _mip_ahrs_raw_gyro mip_ahrs_raw_gyro
typedef struct _mip_ahrs_raw_mag mip_ahrs_raw_mag
typedef struct
_mip_ahrs_scaled_accel 
mip_ahrs_scaled_accel
typedef struct
_mip_ahrs_scaled_gyro 
mip_ahrs_scaled_gyro
typedef struct _mip_ahrs_scaled_mag mip_ahrs_scaled_mag
typedef struct
_ahrs_scaled_pressure_mip_field 
ahrs_scaled_pressure_mip_field
typedef struct
_mip_ahrs_delta_theta 
mip_ahrs_delta_theta
typedef struct
_mip_ahrs_delta_velocity 
mip_ahrs_delta_velocity
typedef struct
_mip_ahrs_orientation_matrix 
mip_ahrs_orientation_matrix
typedef struct _mip_ahrs_quaternion mip_ahrs_quaternion
typedef struct
_mip_ahrs_euler_angles 
mip_ahrs_euler_angles
typedef struct
_mip_ahrs_orientation_update_matrix 
mip_ahrs_orientation_update_matrix
typedef struct _mip_ahrs_raw_temp mip_ahrs_raw_temp
typedef struct
_mip_ahrs_internal_timestamp 
mip_ahrs_internal_timestamp
typedef struct
_mip_ahrs_1pps_timestamp 
mip_ahrs_1pps_timestamp
typedef struct
_mip_ahrs_gps_timestamp 
mip_ahrs_gps_timestamp
typedef struct _mip_ahrs_up_vector mip_ahrs_up_vector
typedef struct
_mip_ahrs_north_vector 
mip_ahrs_north_vector
typedef struct
_mip_ahrs_signal_settings 
mip_ahrs_signal_settings
typedef struct
_mip_complementary_filter_settings 
mip_complementary_filter_settings
typedef struct
_mip_low_pass_filter_settings 
mip_low_pass_filter_settings

Functions

void mip_ahrs_raw_accel_byteswap (mip_ahrs_raw_accel *raw_accel)
void mip_ahrs_raw_gyro_byteswap (mip_ahrs_raw_gyro *raw_gyro)
void mip_ahrs_raw_mag_byteswap (mip_ahrs_raw_mag *raw_mag)
void mip_ahrs_scaled_accel_byteswap (mip_ahrs_scaled_accel *scaled_accel)
void mip_ahrs_scaled_gyro_byteswap (mip_ahrs_scaled_gyro *scaled_gyro)
void mip_ahrs_scaled_mag_byteswap (mip_ahrs_scaled_mag *scaled_mag)
void mip_ahrs_delta_theta_byteswap (mip_ahrs_delta_theta *delta_theta)
void mip_ahrs_delta_velocity_byteswap (mip_ahrs_delta_velocity *delta_velocity)
void mip_ahrs_orientation_matrix_byteswap (mip_ahrs_orientation_matrix *orientation_matrix)
void mip_ahrs_quaternion_byteswap (mip_ahrs_quaternion *quaternion)
void mip_ahrs_euler_angles_byteswap (mip_ahrs_euler_angles *euler_angles)
void mip_ahrs_orientation_update_matrix_byteswap (mip_ahrs_orientation_update_matrix *orientation_update_matrix)
void mip_ahrs_raw_temp_byteswap (mip_ahrs_raw_temp *raw_temp)
void mip_ahrs_internal_timestamp_byteswap (mip_ahrs_internal_timestamp *internal_timestamp)
void mip_ahrs_1pps_timestamp_byteswap (mip_ahrs_1pps_timestamp *pps_timestamp)
void mip_ahrs_gps_timestamp_byteswap (mip_ahrs_gps_timestamp *gps_timestamp)
void mip_ahrs_up_vector_byteswap (mip_ahrs_up_vector *up_vector)
void mip_ahrs_north_vector_byteswap (mip_ahrs_north_vector *north_vector)
void mip_ahrs_signal_settings_byteswap (mip_ahrs_signal_settings *signal_settings)

Detailed Description

Author:
Nathan Miller
Version:
1.1

Function Documentation

void mip_ahrs_1pps_timestamp_byteswap ( mip_ahrs_1pps_timestamp pps_timestamp)

DESCRIPTION

Byteswap an AHRS 1PPS Timestamp Structure.

DETAILS

Parameters:
[in]mip_ahrs_1pps_timestamp*pps_timestamp - The structure to be byteswapped.

NOTES

None

void mip_ahrs_delta_theta_byteswap ( mip_ahrs_delta_theta delta_theta)

DESCRIPTION

Byteswap an AHRS Delta Theta Structure.

DETAILS

Parameters:
[in]mip_ahrs_delta_theta*delta_theta - The structure to be byteswapped.

NOTES

None

void mip_ahrs_delta_velocity_byteswap ( mip_ahrs_delta_velocity delta_velocity)

DESCRIPTION

Byteswap an AHRS Delta Velocity Structure.

DETAILS

Parameters:
[in]mip_ahrs_delta_velocity*delta_velocity - The structure to be byteswapped.

NOTES

None

void mip_ahrs_euler_angles_byteswap ( mip_ahrs_euler_angles euler_angles)

DESCRIPTION

Byteswap an AHRS Euler Angle Structure.

DETAILS

Parameters:
[in]mip_ahrs_euler_angles*euler_angles - The structure to be byteswapped.

NOTES

None

void mip_ahrs_gps_timestamp_byteswap ( mip_ahrs_gps_timestamp gps_timestamp)

DESCRIPTION

Byteswap an AHRS GPS Timestamp Structure.

DETAILS

Parameters:
[in]mip_ahrs_gps_timestamp*gps_timestamp - The structure to be byteswapped.

NOTES

None

void mip_ahrs_internal_timestamp_byteswap ( mip_ahrs_internal_timestamp internal_timestamp)

DESCRIPTION

Byteswap an AHRS Internal Timestamp Structure.

DETAILS

Parameters:
[in]mip_ahrs_internal_timestamp*internal_timestamp - The structure to be byteswapped.

NOTES

None

void mip_ahrs_north_vector_byteswap ( mip_ahrs_north_vector north_vector)

DESCRIPTION

Byteswap an AHRS North Vector Structure.

DETAILS

Parameters:
[in]mip_ahrs_north_vector*north_vector - The structure to be byteswapped.

NOTES

None

void mip_ahrs_orientation_matrix_byteswap ( mip_ahrs_orientation_matrix orientation_matrix)

DESCRIPTION

Byteswap an AHRS Orientation Matrix Structure.

DETAILS

Parameters:
[in]mip_ahrs_orientation_matrix*orientation_matrix - The structure to be byteswapped.

NOTES

None

void mip_ahrs_orientation_update_matrix_byteswap ( mip_ahrs_orientation_update_matrix orientation_update_matrix)

DESCRIPTION

Byteswap an AHRS Orientation Update Matrix Structure.

DETAILS

Parameters:
[in]mip_ahrs_orientation_update_matrix*orientation_update_matrix - The structure to be byteswapped.

NOTES

None

void mip_ahrs_quaternion_byteswap ( mip_ahrs_quaternion quaternion)

DESCRIPTION

Byteswap an AHRS Quaternion Structure.

DETAILS

Parameters:
[in]mip_ahrs_quaternion*quaternion - The structure to be byteswapped.

NOTES

None

void mip_ahrs_raw_accel_byteswap ( mip_ahrs_raw_accel raw_accel)

DESCRIPTION

Byteswap an AHRS Raw Accel Structure.

DETAILS

Parameters:
[in]mip_ahrs_raw_accel*raw_accel - The structure to be byteswapped.

NOTES

None

void mip_ahrs_raw_gyro_byteswap ( mip_ahrs_raw_gyro raw_gyro)

DESCRIPTION

Byteswap an AHRS Raw Gyro Structure.

DETAILS

Parameters:
[in]mip_ahrs_raw_gyro*raw_gyro - The structure to be byteswapped.

NOTES

None

void mip_ahrs_raw_mag_byteswap ( mip_ahrs_raw_mag raw_mag)

DESCRIPTION

Byteswap an AHRS Raw Mag Structure.

DETAILS

Parameters:
[in]mip_ahrs_raw_mag*raw_mag - The structure to be byteswapped.

NOTES

None

void mip_ahrs_raw_temp_byteswap ( mip_ahrs_raw_temp raw_temp)

DESCRIPTION

Byteswap an AHRS Raw Temp Structure.

DETAILS

Parameters:
[in]mip_ahrs_raw_temp*raw_temp - The structure to be byteswapped.

NOTES

None

void mip_ahrs_scaled_accel_byteswap ( mip_ahrs_scaled_accel scaled_accel)

DESCRIPTION

Byteswap an AHRS Scaled Accel Structure.

DETAILS

Parameters:
[in]mip_ahrs_scaled_accel*scaled_accel - The structure to be byteswapped.

NOTES

None

void mip_ahrs_scaled_gyro_byteswap ( mip_ahrs_scaled_gyro scaled_gyro)

DESCRIPTION

Byteswap an AHRS Scaled Gyro Structure.

DETAILS

Parameters:
[in]mip_ahrs_scaled_gyro*scaled_gyro - The structure to be byteswapped.

NOTES

None

void mip_ahrs_scaled_mag_byteswap ( mip_ahrs_scaled_mag scaled_mag)

DESCRIPTION

Byteswap an AHRS Scaled Mag Structure.

DETAILS

Parameters:
[in]mip_ahrs_scaled_mag*scaled_mag - The structure to be byteswapped.

NOTES

None

void mip_ahrs_signal_settings_byteswap ( mip_ahrs_signal_settings signal_settings)

DESCRIPTION

Byteswap an AHRS signal conditioning Structure.

DETAILS

Parameters:
[in]mip_ahrs_signal_settings*signal_settings - The structure to be byteswapped.

NOTES

None

void mip_ahrs_up_vector_byteswap ( mip_ahrs_up_vector up_vector)

DESCRIPTION

Byteswap an AHRS Up Vector Structure.

DETAILS

Parameters:
[in]mip_ahrs_up_vector*up_vector - The structure to be byteswapped.

NOTES

None

 All Data Structures Files Functions Defines