|
|
|
@ -310,19 +310,6 @@ void Plane::send_wind(mavlink_channel_t chan)
@@ -310,19 +310,6 @@ void Plane::send_wind(mavlink_channel_t chan)
|
|
|
|
|
wind.z); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
send RPM packet |
|
|
|
|
*/ |
|
|
|
|
void NOINLINE Plane::send_rpm(mavlink_channel_t chan) |
|
|
|
|
{ |
|
|
|
|
if (rpm_sensor.enabled(0) || rpm_sensor.enabled(1)) { |
|
|
|
|
mavlink_msg_rpm_send( |
|
|
|
|
chan, |
|
|
|
|
rpm_sensor.get_rpm(0), |
|
|
|
|
rpm_sensor.get_rpm(1)); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// sends a single pid info over the provided channel
|
|
|
|
|
void GCS_MAVLINK_Plane::send_pid_info(const AP_Logger::PID_Info *pid_info, |
|
|
|
|
const uint8_t axis, const float achieved) |
|
|
|
@ -451,11 +438,6 @@ bool GCS_MAVLINK_Plane::try_send_message(enum ap_message id)
@@ -451,11 +438,6 @@ bool GCS_MAVLINK_Plane::try_send_message(enum ap_message id)
|
|
|
|
|
plane.send_wind(chan); |
|
|
|
|
break; |
|
|
|
|
|
|
|
|
|
case MSG_RPM: |
|
|
|
|
CHECK_PAYLOAD_SIZE(RPM); |
|
|
|
|
plane.send_rpm(chan); |
|
|
|
|
break; |
|
|
|
|
|
|
|
|
|
case MSG_ADSB_VEHICLE: |
|
|
|
|
CHECK_PAYLOAD_SIZE(ADSB_VEHICLE); |
|
|
|
|
plane.adsb.send_adsb_vehicle(chan); |
|
|
|
|