Skip to content

navstar: Simple navigation application#77

Merged
ThomasFarstrike merged 1 commit intoMicroPythonOS:mainfrom
pavelmachek:m_10_navstar
Mar 11, 2026
Merged

navstar: Simple navigation application#77
ThomasFarstrike merged 1 commit intoMicroPythonOS:mainfrom
pavelmachek:m_10_navstar

Conversation

@pavelmachek
Copy link
Copy Markdown
Contributor

It can display GPS information, show arrow to selected point and save track.

It can use several location sources, including /dev/gnss0; by default, it is configured with fake nmea source.

It can display GPS information, show arrow to selected point and save
track.

It can use several location sources, including /dev/gnss0; by default,
it is configured with fake nmea source.
import math
import re

from pcanvas import *
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Star imports are very bad

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was originally copy/pasted code, so this should be improvement. Eventually, it will improve.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

copy/pasted code? Then you should add credits/license info, too.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm copy/pasting myself. I'm allowed to do that :-).

"""
EGT (Editable GPS Track) - a minimal plaintext format.

So... recording to gpx is not really suitable, as that format is hard to modify by tools such as head/tail/tac. It also has trailer, so if you reboot while recording, you would end up with invalid file.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have used https://github.com/geopy/geopy for this. Maybe it's directly usable under micropython?

@ThomasFarstrike
Copy link
Copy Markdown
Contributor

Nice! If you make any improvements, don't hesitate to send a pull request!

@ThomasFarstrike ThomasFarstrike merged commit 6d6f96b into MicroPythonOS:main Mar 11, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants