Browse Source

Rover: Fixed MAVLINK stream trigger calculation.

master
João Fortuna 10 years ago committed by Randy Mackay
parent
commit
d7d5b7bb73
  1. 2
      APMrover2/GCS_Mavlink.pde

2
APMrover2/GCS_Mavlink.pde

@ -663,7 +663,7 @@ bool GCS_MAVLINK::stream_trigger(enum streams stream_num) @@ -663,7 +663,7 @@ bool GCS_MAVLINK::stream_trigger(enum streams stream_num)
if (rate > 50) {
rate = 50;
}
stream_ticks[stream_num] = (50 / rate) + stream_slowdown;
stream_ticks[stream_num] = (50 / rate) - 1 + stream_slowdown;
return true;
}

Loading…
Cancel
Save