Connection problem with Dronekit-python, radio telemetry

Hi
I am here to ask you some help because recently, because I have some trouble with arducopter Radio telemetry connection.

I am currently using

  • pixhawk 2.4.8
  • APM:Copter V3.5.3 firmware
  • PX4flow
  • gps
  • ppm encoder with RadioLink radio receiver
  • Radio telemetry
  • Lidar-Lite V3 (connecting via PWM)

The thing is that… there is no problem with connecting to mission planner via ‘USB’ or ‘Radio telemetry’. It works perfect. and I can connect to my copter via dronekit script if I use ‘USB’ cable… strangely, I cannot connect only when I’m using the dronekit script and ‘Radio telemetry’

The console said like this. I can see that the telemetry is receiving the arducopter’s information when I execute the script but it failed to connect after all anyway

Could you give me some advise…? Please help!
Thank you in advance

Hi,

You can add these lines to your connection script:

vehicle = connect(CONNECTION_STRING, wait_ready=False, baud=BAUDRATE)
vehicle.wait_ready(True, raise_exception=False)

I have tested and that way it works. However, it’s weird that you need to set wait_ready to False, it also happens in my case. How is Mission Planner handling this?

As a side note, if you try to send waypoints to the drone after doing this you will start having issues with the wait_ready timeout again. I still don’t know how to fix that issue.

Best,

Javier

hi, did you manage to solve this? i’m having the exact same problem