Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[gps] for now, compute utm without nav_utm_zone0
This variable is only available on fixedwing. It is not really nice to report GPS pos without using the ref zone, but the possible error is only on display and logged values, internaly it is correct if relevant.
- Loading branch information
dd24916
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gautierhattenberger Why is this only available for fixed wing? It seems to me that this is generated from the flight plan and is independent of firmware used.
dd24916
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NAV_UTM_ZONE0
macro is generated in flight plan header but the variablenav_utm_zone0
is only compiled with fixed-wing firmwaredd24916
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably makes more sense to really recalc the utm zone anyway...
dd24916
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aha, ok.
another question then... why isn't subsystems/navigation/common_nav.c explicitly included in the fixed wing navigation firmware makefile but in the nav.c.
Also why isn't it used in rotorcraft, I assumed from its name that the intention was to be common to all firmware (but I guess I am greatly mistaken, haha).
I guess variable definitions are included but functions are not generated...
and why did you start the commit with "for now", are you planning to change or update this?
dd24916
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's say that navigation API cleaning and FW/rotorcraft integration are in (very slow) progress ...
dd24916
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, learning new things about paparazzi everyday. I am getting into this stuff more and more now so let me know if there is anything I can do to help this along.