You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
916 B
26 lines
916 B
|
|
#include "AP_InertialSensor_Stub.h" |
|
|
|
void AP_InertialSensor_Stub::init( AP_PeriodicProcess * scheduler ) {} |
|
|
|
/*================ AP_INERTIALSENSOR PUBLIC INTERFACE ==================== */ |
|
|
|
bool AP_InertialSensor_Stub::update( 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; } |
|
|
|
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; } |
|
|
|
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() {}
|
|
|