Home        Store        Docs        Blog

Raspberry pi can't connect with the pixhawk


(Zan Rui) #1

Hi guys!
My problem is as follows. I downloaded a image from Raspberry Pi official web, and I runed the setup.sh inorder to make a ardusub-raspbian image by myself. Here is the question !
When I runed
The result was
Connect /dev/serial/by-id/usb-3D_Robotics_PX4_FMU_v2.x_0-if00,115200 source_system=200

Failed to connect to /dev/serial/by-id/usb-3D_Robotics_PX4_FMU_v2.x_0-if00,115200 : [Errno 2] could not open port /dev/serial/by-id/usb-3D_Robotics_PX4_FMU_v2.x_0-if00: [Errno 2] No such file or directory: ‘/dev/serial/by-id/usb-3D_Robotics_PX4_FMU_v2.x_0-if00’

(Jacob) #2

Hello! If you are using our ArduSub Raspbian image, then you do not need to run setup.sh. Setup.sh is actually out of date, and it would be better if you re-imaged your SD card with our ardusub-raspbian image.

Other than that, it looks like you might not have a Pixhawk plugged into your raspberry pi. Can you show the output of
ls /dev/tty*
and ls /dev/serial/by-id ?

(Zan Rui) #3

Thank you ,Jacob! I just want make my own raspberry system like the function of ardusub raspbian image, and I am sure the pixhawk had plugged into raspberry pi.

(Jacob) #4

Uf, @zanran8, you are showing a different error today than you were yesterday. It looks like something is messed up with your mavproxy installation. I really recommend just following the instructions for burning our pre-configured image to the sd card. Then everything will work, be up to date, and start up automatically at boot.

(Zan Rui) #5

@jwalser. Alright,I will use ardusub-raspbian image!Thank you!