Hello everyone,

I was just wondering if anyone has tried doing anything with the Raspberry Pi boards and Mission Planner? http://www.raspberrypi.org

If it is possible to get the software working on the board with a usb video capture stick or something you would be able to have full telemetry and video in a footprint that could be stuck to the back of your radio. The power requirement os also quite low, and would be a lot more convenient than balancing a laptop somewhere. 

I will have a more in depth look into it next week :) Just thought I'd see if anyone had looked into this setup at all.http://www.raspberrypi.org

Views: 8555

Reply to This

Replies to This Discussion

@Marty,

There might be a problem trying to get good display resolution as composite video is only 480 lines and I have not seen an inexpensive small LCD display that has an HDMI input. Though the Raspberry Pi does support OLED displays, but those are still small and expensive. Right now the Ardustation with the software upgrade for Mavlink works pretty well.

Just a thought.

Regards,

TCIII

I've looked into this and I see a LOT of pluses to it.  Currently I'm wondering how to get around the fact that the MP requires a windows based system.  To run it on Linux would require that you could get the source code for the MP and compile it with ARMv6 (as the Ras Pi instructions say you must).

I'm not worried about the display running to a screen.  Its been my experience that the glare when running a laptop is tremendous and is only solved by building a sunblock out of cardboard.  Looks awful really.  The other solution is the goggles, but then you cant see the bird manually. 

In short, solve the OS issue for the Ras Pi and then figure out how your going to view it all and you've got a fantastic winner.  A complete wifi capable computer for 125 dollars (comes as a kit) that can easily run off of a Lipo for hours and hours....

Like I said, I see a lot of advantages.

I have been working a little on this over the last day, and have made some progress.

Firstly i did some investigation and it looked like making MP work was going to be quite difficult so i started with
 qgroundcontrol as there is already linux support.

Unfortunatly there is no Binary version of this so it has to be compiled from the source.

Compiling this with the RPi was quite intensive on the little thing and it took about 6 hours to complete the build.

But once it finished i am now able to open it on the RPi and once i connect my 3dr to the usb on the RPi i am able to connect to the APM and see all Mavlink data.

This is a just a start, but its a start and a proof of concept.

But there is one massive issue. The CPU on the Pi is maxing out alot. It just cant keep up. I have overclocked mine to see if that helped, which it does, but i need to do more testing and see how well it works. I dont think its going to be as good as using a laptop.

If you want the binary files i can upload them somewhere and you can try it on your RPi.

Yes, please make the binaries available.  Great job !!!!

I have Raspbian installed on my RPi. Once that is installed you have a couple of options.

Download Here

Or copy and paste the below into your terminal on the RPi.

After that has completed there should be a folder in your home directory called "qgroundcontrol".

Then just run qgroundcontrol.

mkdir qgroundcontrol

cd qgroundcontrol

wget -nH --cut-dirs=1 --level=0  http://corruptsector.com/share/qgroundcontrol.tar.gz

tar -zxvf qgroundcontrol.tar.gz
rm -r qgroundcontrol.tar.gz

Thanks, Ashley.  Hope to try it out this weekend.

hi i tried to start qgroungcontrol at raspberry pi but application cant start

i use standard paspberrypi os image with fast float processing

1. i create directory /home/pi/qgroundcontrol

2. unpack with tar -zxvf qgroundcontrol.tar.gz

3. start application using file manager open dialog its ask  execute or teminal execute.

both do nothing

im windows user and its my first test of linux system

could you give any hints howto start application

Well you want to execute the file not run in terminal.

It possibly will only work with raspbian.

As that is what i compiled it on. Im a Linux noob as well.

What you list above is exactly what i did and it comes right up.

pi@raspberrypi ~/qgroundcontrol $ pi@raspberrypi ~/qgroundcontrol $ ./qgroundcontrol: error while loading shared libraries: libflite_cmu_us_kal.so.1                              : cannot open shared object file: No such file or directory
-bash: pi@raspberrypi: command not found

 sudo apt-get  install flite

next library not found

libosgViewer.so

after many libraries install

starting  and close gui with errors

root@raspberrypi:/home/pi/qgroundcontrol# ./qgroundcontrol
MODE: 0
MODE: 80
MODE: 64
MODE: 88
MODE: 92
MODE: 66
QGLTempContext: No GL capable X visuals available.
true
true
LOADING SETTINGS FROM DEFAULT "/root/.config/QGroundControl/QGroundControl.ini"
NEW WIDGETS: 0
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
TryCorrectGoogleVersions, VersionGoogleSatellite: "125"
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: QMYSQL3 QMYSQL
QGLContext::makeCurrent(): Cannot make invalid context current.
QGLContext::makeCurrent(): Cannot make invalid context current.
Segmentation fault
root@raspberrypi:/home/pi/qgroundcontrol#

I would try running this project on the Pi https://github.com/wiseman/mavelous

Reply to Discussion

RSS

© 2019   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service