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

Move SPEED_TYPE enumeration to common.xml, use it in DO_CHANGE_SPEED #330

Merged
merged 4 commits into from
Oct 4, 2023

Conversation

peterbarker
Copy link

Cherry-picked from upstream

I've reverted the description change as another patch; I don't know whether we actually honour that description in ArduPilot. We may persist this across mode changes, I haven't checked.

hamishwillee and others added 4 commits September 27, 2023 19:52
* SPEED_TYPE enum for MAV_CMD_DO_CHANGE_SPEED

* Update message_definitions/v1.0/common.xml

* Update message_definitions/v1.0/common.xml

* Update message_definitions/v1.0/common.xml
Copy link

@hamishwillee hamishwillee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that's right. Thanks!

@hamishwillee
Copy link

Re description change - which one? "Change speed and/or throttle set points" isn't a change.

@peterbarker
Copy link
Author

Re description change - which one? "Change speed and/or throttle set points" isn't a change.

The statement that the speed reverts on mode change - I'm not 100% sure that applies on all ArduPilot vehicles. We may retain the specified speed when going between Plane LOITER and Plane GUIDED modes, for example.

I haven't tested - but if the author of the change can say they have tested such things we could make that change :-)

@hamishwillee
Copy link

The statement that the speed reverts on mode change

Ah, the text has always said "setpoint" so it probably should revert on mode change.

@tridge tridge merged commit f23f38b into ArduPilot:master Oct 4, 2023
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants