Skip to content

Vehicle.location - values should be settable or reflect current frame #131

Open

Description

@hamishwillee

The location value has an isRelative field which is supposed to tell you if the altitude is relative to MSL or the home location (see #306).

It would be useful to be able to set the frame that you want to use. If I'm working in Terrain following on plane then I might want to get the altitude above the terrain, or I might want to use a local NED frame or absolute MSL.

Arguably the location should reflect the "mode" of the vehicle's current mode - if it is flying by following terrain, that is what I'd hope the location altitudes would be returned in terms of terrain. If it is flying relative to local NED then location in that frame makes sense. The only case that perhaps doesn't make sense here is if you're flying by controlling relative to vehicle positioning centred on the vehicle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions