Potential Thrust Loss (4)

Hello everyone, currently I am trying to fly an autonomous drone without any RC and just using python script through raspberry pi. Currently the issue I am undergoes is when I run the script the motor rotate in high speed and the motors didn’t rotate at appropriate speed with the altitude of 1 meter. I have try by changing some parameters such as MOT_THST_EXPO, MOT_SPIN_ARM, MOT_SPIN_MIN, MOT_SPIN_MAX but still I can’t solve the issue.

The output I got when I run the script was:

(drone_a) vim@DRONEA:~/drone_mission $ python3 run_mission.py

Connecting to vehicle…

Connected

Basic pre-arm checks…

Setting GUIDED mode

Arming motors

Waiting for arming…

Taking off to 1.0 meters

Altitude: -0.11 m

Altitude: -0.21 m

Altitude: -0.31 m

Altitude: -0.40 m

Altitude: -0.42 m

Altitude: -0.43 m

Altitude: -0.42 m

Altitude: -0.41 m

Altitude: -0.37 m

CRITICAL:autopilot:Potential Thrust Loss (4)

Altitude: -0.31 m

Altitude: -0.27 m

Altitude: -0.25 m

Altitude: -0.25 m

Altitude: -0.22 m

Altitude: -0.21 m

Altitude: -0.20 m

Altitude: -0.17 m

Altitude: -0.15 m

Altitude: -0.09 m

Altitude: -0.01 m

Altitude: 0.03 m

Altitude: 0.06 m

Altitude: 0.10 m

Altitude: 0.14 m

Altitude: 0.19 m

Altitude: 0.24 m

Altitude: 0.27 m

Altitude: 0.29 m

Altitude: 0.32 m

Altitude: 0.35 m

Altitude: 0.39 m

Takeoff timeout

Hovering for 5 seconds

Landing

Landing… Altitude: 0.40 m

Landing… Altitude: 0.35 m

Landing… Altitude: 0.35 m

Landing… Altitude: 0.33 m

Landing… Altitude: 0.31 m

Landing… Altitude: 0.31 m

Landing… Altitude: 0.29 m

Landing… Altitude: 0.30 m

Landing… Altitude: 0.35 m

Landing… Altitude: 0.43 m

Landing… Altitude: 0.52 m

Landing… Altitude: 0.72 m

Landing… Altitude: 1.01 m

Landing… Altitude: 1.06 m

Landing… Altitude: 0.86 m

Landing… Altitude: 0.73 m

Landing… Altitude: 0.66 m

Landing… Altitude: 0.63 m

Landing… Altitude: 0.66 m

Landing… Altitude: 0.65 m

Landing… Altitude: 0.59 m

Landing… Altitude: 0.57 m

Landing… Altitude: 0.60 m

Landing… Altitude: 0.64 m

Landing… Altitude: 0.66 m

Landing… Altitude: 0.67 m

Landing… Altitude: 0.66 m

Landing… Altitude: 0.60 m

Landing… Altitude: 0.50 m

Landing… Altitude: 0.38 m

Landing… Altitude: 0.22 m

Landing… Altitude: 0.10 m

Landing… Altitude: -0.03 m

Landing… Altitude: -0.17 m

Landing… Altitude: -0.30 m

^CVehicle connection closed

Traceback (most recent call last):

File “/home/vimalan/drone_mission/run_mission.py”, line 73, in

time.sleep(1)

\~\~\~\~\~\~\~\~\~\~^^^

KeyboardInterrupt

Are you sure the vehicle has enough thrust for the payload you are using?

Did you calculate that with eCalc for multirotor?

Have you configured the drone according to the documentation before trying Autonomous missions?

Does that script work correctly when controlling the SITL?

1 Like

First get an RC system so you can properly configure and tune the craft.