Browse Source

Rover: move adjust_rate_for_stream up

mission-4.1.18
Peter Barker 9 years ago committed by Andrew Tridgell
parent
commit
de452eb760
  1. 10
      APMrover2/GCS_Mavlink.cpp
  2. 1
      APMrover2/GCS_Mavlink.h

10
APMrover2/GCS_Mavlink.cpp

@ -694,16 +694,6 @@ const AP_Param::GroupInfo GCS_MAVLINK::var_info[] = { @@ -694,16 +694,6 @@ const AP_Param::GroupInfo GCS_MAVLINK::var_info[] = {
AP_GROUPEND
};
float GCS_MAVLINK_Rover::adjust_rate_for_stream_trigger(enum streams stream_num)
{
if ((stream_num != STREAM_PARAMS) &&
(waypoint_receiving || _queued_parameter != NULL)) {
return 0.25f;
}
return 1.0f;
}
void
GCS_MAVLINK_Rover::data_stream_send(void)
{

1
APMrover2/GCS_Mavlink.h

@ -13,7 +13,6 @@ protected: @@ -13,7 +13,6 @@ protected:
private:
float adjust_rate_for_stream_trigger(enum streams stream_num) override;
void handleMessage(mavlink_message_t * msg) override;
bool handle_guided_request(AP_Mission::Mission_Command &cmd) override;
void handle_change_alt_request(AP_Mission::Mission_Command &cmd) override;

Loading…
Cancel
Save