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

setPositionTargetGlobalInt: fix TYPE_MASK_FORCE handling #2702

Merged

Conversation

hendjoshsr71
Copy link
Member

This fixes the handling of setPositionTargetGlobalInt messages due to a recent change in ArduPilot master here to reject commands with FORCE set.

Tested by building MissionPlanner and moving around in SITL.

See Discuss post here

@rmackay9 Thoughts on changing this behavior in ArduPilot master to only reject commands where FORCE set is true and we are not ignoring acceleration commands?

With the behavior as we have it we could get more support requests for where people are setting the bit even though they weren't using it. Unfortunately, for the field the MAVLINK spec was a bit wonky.

@AppVeyorBot
Copy link

@rgruian
Copy link

rgruian commented Oct 18, 2021

Looks straightforward enough, thanks Josh for fixing the issue so quickly. Looking forward to a new MP build :)

@meee1 meee1 merged commit 3df0657 into ArduPilot:master Oct 18, 2021
@hendjoshsr71 hendjoshsr71 deleted the pr/fix_pos_int_global_force_set branch October 18, 2021 03:47
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.

4 participants