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

Dataflash log does not contain altitude type in logged mission items. #5975

Closed
AndKe opened this issue Apr 1, 2017 · 3 comments
Closed

Dataflash log does not contain altitude type in logged mission items. #5975

AndKe opened this issue Apr 1, 2017 · 3 comments

Comments

@AndKe
Copy link
Contributor

AndKe commented Apr 1, 2017

dataflash message type CMD , looks like
CMD, Format : QHHHfffffff, Columns : TimeUS,CTot,CNum,CId,Prm1,Prm2,Prm3,Prm4,Lat,Lng,Alt}

There is no indication of relative or absolute (or other) altitude for any loged waypoint/mission item.
The altitude-type should be stored too.

Platform

[ ] All
[ ] AntennaTracker
[ x ] Copter
[ x] Plane
[ ] Rover

@jmachuca77
Copy link
Contributor

I am not sure how this is handled, for the waypoints there is a coordinate frame that has to be sent somehow, that is what tells the autopilot if the waypoint alt is relative or absolute. But this seems not to be included in the dataflash log. I checked mavmission.py which extracts the mission from the dataflash log and it has the frame field value for relative alt hardcoded into it.

@enjoybeta
Copy link

#7936 just noticed this pull

@WickedShell
Copy link
Contributor

Sorry, hadn't even seen this was an issue when I sent the other PR in. Anyways fixed in master and next release.

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

No branches or pull requests

6 participants