ArduPilot / ArduPilot/apm_planner

[Edit Waypoints] - mission item type swap on following file load.

Open
#580 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
552
Forks
483
PR merge metrics
No merged PRs in 30d

Description

Please observe that each mission have only one Set_Cam_Trigger at start, and one at end.
Try to load mission1 , then mission2 , mission1

Missionpart1 https://gist.github.com/AndKe/4d3eb7ebfdb7161846c6
Missionpart2 https://gist.github.com/AndKe/05c1b6b76745e5c19ca3

You will end up with something like the screenshot, cam commands (206) appears with contents as it they were waypoints(cmd 2 in screenshot), and actual waypoint(cmd4) is listed with the look of an cam-distance command.
Similar problem at end of list.

I cannot reproduce this on first mission file load after application start, so this is most likely due to something not being properly reset.
![screenshot from 2015-01-14 18 01 57](https://cloud.githubusercontent.com/assets/1468842/5743130/8b2833e8-9c17-11e4-8204-e54b55424322.png)

Contributor guide

Open the contributing guide

Research direction

No source file or test is identified. Start by reproducing the mission1 → mission2 → mission1 load sequence and trace the waypoint-editing state used during mission loading. Done means camera-trigger items retain their contents, waypoints retain their own type and display, and each mission has one trigger at the start and end.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.