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

Trouble positioning drone camera to detect QR Code for landing #130

Closed DerekLynch closed 3 years ago

DerekLynch commented 3 years ago

Prerequisites

Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

Issue Template

Context

Please provide any relevant information about your setup.

Expected Behavior

In tutorial E05, I am able to complete the drone takeoff and I am also able to send commands via Commander (as well as manually changing x/y/z/r/p/y in Gazebo). Expecting the drone to eventually recognize the QR code and land safely.

Current Behavior

Because of the angle of the camera (parallel to the ground) I'm having a hard time choosing (x,y,z) coordinates that allow a good view of the QR code. I have tried the recommended (8,0,0) in the tutorial with no luck. It may seem like a trivial problem but has been a major hang-up.

Screenshots

N/A

Failure Logs

N/A

cyanine-gi commented 3 years ago

Maybe you should check your frequency of simulation or try other position to recognize the qr code. Changing the pose of camera on the drone may also help since solve PNP give out the position in QR code coordinate.