APM:Libraries
|
Go to the source code of this file.
Macros | |
#define | COMPASS_CAL_SAMPLE_SCALE_TO_FIXED(__X) ((int16_t)constrain_float(roundf(__X*8.0f), INT16_MIN, INT16_MAX)) |
#define | COMPASS_CAL_SAMPLE_SCALE_TO_FLOAT(__X) (__X/8.0f) |
Variables | |
const AP_HAL::HAL & | hal |
#define COMPASS_CAL_SAMPLE_SCALE_TO_FIXED | ( | __X | ) | ((int16_t)constrain_float(roundf(__X*8.0f), INT16_MIN, INT16_MAX)) |
Definition at line 685 of file CompassCalibrator.cpp.
Referenced by CompassCalibrator::CompassSample::set().
#define COMPASS_CAL_SAMPLE_SCALE_TO_FLOAT | ( | __X | ) | (__X/8.0f) |
Definition at line 686 of file CompassCalibrator.cpp.
Referenced by CompassCalibrator::CompassSample::get().
const AP_HAL::HAL& hal |
Definition at line 14 of file AC_PID_test.cpp.