generalized-intelligence / GAAS

GAAS is an open-source program designed for fully autonomous VTOL(a.k.a flying cars) and drones. GAAS stands for Generalized Autonomy Aviation System.
https://www.gaas.dev
BSD 3-Clause "New" or "Revised" License
1.88k stars 441 forks source link

Tutorial 6:Lose the sight of the ground vehicle after executing " track_and_move.py" #121

Closed CusUdont closed 3 years ago

CusUdont commented 3 years ago

Hello,

After I run track_and_move.py, the drone will move backward and its camera will lose the sight of the ground vehicle. After that, the "Track Rect" will stay constant even though the ground vehicle shows up in the sight again. And the drone will hover in the air and cannot complete the tracking mission.

Does anyone know how to solve this? Thanks for the help.

frogotterman commented 3 years ago

Hello, I'm facing the same problem. Have you been able to solve it?

cyanine-gi commented 3 years ago

Check your mavros coordinate. It seems mavros use different coordinate in different versions. Maybe you need to add a coordinate transformation operation in your mavros controller.