-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PlanManager: Improve timeout behavior during Mission Transfer
This patch fixes runtime issues which are observed on 900MHz ELRS. During mission download from the vehicle, repeat timeout occurs, causing mixup of request-response pairs which results in sequence errors of mission items. The repeat timeout is therefore increased to 1.5 seconds. GCS based message repetition eventually bites with ELRS stubborn sender feature. During mission upload to the vehicle, the regular timeout of 1.5 seconds is too tight and causes reported errors about not all mission items retrieved by vehicle. Therefore a separate timeout for MISSION_REQUEST_INT service is added with a value of 2.5 seconds which seems appropriate. For clarity the word default is added to the name of the original timeout values.
- Loading branch information
Showing
3 changed files
with
11 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters