Skip to content

feat: multi-drone marker support — make markers selected-drone-aware #57

@MikePehel

Description

@MikePehel

Problem

The marker system introduced in PR #47 is currently hardcoded to vehicles[0] / sources[0]. In multi-drone replay (PR #50, issue #49), markers are always placed on and associated with the first drone regardless of which drone is selected.

Affected areas:

  • marker_positions, marker_times — always reference vehicles[0]
  • Bookmark seek — always seeks sources[0]
  • System marker resolution — always resolves positions from vehicles[0]'s trail
  • [/] marker cycling — jumps through all markers regardless of which drone owns them

Proposed Solution

  • Make marker arrays per-vehicle or tag each marker with a vehicle index
  • marker_positions and marker_times should reference vehicles[selected] / sources[selected]
  • System marker resolution should use the selected drone's origin and trail data
  • [/] cycling should only jump to the selected drone's markers, not all drones' markers
  • Shift+[/] (fly to marker) should track the correct drone's position

Dependencies

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions