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
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 referencevehicles[0]sources[0]vehicles[0]'s trail[/]marker cycling — jumps through all markers regardless of which drone owns themProposed Solution
marker_positionsandmarker_timesshould referencevehicles[selected]/sources[selected][/]cycling should only jump to the selected drone's markers, not all drones' markersShift+[/](fly to marker) should track the correct drone's positionDependencies
ref_lat_rad,ref_lon_rad,min_alt)Related