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

Nav subcommand #33

Draft
wants to merge 11 commits into
base: master
Choose a base branch
from
Draft

Nav subcommand #33

wants to merge 11 commits into from

Commits on Oct 27, 2019

  1. Fix unpack_waypoint() latitude parsing

    The fifth byte in a waypoint definition is 0xf0 for waypoints created on the device itself, but 0xff for waypoints created in Yaesu's PC software, YCE15.
    
    The radio seems to ignore the fifth byte altogether, so I'm not sure whether that difference was intentionally introduced by Yeasu, or if it was a mistake. Either way, both formats should be accepted by unpack_waypoint(). This change accomplishes that by simply ignoring the fifth byte, starting unpacking with the sixth byte, which contains the most significant digits of the latitude value.
    
    In order to be in line with Yeasu's own use, pack_waypoint() is changed to use 0xff for the fifth byte. This doesn't seem to matter one way or the other though.
    johannessen committed Oct 27, 2019
    Configuration menu
    Copy the full SHA
    8a81db3 View commit details
    Browse the repository at this point in the history
  2. Add nav command to dump waypoints read from device to GPX

    A first step towards dumping/flashing navigation data.
    
    The code in nav.py is basically lifted straight from gpslog.py.
    johannessen committed Oct 27, 2019
    Configuration menu
    Copy the full SHA
    8e48a85 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c6a20ca View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    191a7db View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4453407 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e8548d8 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    358bf79 View commit details
    Browse the repository at this point in the history
  8. Handle nav history and status

    The current and previously used navigation targets are implemented as indices to the waypoint/route lists. After replacing these lists with new data, those indices are no longer usable and may put the radio in an inconsistent state.
    
    This change works around this issue by clearing the navigation status and history for data read from GPX.
    johannessen committed Oct 27, 2019
    Configuration menu
    Copy the full SHA
    cbbe312 View commit details
    Browse the repository at this point in the history
  9. Add waypoint MMSI output

    johannessen committed Oct 27, 2019
    Configuration menu
    Copy the full SHA
    be148d5 View commit details
    Browse the repository at this point in the history
  10. Add GPX meta data

    johannessen committed Oct 27, 2019
    Configuration menu
    Copy the full SHA
    3e24229 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    2e86642 View commit details
    Browse the repository at this point in the history