mavlink / qgroundcontrol

Cross-platform ground control station for drones (Android, iOS, Mac OS, Linux, Windows)
http://qgroundcontrol.io
3.27k stars 3.59k forks source link

Display loiter circle for planes in mission planing #8953

Open moreba1 opened 4 years ago

moreba1 commented 4 years ago

we can display circle with input radius (like circle of landing pattern) and enter and exit lines to circle but currently display a waypoint for loiter. In mission planning, it is better that we must see the actual path of flight to avoid the collision. also when plane exit tangent from loiter, the direction of the path is different from that see in UI. this feature is needed for VTOLs and planes.

DonLakeFlyer commented 4 years ago

I think this might be doable in a generic fashion. That said though the flight path shown in Plan should be taken with a huge grain of salt. You need real vehicle flight dynamic information to know what will really happen.

hamishwillee commented 4 years ago

@DonLakeFlyer FWIW I've recently updated the docs on what the LOITER commands are doing here. Provided the heading =1 is set and xtrack = 0 or 1 the flight is fairly predictable on PX4 (see images at link).

I don't know if ArduPilot implements the heading yet but it is in PX4 master. Any value for xtrack other than 0 or 1 is defined in mavlink but FWIW not likely to be implemented in PX4 or ArduPilot.

Antiheavy commented 4 years ago

Related feature request; https://github.com/mavlink/qgroundcontrol/issues/6721

moreba1 commented 3 years ago

My proposed Graphics: image

DonLakeFlyer commented 3 years ago

How does the loiter entry path work? It doesn't enter from the tangent to the loiter circle? So line should go from 4 to appropriate tangent on loiter circle?

moreba1 commented 3 years ago

Entry Path is not always same. It is related to Navigation tuning of plane and other parameters.