GNSS App: a Compass, with Places and a level #98

Merged
twisla merged 4 commits from compass into main 2026-10-11 15:17:18 +00:00
Owner

Refs #16.

  • Compass: a third view of the GNSS App (Tab: Position, Sky, Compass). A rose that turns with the device, the heading in degrees and as one of 16 points, where north came from and how long ago, and the sun drawn on the rose.
  • North without a magnetometer: from the course over ground at 3 km/h or more, or from s with the top of the device aimed at the sun; the gyroscope follows the turn around the vertical in between and learns its own offset while the device lies still.
  • Places: m marks where you stand under a name, t picks a target (arrowhead on the rose, distance and bearing), d removes one. Kept as GPX waypoints in /gnss/places.gpx, 50 at most.
  • Level: a bubble from the accelerometer.
  • imu on the consoles.
  • Docs: guide page, milestone H1, glossary, key tables.

Tested

  • Host tests: 610 pass, 18 new (heading filter, sun position, bearing, places file).
  • On the device: the sensor answers (BMI270), clockwise turns raise the heading, the level's bubble goes to the lifted edge.
  • Not checked yet: north from walking, north from the sun against a real compass, drift in the hand, marking and picking a Place (needs a fix).

🤖 Generated with Claude Code

https://claude.ai/code/session_0162FokPdvY2KsS4NBfwyWPk

Refs #16. - **Compass**: a third view of the GNSS App (Tab: Position, Sky, Compass). A rose that turns with the device, the heading in degrees and as one of 16 points, where north came from and how long ago, and the sun drawn on the rose. - **North without a magnetometer**: from the course over ground at 3 km/h or more, or from `s` with the top of the device aimed at the sun; the gyroscope follows the turn around the vertical in between and learns its own offset while the device lies still. - **Places**: `m` marks where you stand under a name, `t` picks a target (arrowhead on the rose, distance and bearing), `d` removes one. Kept as GPX waypoints in `/gnss/places.gpx`, 50 at most. - **Level**: a bubble from the accelerometer. - **`imu`** on the consoles. - Docs: guide page, milestone H1, glossary, key tables. ## Tested - Host tests: 610 pass, 18 new (heading filter, sun position, bearing, places file). - On the device: the sensor answers (BMI270), clockwise turns raise the heading, the level's bubble goes to the lifted edge. - Not checked yet: north from walking, north from the sun against a real compass, drift in the hand, marking and picking a Place (needs a fix). 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_0162FokPdvY2KsS4NBfwyWPk
twisla added 4 commits 2026-10-11 15:14:26 +00:00
The device has no magnetometer (issue #16): north is given by the course
over ground while walking, or by aiming at the sun, and the gyroscope
follows the turn around the vertical in between. With the sun's position
from the time and the place, the bearing to a point, the 16 points and
distances as text. Host-tested.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0162FokPdvY2KsS4NBfwyWPk
A Place is a named position the user marked (issue #16). The list is
read from and written to a GPX file, so a map program opens it and
waypoints made by one are read here. Host-tested.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0162FokPdvY2KsS4NBfwyWPk
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0162FokPdvY2KsS4NBfwyWPk
GNSS App: a Compass, with Places to be led back to and a level
Site / build (pull_request) Successful in 10s
CI / build (pull_request) Successful in 2m20s
544bd726df
Tab goes on from the Sky to a third view (issue #16): a rose that turns
with the device, the heading, where north came from and how long ago,
the sun on the rose, and a level. m marks where you stand as a Place,
t picks one as the target: an arrowhead on the rose, its distance and
bearing. The sensor's directions were checked by hand on the device.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0162FokPdvY2KsS4NBfwyWPk
twisla merged commit 5af695f43a into main 2026-10-11 15:17:18 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: twisla/roro9stack#98