These are chat archives for PX4/Hardware

16th
Jun 2016
Andrea Nisticò
@andrea-nisti
Jun 16 2016 12:41
Hello evryone, I have a fast question. Does this schematic taken from ardupilot website apply also to px4 ? http://ardupilot.org/dev/docs/raspberry-pi-via-mavlink.html
I am trying to connect a rasp 3 to the pixhawk running px4
Morten Olsen Lysgaard
@molysgaard
Jun 16 2016 12:49
@andrea-nisti: Yes that would also apply to a pixhawk running px4. The way you do the software stuff (talking to the rasp 3) will be different, as the two softwares (APM and PX4) differ a lot.
Leon
@thedevleon
Jun 16 2016 12:52
Just out of curiosity, what are you using the RP3 for @andrea-nisti? I'm thinking about getting one too, but can't really think of a way to use it yet..
Andrea Nisticò
@andrea-nisti
Jun 16 2016 12:53
@molysgaard @molysgaard Thank you very much. From the software side I will run mavros and hope it will connect easily to the autopilot, the features I need is just to send mocap estimates to px4 and setpoints for offboard control
Leon
@thedevleon
Jun 16 2016 12:54
@andrea-nisti what kind of mocap are you doing? onboard with the rp3 or external?
Morten Olsen Lysgaard
@molysgaard
Jun 16 2016 12:56
@andrea-nisti this is probably relevant for your application: http://dev.px4.io/offboard-control.html
Andrea Nisticò
@andrea-nisti
Jun 16 2016 12:56
@thedevleon mocap feedback is sent via wifi to the rasberry, position commands are generated on a laptop and sent to the rasp
@molysgaard Thank you so much but I was using off board before with success. The problem was that I used the 3dr telemetry radio which are very slow and they lost connection sometimes with obvious consequences.
Now I want to upgrade to a comanion computer setup to ensure a more stable and secure connection
@thedevleon the mocap is an optitrack based on 8 cameras
Nathaniel Noussias
@cosmonate
Jun 16 2016 13:02
@andrea-nisti Have you considered using something like a Emlid Navio2? It might be better for your application, although if you are using PX4 firmware, the hardware support isn’t quite ready yet.
There is also the Erle brain 2, which is basically the same, only the included software has ROS support built in, and PXFMini, which is made to mount on a RPi Zero.
Andrea Nisticò
@andrea-nisti
Jun 16 2016 13:07
well, we already got a rasp 3 here. At first i will try this setup, I don't need much computing power so I think it should be fine. Moreover I've seen on the web that the setup rasp + pixhawk is used a lot. @cosmonate I really hope it will work without too much effort