Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArduPilot mission_raw fixes #2222

Merged
merged 2 commits into from
Feb 20, 2024
Merged

ArduPilot mission_raw fixes #2222

merged 2 commits into from
Feb 20, 2024

Conversation

julianoes
Copy link
Collaborator

This fixes an InvalidSequence when using QGC plan import, and a Timeout when trying to upload, both for ArduPilot.

@julianoes julianoes added the bug label Feb 16, 2024
@julianoes
Copy link
Collaborator Author

Looks like I broke the tests.

It turns out we were using our instead of the system's autopilot type
(e.g. PX4 or ArduPilot) in the transfer from the mission client and
param client.

This should fix the timeout happening for ArduPilot (as ArduPilot
responds to MISSION_COUNT with MISSION_REQUEST instead of
MISSION_REQUEST_INT).

Signed-off-by: Julian Oes <[email protected]>
@julianoes julianoes force-pushed the pr-fix-ardupilot-mission branch from 3cfdead to df9b2d5 Compare February 19, 2024 21:58
JonasVautherin
JonasVautherin previously approved these changes Feb 19, 2024
We need to enter the home item before adding the sequence numbering.

Signed-off-by: Julian Oes <[email protected]>
@julianoes julianoes force-pushed the pr-fix-ardupilot-mission branch from df9b2d5 to dc919d0 Compare February 19, 2024 23:57
@julianoes julianoes merged commit afc6cec into main Feb 20, 2024
27 checks passed
@julianoes julianoes deleted the pr-fix-ardupilot-mission branch February 20, 2024 00:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants