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

takoff failed #125

Closed cillian-bao closed 3 years ago

cillian-bao commented 3 years ago

when I run:rostopic echo /mavros/state, I got this output:

header: seq: 602 stamp: secs: 602 nsecs: 312000000 frame_id: '' connected: True armed: False guided: True manual_input: False mode: "AUTO.LAND" system_status: 3

in the end, Iwhe I run:python px4_mavros_run.py,I got: Px4 Controller Initialized! Vehicle Took Off Failed! I think it is the mode:"AUTO.LAND"'s problem

malfarizit commented 3 years ago

hi @cillian-bao i think u should change mode to "MANUAL"

rosrun mavros mavsys mode -c MANUAL

or u can restart your roslaunch.

cyanine-gi commented 3 years ago

Check out your px4 configuration in QGC and set mode to position manually before takeoff may help. If possible, connect your RC controller and make sure that QGC spot it, so that the drone won't just drop to fail-safe condition.