# Precision of Vertical Maneuvers – It's All About Safety

Hi,

Not long ago we did tests with multiple different drones to find out how precisely can they follow a standard photogrammetry route - https://www.ugcs.com/en/page/comparing-precision-of-autopilots-for-....

The quality of obtained data will mostly be affected by precision on a horizontal plane – whether the shots were made in desired positions or not.

Let’s imagine a case where the survey area has power lines crossing it. It’s a common scenario. To survey the area you would either have to divide the field in two different segments – one on each side of the power lines or you would have to make the drone fly above the power lines like so:

Provided you have a 3D model of the power lines (or any other obstacle), UgCS can automatically generate a flight path which will look safe. But in reality there is no information on how precisely will the drone follow the route with aggressive vertical manoeuvres, so we decided to do some tests.

# Test 1. "Jump" over an obstacle

Here we will test how will the drone move over an imaginary obstacle such as a power line or a building.

The drone will start flying from the leftmost waypoint, accelerate up to 10 m/s (in reality no drone managed to accelerate to this speed in a 60 m segment, maximum speed was around 7 m/s) and then “jump” over the obstacle.

We tested 3 drones:

- old workhorse - DJI Phantom 2 - as representative of first generation of DJI autopilots

- quad with fresh ArduCopter 3.5 firmware

- DJI Phantom 4 as representative of the latest generation of DJI drones.

For reference we decided to use a telemetry track recorded using the emulator drone that is built-in in UgCS. It flew very well :)

Turn type set to Stop & Turn. Not ideal, but nothing dangerous here. Maximum error was around 2 meters. Funny that 4 years ago Phantom 2 was one of the best consumer level drones in terms of flight precision…

Turn type - Adaptive Bank Turn. Ooops…

Turn type set to Bank Turn. Almost the same outcome as with Adaptive Bank:

Phantom 2 conclusion: Never use any other turn type except Stop & Turn if you need to make vertical maneuvers near obstacles.

The same should apply for all first-generation DJI autopilots including DJI Naza-M V2, Wookong-M, A2, Ace. They all have similar behaviour in horizontal flight and it seems that they share common flight algorithms.

Turn type - Straight. The result is not very good at the part where the drone has to descend. If you are trying to fly over a building with a flat roof or close to the roof and walls, you should set the route with a safety margin of roughly 10 to 15 meters.

So with the turn type set to Spline it drew this strange picture:

ArduCopter conclusion – When flying around obstacles only use Straight turn type and allow a safety margin of 10 – 15 meters between the set route and the obstacle. In UgCS there is a special parameter just for this – “Safe distance from Obstacle” that can be adjusted in the vehicle profile.

Phantom 4

Turn type - Stop & Turn. The result is almost perfect. We saw the same in horizontal precision tests – on-par with PX4.

Adaptive Bank Turn. The results are much better than we expected. Maximum deviation was less than 1 meter.

Phantom 4 conclusion – one of the safest drones to use in this scenario. However, keep in mind that DJI changes the firmware quite often so if you need to fly routes like this often, we recommend to test the behaviour of the drone after each firmware update.

# Test 2. Loop

This is somewhat of a rare scenario, mostly we see the demand for such trajectories only for the purpose of drone shows, but nevertheless it can demonstrate autopilot potential very well.

We decided not to spend time testing this with Phantom 2 since it isn’t meant for manoeuvres like that.

Here again we used UgCS emulator for reference:

ArduCopter 3.5

Turn type - Straight. It seems that ArduCopter is much more fond of aerobatic manoeuvres like this than boring “jumps” over power lines. :)

Turn type - Spline:

Phantom 4

Turn type - Stop & Turn.

Turn type - Adaptive Bank Turn.

That’s all, guys. We hope this article was informative for you. If you feel like making more tests like this, head on over to http://www.ugcs.com, get UgCS and start experimenting yourself. We are curious to see how other autopilots perform in these scenarios.

Safe flights,

UgCS Team

Views: 1341

Comment by Rob_Lefebvre on September 24, 2017 at 4:09am

Sort of sounds like intentional sand-bagging.

Comment by Charlie on September 26, 2017 at 2:47am

Do you even need to set a 1 second pause? Copter should fly the route perfectly with a 0.1 second pause surely...?

Comment by Alexey Dobrovolskiy on September 26, 2017 at 3:29am

"Sort of sounds like intentional sand-bagging." - Rob, could you explain what do you mean?

We used same route for 3 different copters. Without any wait's in waypoints. For each copter we tested how are they behave with all supported types of turning. We don't have aim to compare them - we, again, just want to point to the issues which should be taken in consideration to fly such routes safely.

Regarding ArduCopter fine-tuning. We used F450 frame for this test, and ArduCopter with almost default parameters flies (visually) perfectly. So most of users will not spend additional time for tuning (as we). At least it flies much better than Phantom 2.

Comment

Join DIY Drones

1

2

3

4

5

6

## Groups

51 members

292 members

272 members

563 members

• ### Agricultural UAVs

1065 members

Season Two of the Trust Time Trial (T3) Contest
A list of all T3 contests is here. The current round, the Vertical Horizontal one, is here