129 output = powf(output,
expo);
136 for (uint8_t i=0; i<4; i++) {
146 for (uint8_t i=0; i<4; i++) {
161 for (uint8_t i=0; i<4; i++) {
187 for (uint8_t i=0; i<4; i++) {
223 for (uint8_t i=0; i<4; i++) {
228 offset += c * output;
Compass_PerMotor(Compass &_compass)
void calibration_end(void)
AP_Vector3f compensation[4]
#define AP_PARAM_FLAG_ENABLE
Interface definition for the various Ground Control System.
void calibration_update(void)
#define AP_GROUPINFO(name, idx, clazz, element, def)
virtual uint16_t read_last_sent(uint8_t ch)
static bool find_channel(SRV_Channel::Aux_servo_function_t function, uint8_t &chan)
const Vector3f & get_field(uint8_t i) const
Return the current field as a Vector3f in milligauss.
virtual void delay(uint16_t ms)=0
#define AP_GROUPINFO_FLAGS(name, idx, clazz, element, def, flags)
these allow remapping of copter motors
float scaled_output(uint8_t motor)
void calibration_start(void)
virtual float scale_esc_to_unity(uint16_t pwm)
void compensate(Vector3f &offset)
AP_HAL::Scheduler * scheduler
static void setup_object_defaults(const void *object_pointer, const struct GroupInfo *group_info)
static const struct AP_Param::GroupInfo var_info[]