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

mission_base: land_start_item invalid only when negative. #22856

Merged
merged 1 commit into from
Mar 11, 2024

Conversation

KonradRudin
Copy link
Contributor

Solved Problem

When flying and setting a mission with only a vtol land, it is not executed.

Solution

  • Check for land_start_inex is wrong. only check if it is negative.

@KonradRudin KonradRudin requested a review from sfuhrer March 8, 2024 16:36
sfuhrer
sfuhrer previously approved these changes Mar 8, 2024
src/modules/navigator/rtl.cpp Outdated Show resolved Hide resolved
@KonradRudin
Copy link
Contributor Author

Thanks @dagar

@KonradRudin KonradRudin force-pushed the fix_mission_land_start_at_zero branch from 325750f to 978151e Compare March 11, 2024 07:46
rtl: land_start_item invalid only when negative.

Update src/modules/navigator/rtl.cpp
@KonradRudin KonradRudin force-pushed the fix_mission_land_start_at_zero branch from 978151e to bd34623 Compare March 11, 2024 07:48
@sfuhrer sfuhrer merged commit 8dcfcf5 into main Mar 11, 2024
92 checks passed
@sfuhrer sfuhrer deleted the fix_mission_land_start_at_zero branch March 11, 2024 08:46
Peize-Liu pushed a commit to Peize-Liu/PX4-Autopilot that referenced this pull request Mar 24, 2024
rtl: land_start_item invalid only when negative.

Update src/modules/navigator/rtl.cpp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants