You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Vehicle.location - values should be settable or reflect current frame #131
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.
Activity