ArduSub: add Airspeed to raw sensor stream rates

This commit is contained in:
Iampete1 2023-01-21 19:14:00 +00:00 committed by Andrew Tridgell
parent f000ab6d1b
commit 29646299ef

View File

@ -266,7 +266,7 @@ bool GCS_MAVLINK_Sub::try_send_message(enum ap_message id)
const AP_Param::GroupInfo GCS_MAVLINK_Parameters::var_info[] = { const AP_Param::GroupInfo GCS_MAVLINK_Parameters::var_info[] = {
// @Param: RAW_SENS // @Param: RAW_SENS
// @DisplayName: Raw sensor stream rate // @DisplayName: Raw sensor stream rate
// @Description: Stream rate of RAW_IMU, SCALED_IMU2, SCALED_PRESSURE, and SENSOR_OFFSETS to ground station // @Description: Stream rate of RAW_IMU, SCALED_IMU2, SCALED_PRESSURE, AIRSPEED, and SENSOR_OFFSETS to ground station
// @Units: Hz // @Units: Hz
// @Range: 0 50 // @Range: 0 50
// @Increment: 1 // @Increment: 1
@ -353,6 +353,7 @@ static const ap_message STREAM_RAW_SENSORS_msgs[] = {
MSG_SCALED_PRESSURE, MSG_SCALED_PRESSURE,
MSG_SCALED_PRESSURE2, MSG_SCALED_PRESSURE2,
MSG_SCALED_PRESSURE3, MSG_SCALED_PRESSURE3,
MSG_AIRSPEED,
}; };
static const ap_message STREAM_EXTENDED_STATUS_msgs[] = { static const ap_message STREAM_EXTENDED_STATUS_msgs[] = {
MSG_SYS_STATUS, MSG_SYS_STATUS,