mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
uncrustify libraries/AP_InertialSensor/AP_InertialSensor_Stub.cpp
This commit is contained in:
parent
78f95e5cce
commit
a946ed762b
@ -3,29 +3,55 @@
|
||||
#include "AP_InertialSensor_Stub.h"
|
||||
|
||||
uint16_t AP_InertialSensor_Stub::init( AP_PeriodicProcess * scheduler ) {
|
||||
return AP_PRODUCT_ID_NONE;
|
||||
return AP_PRODUCT_ID_NONE;
|
||||
}
|
||||
|
||||
/*================ AP_INERTIALSENSOR PUBLIC INTERFACE ==================== */
|
||||
|
||||
bool AP_InertialSensor_Stub::update( void ) { return true; }
|
||||
bool AP_InertialSensor_Stub::new_data_available( void ) { return true; }
|
||||
bool AP_InertialSensor_Stub::update( void ) {
|
||||
return true;
|
||||
}
|
||||
bool AP_InertialSensor_Stub::new_data_available( void ) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
float AP_InertialSensor_Stub::gx() { return 0.0f; }
|
||||
float AP_InertialSensor_Stub::gy() { return 0.0f; }
|
||||
float AP_InertialSensor_Stub::gz() { return 0.0f; }
|
||||
float AP_InertialSensor_Stub::gx() {
|
||||
return 0.0f;
|
||||
}
|
||||
float AP_InertialSensor_Stub::gy() {
|
||||
return 0.0f;
|
||||
}
|
||||
float AP_InertialSensor_Stub::gz() {
|
||||
return 0.0f;
|
||||
}
|
||||
|
||||
void AP_InertialSensor_Stub::get_gyros( float * g ) { }
|
||||
void AP_InertialSensor_Stub::get_gyros( float * g ) {
|
||||
}
|
||||
|
||||
float AP_InertialSensor_Stub::ax() { return 0.0f; }
|
||||
float AP_InertialSensor_Stub::ay() { return 0.0f; }
|
||||
float AP_InertialSensor_Stub::az() { return 0.0f; }
|
||||
float AP_InertialSensor_Stub::ax() {
|
||||
return 0.0f;
|
||||
}
|
||||
float AP_InertialSensor_Stub::ay() {
|
||||
return 0.0f;
|
||||
}
|
||||
float AP_InertialSensor_Stub::az() {
|
||||
return 0.0f;
|
||||
}
|
||||
|
||||
void AP_InertialSensor_Stub::get_accels( float * a ) {}
|
||||
void AP_InertialSensor_Stub::get_sensors( float * sensors ) {}
|
||||
void AP_InertialSensor_Stub::get_accels( float * a ) {
|
||||
}
|
||||
void AP_InertialSensor_Stub::get_sensors( float * sensors ) {
|
||||
}
|
||||
|
||||
float AP_InertialSensor_Stub::temperature() { return 0.0; }
|
||||
uint32_t AP_InertialSensor_Stub::sample_time() { return 0; }
|
||||
void AP_InertialSensor_Stub::reset_sample_time() {}
|
||||
float AP_InertialSensor_Stub::get_gyro_drift_rate(void) { return 0.0; }
|
||||
float AP_InertialSensor_Stub::temperature() {
|
||||
return 0.0;
|
||||
}
|
||||
uint32_t AP_InertialSensor_Stub::sample_time() {
|
||||
return 0;
|
||||
}
|
||||
void AP_InertialSensor_Stub::reset_sample_time() {
|
||||
}
|
||||
float AP_InertialSensor_Stub::get_gyro_drift_rate(void) {
|
||||
return 0.0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user