mavlink / MAVSDK-Java

MAVSDK client for Java.
68 stars 40 forks source link

Fix finite streams #90

Closed divyanshupundir closed 2 years ago

divyanshupundir commented 2 years ago

Earlier if params|length == 0 was used to check if the stream was a finite (command along with associated progress data) or an infinite (simple data stream eg. position updates) one.

This was correct for most cases except for calibration methods (there could be more). Therefore, the old logic is replaced by a simple is_finite check.

divyanshupundir commented 2 years ago

Thanks for reviewing.