Drone hovering in the same place


#1

I try to let my drone move from one point to other based on local velocity but the drone just takeoff and hovering in the same point then landing
also when I give it 1 meter as a target it flight higher around 3 meters
I used:
python 3.9.2
dronekit 4.6.3





#2

I have highlighted a code error.

image