Open gillamkid opened 2 weeks ago
This task can be assigned to me. Doesn't look like I have the ability to assign the task to myself.
This is because Fixed Wing Landing Pattern is not a simple mission Item (which are what show up in All Commands). It is a complex mission item which has its own editor and visuals. Similar to Survey or Corridor Scan. A landing pattern is comprised of multiple mavlink mission commands (https://github.com/mavlink/qgroundcontrol/blob/master/src/MissionManager/LandingComplexItem.cc#L356). A "Simple" mission item is a single mavlink command. The two don't mix in the current ui. It would require a major rework of the paradigm for simple/complex mission items.
Expected Behavior
It should only be possible to add a Landing of type "Fixed Wing Landing Pattern" when creating a flight plan if a Fixed Wing vehicle is connected.
Current Behavior
The land button in the tool bar correctly creates a "Fixed Wing Landing Pattern" mission item, however when editing an existing mission item, it only shows landing options specific to VTOL and not options specific to fixed wing vehicles (namely "landing pattern")
Steps to Reproduce:
another bug is "landing pattern" is not in the "all commands" section. Replace the last step from the instructions above with this new last step to see the issue
System Information