Pixhawk controll using raspberry pi

I want to control pixhawk using raspberry pi 2!
Is it possible to do that?

http://dev.px4.io/ros-raspberrypi-installation.html and http://ardupilot.org/dev/docs/raspberry-pi-via-mavlink.html maybe give you some information

It is currently work in progress but feel free to join in and get this working.

What i need is that I want to control the drone using raspberry pi and send throttle/aileron/elevator/rudder command and control the drone using the radio when its necessary.

Please explain more.

As I said it’s unfortunately work in progress. Feel free to flash it, dive into the code and start tinkering with it. I’ll report back when things are in better shape.

Is there any version of the nightly changes that i could view the progress? thanks

No but you can check the pull requests that are tagged with “raspberry_pi”:

Is it a really big issue to send commands? its easy to do that in multiwii,apm and etc!

@Ahmadi I think this is a misunderstanding. We do of course support sending commands from a RPI:



What Julian meant is running the flight control code on RPI. That is work in progress and some developers are flying it already.

@LorenzMeier, is Dronekit an alternative to using ROS, or a supplementary set of packages? From what I’ve read, it seems that both are used as a medium to send Mavlink data to the Pixhawk, and that you can use either one individually.

Is this something that’s fully developed, or a work in progress? I haven’t found many examples of fully running code online where an RP2 is controlling the Pixhawk. I plan on trying this out soon.

1 Like