Skip to content

PlanView Bugs and Improvements #7765

Description

@tilaktilak

I am working on some issues on PlanView at the moment, I create this issue to keep a track on this and discuss how to address it.

Here what I found from the Daily version of yesterday :

Observations

1. Terrain Altitude of Planned Home is not determined properly

At first it's not determined, but works if we move it. Here the error shown :

TerrainQueryLog: Error in fetching elevation tile. Empty response.

image

2. When I click to add a Waypoint this error shows up :

qrc:/qml/QGroundControl/Controls/ToolStrip.qml:87: ReferenceError: _root is not defined

Not sure but I think it's because the id of ToolStrip is overwritten by PlanView.qml Here and _root does not exist no more. Can someone confirm ? Doesn't look that simple

3. Spline/Land can result in WP at (0,0)

If we change the type of the Takeoff item (just after the Mission Start) to spline or land (Maybe some other type of WP), it create a WP at (0,0)
image

4.Error while moving PlannedHome Point

If I create a 2 waypoints mission, the first is defined as PlannedHome, the other as WP2.
This error shows while moving the PlannedHome :

DelegateModel::cancel: index out range 0 0

image

5. Mission has to start by a TakeOff Point :

When we first add a Waypoint to the item list, it add an automatic Takeoff point.
But it's not the case while we start by a Survey or any complex item.
As a consequence Ardupilot does not accept the mission that does not start by a TakeOff which make perfectly sense to me btw.
Also it's possible to remove the TakeOff Point added by the first WP at any time.
We should figure out something to insure a mission start by a Takeoff or stick this Takeoff to the PlannedHome.

6. Layer shown while editing Mission/Fence/Rally

When we edit the Fence or Rally point the Mission Layer is hidden. It's useful to show all layer not depending on what we are editing (Fence, Rally or Mission). Other layers that are not editable at the moment could be put in gray.

7. ToolStrip File

I am asking myself if it's consistent to name this 'File' as it give access to tools like "Clear Vehicle Mission, Upload, Download"and not so File-specific tools.
image

8. PlanToolbar and Duplicate PaperPlane Button

This button to go back to FlyView is duplicate and close one to another:
image
Also, why do we change to Toolbar to PlanToolbar ? I think there is enough place to shows this :
image
on the main toolbar.

Open Points

1.Type of Waypoints

It's not clear to me that some WP type like TakeOff or ReturnToHome are not Item defined by coordinates as adding them will result in "tagging" the previous Waypoint in the UI.
The first thing that I think of here is that it has to be added in another manner than clicking on the map to add a WP and change the type which could be confusing as the last WP will disappear.

It might be a way to shows through the UI that this item will appear on the map and this one will not.
It could be some statement like : "We cannot change the type of an item created by the ToolStrip" and "All items created by the ToolStrip appears on the map" and to create other type of item we need to insert a new element on the list and define its type.

2. Planned Home

I understand the convenience of adding the Planned home automatically to the first WP.
Therefore I think we may need 2 more features :

  • An explicit method to define the Planned Home
  • If no takeoff is present at the beginning of the item list we should create a takeoff item aligned with the Planned Home no matter if the Planned Home is placed manually or automatically

I am working on adding a "Home" button to the ToolStrip to create the PlannedHome
This is incomplete at the moment but the idea is to force the first item to be PlannedHome (by hiding/disabling the other tools for instance) and maybe add a non-removable TakeOff item at the same time.
Also my plan is to hide/disable this Home tool straight after PlannedHome being set.

Peek 2019-09-05 14-31

3. Nice to Have

Could be cool to delete the selected item by pressing the "Delete" key on the keyboard

@edwinhayes

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions