Public Member Functions | Public Attributes

AP_IMU Class Reference

#include <AP_IMU.h>

Collaboration diagram for AP_IMU:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 AP_IMU (AP_ADC *adc, uint16_t address)
void init (void)
void init_accel (void)
void init_gyro (void)
void zero_accel (void)
void load_gyro_eeprom (void)
void save_gyro_eeprom (void)
void load_accel_eeprom (void)
void save_accel_eeprom (void)
void print_accel_offsets (void)
void print_gyro_offsets (void)
void ax (const int v)
void ay (const int v)
void az (const int v)
Vector3f get_gyro (void)
Vector3f get_accel (void)

Public Attributes

uint8_t adc_constraints

Detailed Description

Definition at line 12 of file AP_IMU.h.


Constructor & Destructor Documentation

AP_IMU::AP_IMU ( AP_ADC adc,
uint16_t  address 
) [inline]

Definition at line 17 of file AP_IMU.h.


Member Function Documentation

void AP_IMU::ax ( const int  v  )  [inline]

Definition at line 35 of file AP_IMU.h.

void AP_IMU::ay ( const int  v  )  [inline]

Definition at line 36 of file AP_IMU.h.

void AP_IMU::az ( const int  v  )  [inline]

Definition at line 37 of file AP_IMU.h.

Vector3f AP_IMU::get_accel ( void   ) 

Definition at line 222 of file AP_IMU.cpp.

Vector3f AP_IMU::get_gyro ( void   ) 

Definition at line 195 of file AP_IMU.cpp.

void AP_IMU::init ( void   ) 

Definition at line 58 of file AP_IMU.cpp.

void AP_IMU::init_accel ( void   ) 

Definition at line 124 of file AP_IMU.cpp.

void AP_IMU::init_gyro ( void   ) 

Definition at line 67 of file AP_IMU.cpp.

void AP_IMU::load_accel_eeprom ( void   ) 

Definition at line 267 of file AP_IMU.cpp.

void AP_IMU::load_gyro_eeprom ( void   ) 

Definition at line 249 of file AP_IMU.cpp.

void AP_IMU::print_accel_offsets ( void   ) 

Definition at line 283 of file AP_IMU.cpp.

void AP_IMU::print_gyro_offsets ( void   ) 

Definition at line 294 of file AP_IMU.cpp.

void AP_IMU::save_accel_eeprom ( void   ) 

Definition at line 275 of file AP_IMU.cpp.

void AP_IMU::save_gyro_eeprom ( void   ) 

Definition at line 257 of file AP_IMU.cpp.

void AP_IMU::zero_accel ( void   ) 

Definition at line 175 of file AP_IMU.cpp.


Member Data Documentation

Definition at line 45 of file AP_IMU.h.


The documentation for this class was generated from the following files: