Skip to content

Unable to connect Pixhawk to Raspberry Pi using MAVSDK  #556

Closed
mavlink/MAVSDK
#2006
@aadithyasujit

Description

@aadithyasujit

Hi @julianoes,
I am trying to connect my Pixhawk 4 (running PX4) to Raspberry Pi 3/4 using MAVSDK but end up with the below error. I have installed MAVSDK using the pip3 command following instructions from here.
image
I am using an FTDI adapter and connecting the pixhawk to Pi using usb & use the below command to connect to the Pixhawk
image

In an attempt to troubleshoot, I am able to receive data on the port when i checked screen using screen /dev/ttyUSB0 and when I try the connecting using using Mavproxy, it works fine. But I have not been able to establish a connection MAVSDK.
What else would I have to check in order to get this working with MAVSDK?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions