Get Adobe Flash player
Banner
Error
  • Delete failed: 'joomsef.cache'
  • Delete failed: 'cache__0482d012660b2620d029b0faa9b8f06b'
  • Delete failed: 'cache__074ec921d137ae5c864de73abd89406c'
  • Delete failed: 'cache__0c7d3cd64e9a8145ffa536554d7f3606'
  • Delete failed: 'cache__0d09950006d2d4d9d7cbf9d307dbee1f'
  • Delete failed: 'cache__0deb5218b5a94ff4643fe8a44ce0af52'
  • Delete failed: 'cache__15206fda057623f6ac7232383c82fa59'
  • Delete failed: 'cache__1965e8ff15caec7d575876a0838f4e42'
  • Delete failed: 'cache__1b1fde0e2ca55b22209751e7d3a8d33c'
  • Delete failed: 'cache__1d83a35e54bfafa4795d2b4d62abcc2f'
  • Delete failed: 'cache__220c94a0180046235e76b4eb6a0043bf'
  • Delete failed: 'cache__229c9a0e6b2ce7108ae64d8c10d885d3'
  • Delete failed: 'cache__2379b1c3230a3e844191002be5785f34'
  • Delete failed: 'cache__25aa8d4e0962d64ff54b0b944835ceba'
  • Delete failed: 'cache__2df841c66e38f9e148f51b472d4f70df'
  • Delete failed: 'cache__2e7dca24b073c2d1e9542e933ef020eb'
  • Delete failed: 'cache__2f43826e644bd53b88d58d9581857392'
  • Delete failed: 'cache__31be10e778f1a76e4ac179be5a67925d'
  • Delete failed: 'cache__3bc462edd477cc130de98cec877163ae'
  • Delete failed: 'cache__3f8f99b2905d72bd9e9ddbb68905275f'
  • Delete failed: 'cache__405f08078954ec6dff65d93d5bc6be16'
  • Delete failed: 'cache__4080216f498116668921fdf5c2b2f04c'
  • Delete failed: 'cache__409fbd4f9bd684958d59fb315fcf621c'
  • Delete failed: 'cache__42379a05b2f55c2fed97acdcce09cc91'
  • Delete failed: 'cache__4516a0fb9c3683e5968a5e6bc9ca6407'
  • Delete failed: 'cache__49c80b1df49a4817d5f506cf18cc8024'
  • Delete failed: 'cache__4ce13c65ca3185402f75b67f0d0fd104'
  • Delete failed: 'cache__4ef11a48e80d4165facef79617d853d7'
  • Delete failed: 'cache__4f45e9df8df65a3c05bc4c214b306760'
  • Delete failed: 'cache__51d61599e786ba3812d16f85a205bb5d'
  • Delete failed: 'cache__590e78641472e960d63f40b62c0076b7'
  • Delete failed: 'cache__5997b3c37b73750fca1a1c0be2798c34'
  • Delete failed: 'cache__59e300644b6146b4d249fd20499badde'
  • Delete failed: 'cache__5a7fea53c586b6ea81ad78d9d90cd4fe'
  • Delete failed: 'cache__5b6de05d88255a996c4667ed6ce23fac'
  • Delete failed: 'cache__5cda0b7faeee11fab1c9f0b65c5b490d'
  • Delete failed: 'cache__5ed516b504c8b1f3a8b128a5ddd99538'
  • Delete failed: 'cache__6338aca1f4c0b048cbb19a0bf0fd1e23'
  • Delete failed: 'cache__6484c800a9dfdd098b6b84717ee0f031'
  • Delete failed: 'cache__6a84ad70d16687dc05b879775a2cfa5a'
  • Delete failed: 'cache__6bc5317055e2eb09470d5752784e51d5'
  • Delete failed: 'cache__6c6d1f45c33b7958bb5404ec6a9b9b87'
  • Delete failed: 'cache__7212917447b342e32644519e5ffabe37'
  • Delete failed: 'cache__738e543a3bc0f2a04b51dba2a82c3ef0'
  • Delete failed: 'cache__75b9883e6e84121c231fa3f697af2ae3'
  • Delete failed: 'cache__7627e3ae0680e262194e692d9e585aca'
  • Delete failed: 'cache__76e22fa1abeadea6ed25016b05dade54'
  • Delete failed: 'cache__7862109043b4e4560e439430b6bbf672'
  • Delete failed: 'cache__7f044b9858bedc8d27a3642aa90dd446'
  • Delete failed: 'cache__7f4f6d676584d4ea6ad6d7b4a3459810'
  • Delete failed: 'cache__7fde12ba2801f73d48f68aa14a3fde6c'
  • Delete failed: 'cache__93016dfdd114cbb603aadd164e9d4d3b'
  • Delete failed: 'cache__9a342c0fee331af73c9eb29e76224efa'
  • Delete failed: 'cache__9ded8c75eb4091f2a60a416a6e45d6de'
  • Delete failed: 'cache__9f8bd4e8fc6ed8b07945cf19d26dd349'
  • Delete failed: 'cache__a218ef0dc2a9df18e24398fce94a52cf'
  • Delete failed: 'cache__a9589137de428d087cf7d890afcec836'
  • Delete failed: 'cache__b14527d981f6aaa8b825ab61c047191d'
  • Delete failed: 'cache__b588f2f3b1c446cd987cb18ceb57b651'
  • Delete failed: 'cache__b9349ab54b150e89816f49979eab3baa'
  • Delete failed: 'cache__ba955b54c1c3b386f53813a32435fb76'
  • Delete failed: 'cache__babb14759344e231d655ab90f78192f0'
  • Delete failed: 'cache__bc0af921c7f0e53487e90427ea464b99'
  • Delete failed: 'cache__bd33fb7f339358fbfc1b3719e86d208e'
  • Delete failed: 'cache__beb2c1f164a818eb30f184118b00a491'
  • Delete failed: 'cache__c8b34566dad6456764e591ff80c458e9'
  • Delete failed: 'cache__d0b46c2feb9f407139f471cecba02de0'
  • Delete failed: 'cache__dc862fd4397cd77bd16012d5c36d761f'
  • Delete failed: 'cache__e190556de9df697aa63e87d676c0f47d'
  • Delete failed: 'cache__e2bf3c6a2852d5a630414700cc351abc'
  • Delete failed: 'cache__e6c9490fedb01eca0a4942ae20c8d528'
  • Delete failed: 'cache__ef90670a54b3858bf84e8fbb8f1b75b8'
  • Delete failed: 'cache__f95c9feb3b0efc9f461cc57a8969a942'

Overall outline of this guide:

1.      Installing Linux Ubuntu 11.04, estimated time to complete 1hr (not including download time).

2.      Installing Paparazzi Ground Control Station software, estimated time to complete 45min.

Note: Ubuntu has a 6 month regular release cycle which means this guide will have to be updated to match the latest Ubuntu release. Please email me if the latest version of Ubuntu does not match the one listed above and i will update the guide.

 

What you will need:

·        A laptop, the laptop does not have to be high performance but should have the following capabilities:

o   Able to be dedicated to the project, dual booting Windows/Linux can cause issues so it is best to avoid any unnecessary complexity until you are more confident with the system.

o   Optical drive (for the Ubuntu install CD/DVD).

o   At least 1 USB port.

o   Ability to connect to the internet (via WIFI or otherwise).

o   At least 256Mb of RAM.

o   Able to run on its battery for at least 2 hours (for use at the airfield).

o   Able to access the system BIOS.

·        Linux Ubuntu 10.04 Lucid, select the version appropriate to your hardware download here.

·        A Windows machine with a CD burner and a 700mb CDR.

·        PowerISO a CD/DVD image file processing tool download here: http://www.poweriso.com/download.htm

Install Linux Ubuntu 10.10

OK, let’s get started, I won’t be focusing too much on how to install Ubuntu but rather getting the Paparazzi ground station (GCS) working. That said I will provide the outline of installing the correct version of Ubuntu as there were some recent issues relating to the operation of the GCS that were overcome by Ubuntu 10.10. If you run into problems during the Ubuntu install please consult Ubuntu support documentation and forums: http://www.ubuntu.com/support

1.      Using your windows machine download Ubuntu 11.04 Natty.

2.      Open the Ubuntu file that you just downloaded with PowerISO.

3.      Insert your CD-R.

4.      Click the burn button and follow the prompts.

****now go to the laptop you want to install Linux Ubuntu on****

5.      Set the laptop to boot from the CDROM drive if you are unsure how to do this please consult your laptop documentation or have a look at this guide: http://www.hiren.info/pages/bios-boot-cdrom

6.      Insert the Linux CD you just created and reboot your laptop.

7.      Let the laptop load and select “Install Ubuntu” and follow the prompts.

8.      Ensure that you are able to get access to the Internet (critical).

9.      Navigate to: System --> Administration --> Update Manager, click the Check button and then the Install Updates button.

10. Ubuntu should now be ready to use and fully compatible with Paparazzi

 

Install Paparazzi GCS

Alright, now that you have successfully setup Linux Ubuntu 11.04 on your laptop we are about to do the following things:

1.      Tell Ubuntu where to find the Paparazzi repository of files on the internet.

2.      Search for, download and install the required package files via the Synaptic Package Manager (SPM). The SPM is a program in Ubuntu that provides a graphical interface for downloading and installing Ubuntu packages. The point of this is to partially reduce the need to use the command line.

3.      Download source code from the subversion repository.

4.      Compile the source code and set USB access rights.

5.      Create a quick launch icon for the desktop.

Ok let’s begin!

Telling Ubuntu where to find the paparazzi files to download.

1.      Navigate to: System --> Administration --> Software Sources, you will probably have to enter your admin password that you created during the install.

2.      Click on the Other Software tab.

3.      Click on the Add button in the bottom left corner

4.      It will pop up with a window asking for the APT line this is the location of the repository of files, enter the following:

deb http://paparazzi.enac.fr/ubuntu natty main

5.      Ensure that you have no spaces at the ends of the line and click the Add Source button.

 

Search for and download files via the Synaptic Package Manager

 The purpose of this is to provide the dependencies needed for compiling from the source code (next section).

1.      Navigate to: System --> Administration --> Synaptic Package Manager, you will probably have to enter your admin password again.

2.      Click the Reload button in the top left of the screen this refreshes your list of available packages so now the Paparazzi repository you just added will be included in search results.

3.      Click the Search button (not Quick Search).

4.      Type “Paparazzi” and click search.

5.      The paparazzi-arm7 and paparazzi-dev packages should now be showing, right click both and select Mark for Installation.

6.      Then click the Apply button follow any prompts and the packages will be downloaded and installed to your laptop.

 

Download and Install the source code.

Ok what’s happening in this step is the source code is being downloaded from the subversion directory and installed into the /home_folder/paparazzi3/ directory.

1.      Navigate to: Accessories --> Terminal, the terminal is used to provide access to the command line.

2.      You will see a blinking cursor and the default directory you are in should look like this

adam@UAV-Ground-Station:~$

where “adam” is the user name and consequently the name of the home folder and “UAV-Ground-Station” is the name of the computer. This means that when you type something in the command line you are instructing the Terminal to act on the files in the directory you are currently in.

3.      Now simply enter one of the following codes into the Terminal (copy paste is a good idea)

svn co svn://svn.savannah.nongnu.org/paparazzi/paparazzi3/trunk paparazzi3

If that code fails you are probably behind a firewall, if you have an http proxy available use the following code.

svn co http://svn.savannah.gnu.org/svn/paparazzi/paparazzi3/trunk paparazzi3

Compile and run the Paparazzi GCS

Alright almost there, the purpose of compiling is to turn the source code into machine language for the computer to read, and starting programs in Linux is a bit different to Windows so I will take some time to explain.

1.      To compile the source code we first need to tell the Terminal where to find the code we want to compile, if you remember from the previous section we downloaded the source code to the /home_folder/paparazzi3 directory. So the first thing to do is to tell the Terminal to look at the /paparazzi3 directory. Seeing as we are currently in the /home_folder/ directory we need only type:

cd paparazzi3

You should now see something like:

adam@UAV-Ground-Station:~/paparazzi3$

2.      The next step is to simply type:

make

The make command looks for a “make file” which is in the /paparazzi3 directory and suffices to say brings together all the dependencies/source code required to run the Paparazzi GCS and compiles it for you, SWEET!

Note: if you are getting errors please go back and review these instructions as you are most likely missing a dependency somewhere or are in the wrong directory.

3.      While you are in the /paparazzi3 directory you should set the access rights for the USB simply type:

sudo adduser “your user name” plugdev

So in my case it was:

sudo adduser adam plugdev

You will probably have to enter your administrator password and you will also probably get the message: The user ‘your user name’ is already a member of ‘plugdev’.

4.      The majority of people should already be a member of plugdev so if you were already a member please proceed to step 5. But if you were not please restart your Terminal and follow the instructions for changing your directory back to /paparazzi3 before proceeding with step 5.

5.      Now we must add a rule to the plugdev group, this can be simply done by executing the following command from the /paparaazi3 directory which you should currently be in.

sudo cp conf/system/udev/rules/10-paparazzi.rules /etc/udev/rules.d/

 

6.      Once that has been successfully completed you can test run the GCS by typing (ensure you are in the /paparazzi3 directory):

./paparazzi

verify that the GCS has booted and then close it down.

Create a quick launch icon for the desktop.

We are going to create an icon on the desktop so you don’t have to manually type codes into the Terminal each time you want to start the GCS.

1.      Save this image file to your /paparazzi3 folder

2.      Right click anywhere on the Ubuntu desktop and click Create Launcher.

3.      Enter the following in the fields provided:

Name: Paparazzi GCS

Command: /home/YOUR_USER_NAME/paparazzi3/paparazzi

Comment: Runs the Paparazzi GCS, logo image from: http://paparazzi.enac.fr/wiki/Main_Page

Then click the icon image in the top left on the dialog box and select the Paparazzi logo you just downloaded.

4.      Click the OK button and that’s it! your icon should appear on the desktop and you are ready to go.

This guide is written based on the information provided by: http://paparazzi.enac.fr/wiki/Main_Page and the users of the rcgroups forum: http://www.rcgroups.com/forums/showthread.php?t=851820

 

 


Tagged in: Ubuntu , tutorial , Paparazzi , Linux , Karmic , guide , getting started
Banner
Banner