|
|
|
@ -9,7 +9,7 @@ MAV_RESULT Copter::mavlink_compassmot(mavlink_channel_t chan)
@@ -9,7 +9,7 @@ MAV_RESULT Copter::mavlink_compassmot(mavlink_channel_t chan)
|
|
|
|
|
{ |
|
|
|
|
#if FRAME_CONFIG == HELI_FRAME |
|
|
|
|
// compassmot not implemented for tradheli
|
|
|
|
|
return MAV_RESULT_TEMPORARILY_REJECTED; |
|
|
|
|
return MAV_RESULT_UNSUPPORTED; |
|
|
|
|
#else |
|
|
|
|
int8_t comp_type; // throttle or current based compensation
|
|
|
|
|
Vector3f compass_base[COMPASS_MAX_INSTANCES]; // compass vector when throttle is zero
|
|
|
|
|