Skip to content

Exobiology sampling guide: distance to previous samples and a 'clear to sample' indicator #185

Open

Description

@demortes

Goal

While collecting organic samples on foot or in an SRV, show how far the commander is from each earlier sample of the same species and whether they have moved far enough to take the next one.

Scope

  • Record the position at each ScanOrganic step (Log / Sample / Analyse) using the surface position model, per body and per species/variant; persist per body so a restart or relog keeps it.
  • Use the per-genus minimum distances already bundled (Exobio/Data, currently marked unverified in SOURCES.md; verifying them against in-game behaviour is part of this work).
  • Overlay widget: ring or arc around the current position per previous sample, nearest distance, and a clear/not-clear state; also in the exobiology card.
  • Clear a species' samples when the analysis completes, on death, or when the body changes, matching the tracker's existing rules.
  • Dev-mode sample source to exercise it without the game.

Acceptance criteria

  • Distances update live as the commander moves and match the in-game rule closely enough to rely on.
  • Samples survive an app restart on the same body and are discarded when they should be.
  • Works for all genera the tracker knows, with the minimum distance coming from the data file, not hard-coded.
  • Unit tests for the recording/clearing rules and the distance check.

Depends on the surface position model and the position-aware overlay.

Part of the epic #182.

Clean-room: see the rule on the epic. No SrvSurvey code, assets, maps or data.

🤖 Generated with Claude Code

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions