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

common.xml: add new frame MAV_FRAME_GLOBAL_VEHICLERELATIVE_ALT #358

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

peterbarker
Copy link

this is expected to be used to tell a vehicle to take off to 20m above current altitude.

ArduPlane already actually does this for some commands, but uses an inappropriate altitude frame.

Should also be useful for "go up 20m".

@rmackay9
Copy link

rmackay9 commented Apr 3, 2024

TBH, I think this just adds more complexity than it's worth. Let's make the vehicle accept a takeoff command to a specific alt-vs-home, alt-vs-terrain or alt-vs-sea-level instead of adding a new frame to match what the code does now.

I just worry that if we add this frame here then we will need to add it to every mission command we support.

this is expected to be used to tell a vehicle to take off to 20m above current altitude.

ArduPlane already actually does this for some commands, but uses an inappropriate altitude frame.

Should also be useful for "go up 20m".
@peterbarker peterbarker force-pushed the pr/VEHICLERELATIVE_ALT branch from cf30c42 to d32bba0 Compare April 3, 2024 06:34
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.

2 participants