Difference between revisions of "Installation/MacOSX"

From PaparazziUAV
Jump to navigation Jump to search
Line 27: Line 27:


= Configuration =
= Configuration =
edit paparazzi/conf/control_panel.xml and set the ivy_bus variable to be <your IP Network>:2010
[[Image:NetworkPreferences.png|thumb|right|150px|]]
[[Image:NetworkPreferences.png|thumb|right|150px|]]
At the moment it the Ivy bus doesn't like to talk on the standard loopback network on Macs.
To work around this issue set the environment variable IVY_BUS to be the broadcast address of the network your using. For example: <pre>export IVY_BUS=192.168.1.255</pre>
Note that your network address is the network you are currently using. If you are at home configuring on a wireless network, that network won't be available out in the field.


=Running Paparazzi=
=Running Paparazzi=

Revision as of 19:55, 19 January 2011

The task of building Paparazzi on for Apple MacOS X is on going.

The current installation instructions are as follows. As the process evolves and the more people begin to use it the process will become easier and more simplified.

Installing from source

  1. Install the latest XCode http://developer.apple.com/technologies/tools/xcode.html
  2. Install MacPorts from http://www.macports.org/install.php
  3. Install GIT
    sudo port install git-core
  4. Get a local copy of the Paparazzi Portability Support source
    git clone git://github.com/paparazzi/paparazzi-portability-support.git
  5. edit /opt/local/etc/macports/sources.conf and above the rsync://... line add file://<local path>/paparazzi-portability-support/darwin/macports/ports/ [nosync] for example:
    file:///Users/dummyuser/projects/paparazzi/paparazzi-portability-support/darwin/macports/ports/ [nosync]
  6. Install paparazzi
    sudo port install paparazzi
    # then go and have lunch, get a coffee, get some sleep. this will probably take a long time
  7. edit /etc/profile and add export CPPFLAGS="-I/opt/local/include" (TODO: Remove the need for this)


If you want to follow the standard Paparazzi Git install then the prerequisite software can be installed by running the command

sudo port install paparazzi-tools


Installation using the binary installer

  1. Install the latest XCode http://developer.apple.com/technologies/tools/xcode.html
  2. Download the paparazzi binary installer from http://TODO find a place to host this file
  3. Install paparazzi by double clicking on the downloaded file paparazzi.mpkg
  4. edit /etc/profile and add export CPPFLAGS="-I/opt/local/include" (TODO: Remove the need for this)


If you want to follow the standard Paparazzi Git install then the prerequisite software can be installed by downloading the paparazzi-tools binary installer from http://TODO find a place to host this file and installing the tools by doublclicking on the downloaded file paparazzi-tools.mpkg


Configuration

NetworkPreferences.png

At the moment it the Ivy bus doesn't like to talk on the standard loopback network on Macs.

To work around this issue set the environment variable IVY_BUS to be the broadcast address of the network your using. For example:

export IVY_BUS=192.168.1.255

Note that your network address is the network you are currently using. If you are at home configuring on a wireless network, that network won't be available out in the field.

Running Paparazzi

Paparazzi can be started in the usual way

cd ~/paparazzi
./paparazzi

When launching the GCS the ivy bus network needs to be specified.

  1. Close all processes using the stop button
  2. add -b <network>.255 to each command
  3. start the processes again
PaparazziMacOSX.png

Changing the gtk look and feel

Run /opt/local/bin/switch2 to select a different theme. More detailed instructions can be found at http://gtk.php.net/manual/en/html/tutorials/tutorials.installation.macosx-stepbystep.html

Additional themes can be downloaded from http://art.gnome.org/themes/gtk2

FTDI Drivers

FTDI drivers can be downloaded from FTDI