|
|
|
@ -359,17 +359,6 @@ bool GCS_MAVLINK_Copter::try_send_message(enum ap_message id)
@@ -359,17 +359,6 @@ bool GCS_MAVLINK_Copter::try_send_message(enum ap_message id)
|
|
|
|
|
send_sensor_offsets(copter.ins, copter.compass); |
|
|
|
|
break; |
|
|
|
|
|
|
|
|
|
case MSG_RANGEFINDER: |
|
|
|
|
#if RANGEFINDER_ENABLED == ENABLED |
|
|
|
|
CHECK_PAYLOAD_SIZE(RANGEFINDER); |
|
|
|
|
send_rangefinder_downward(copter.rangefinder); |
|
|
|
|
send_distance_sensor(copter.rangefinder); |
|
|
|
|
#endif |
|
|
|
|
#if PROXIMITY_ENABLED == ENABLED |
|
|
|
|
send_proximity(copter.g2.proximity); |
|
|
|
|
#endif |
|
|
|
|
break; |
|
|
|
|
|
|
|
|
|
case MSG_RPM: |
|
|
|
|
#if RPM_ENABLED == ENABLED |
|
|
|
|
CHECK_PAYLOAD_SIZE(RPM); |
|
|
|
|