Lines Matching refs:range
184 * @brief apply the choosen orientation and full scale range
233 RANGE_FIXEDPOINT_TO_FLOAT(mldl_cfg->accel->range, accelScale);
244 RANGE_FIXEDPOINT_TO_FLOAT(mldl_cfg->compass->range, magScale);
343 inv_obj.compass_sens = 322122560L; // Should only change when the sensor full-scale range (FSR) is changed.
759 * @param[in] range
760 * The range of the accelerometers in g's. An accelerometer
761 * that has a range of +2g's to -2g's should pass in 2.
771 inv_error_t inv_set_accel_calibration(float range, signed char *orientation)
775 float scale = range / 32768.f;
905 * @param[in] range
906 * The range of the gyros in degrees per second. A gyro
907 * that has a range of +2000 dps to -2000 dps should pass in
917 inv_error_t inv_set_gyro_calibration(float range, signed char *orientation)
937 /* adjust the declared range to consider the gyro_sens_trim
939 range *= (32768.f / 250) / mldl_cfg->gyro_sens_trim;
942 scale = range / 32768.f; // inverse of sensitivity for the given full scale range
943 inv_obj.gyro_sens = (long)(range * 32768L);
1053 * @param[in] range
1054 * The range of the compass.
1065 inv_error_t inv_set_compass_calibration(float range
1069 float scale = range / 32768.f;