|
|
|
@ -756,7 +756,8 @@ const AP_Param::GroupInfo GCS_MAVLINK::var_info[] PROGMEM = {
@@ -756,7 +756,8 @@ const AP_Param::GroupInfo GCS_MAVLINK::var_info[] PROGMEM = {
|
|
|
|
|
// @Range: 0 10 |
|
|
|
|
// @Increment: 1 |
|
|
|
|
// @User: Advanced |
|
|
|
|
AP_GROUPINFO("PARAMS", 8, GCS_MAVLINK, streamRates[8], 10), |
|
|
|
|
AP_GROUPINFO("PARAMS", 8, GCS_MAVLINK, streamRates[8], 5), |
|
|
|
|
|
|
|
|
|
AP_GROUPEND |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
@ -884,7 +885,10 @@ GCS_MAVLINK::data_stream_send(void)
@@ -884,7 +885,10 @@ GCS_MAVLINK::data_stream_send(void)
|
|
|
|
|
{ |
|
|
|
|
if (_queued_parameter != NULL) { |
|
|
|
|
if (streamRates[STREAM_PARAMS].get() <= 0) { |
|
|
|
|
streamRates[STREAM_PARAMS].set(10); |
|
|
|
|
streamRates[STREAM_PARAMS].set(5); |
|
|
|
|
} |
|
|
|
|
if (streamRates[STREAM_PARAMS].get() > 5) { |
|
|
|
|
streamRates[STREAM_PARAMS].set(5); |
|
|
|
|
} |
|
|
|
|
if (stream_trigger(STREAM_PARAMS)) { |
|
|
|
|
send_message(MSG_NEXT_PARAM); |
|
|
|
|