mavlink / MAVSDK-Python

MAVSDK client for Python.
https://mavsdk.mavlink.io
BSD 3-Clause "New" or "Revised" License
323 stars 220 forks source link

Takeoff without GPS and control device #583

Open cyb3rL1ght opened 1 year ago

cyb3rL1ght commented 1 year ago

Good afternoon dear developers!!! Remark: I live in a region where GPS catches poorly due to bad weather! it's connected, but I wouldn't want to use it! Question: How can I take off without using GPS and radio control? I want to use only mavsdk_server + pycharm on my laptop Go....I have: Pixhawk 6x with GPS M8 connected to it, Eth cable for connection to a companion computer, esc, motors (schematic diagram is shown below) 1

The connection is established using the MAVLINK-ROUTER (the connection works fine) AND THERE ARE NO OTHER COMMUNICATION HARDWARE!!!(no radio control)

1 5

After turning on the quadcopter, I get an error message (screenshot below) 2

After pressing the ARM button, I see another message: “Arming denied! manual control lost” 3

And I can’t do anything else! I tried to change the parameter COM_RC_IN_MODE = 4, COM_ARM_WO_GPS, but that didn’t help either! 4 5

julianoes commented 1 year ago

This is more of a PX4 question than a MAVSDK one.

However, given you've a lot of detail which is helpful, I'll try to give some hints.

I think the problem is that you're trying to arm in Manual mode, which is - as the name suggests - a manual name, so it needs "manual" input. If you have neither RC nor a joystick in QGC configured, then you don't have any manual input and therefore it just doesn't work. How would it know where/how to fly?