mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 14:18:00 +08:00
100 lines
3.3 KiB
Plaintext
100 lines
3.3 KiB
Plaintext
# Paparazzi $Id$
|
|
# Copyright (C) 2003-2006 Pascal Brisset Antoine Drouin
|
|
#
|
|
# This file is part of paparazzi.
|
|
#
|
|
# paparazzi is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; either version 2, or (at your option)
|
|
# any later version.
|
|
#
|
|
# paparazzi is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with paparazzi; see the file COPYING. If not, write to
|
|
# the Free Software Foundation, 59 Temple Place - Suite 330,
|
|
# Boston, MA 02111-1307, USA.
|
|
|
|
Intro
|
|
-----
|
|
|
|
Paparazzi is an attempt to develop a cheap fixed wing UAV (Unmanned Air
|
|
Vehicle). As of today we have successfully flown autonomously several small
|
|
electro powered fixed wing aircraft (Twinstar, Microjet, ...).
|
|
|
|
Up to date informations are available from the wiki website
|
|
|
|
paparazzi.enac.fr
|
|
|
|
and from the mailing list (http://savannah.nongnu.org/mail/?group=paparazzi)
|
|
and the IRC channel (freenode, #paparazzi).
|
|
|
|
Directories quick and dirty description:
|
|
---------------------------------------
|
|
|
|
conf: the configuration directory (airframe, radio, ... descriptions).
|
|
|
|
data: where to put read-only data (e.g. maps, terrain elevation files, icons)
|
|
|
|
hw: hardware (electronic schemas, PCBs, ...)
|
|
|
|
sw: software (onboard, ground station, simulation, ...)
|
|
|
|
var: products of compilation, cache for the map tiles, ...
|
|
|
|
debian: Debian packaging control files
|
|
|
|
|
|
Required Software
|
|
-----------------
|
|
|
|
Installation is described in the wiki (paparazzi.enac.fr/wiki/Installation).
|
|
Main requirements include
|
|
- OCaml (ocaml.org), xml-light library (http://tech.motion-twin.com/xmllight)
|
|
- gcc, GTK2, Glib2, libgnomecanvas, libxml2
|
|
- ARM7 micro-controller development environnment (gcc, loader, libc, binutils)
|
|
- ...
|
|
|
|
For Debian or Ubuntu users, required packages are available at
|
|
|
|
http://paparazzi.enac.fr/debian
|
|
|
|
Installation of the meta-package "paparazzi-dev" will install
|
|
everything needed to compile this project (if something is missing,
|
|
please ask) for simulation. "paparazzi-arm7" is required to compile
|
|
the code for the ARM based boards.
|
|
|
|
Compilation and demo simulation
|
|
-------------------------------
|
|
|
|
1) "make" in the top directory to compile all the libraries and tools.
|
|
|
|
2) "./paparazzi" to run the Paparazzi Center
|
|
|
|
3) Select the "MJ5" or the "TJ1" aircraft in the upper-left A/C
|
|
combo box. Select "sim" from upper-middle "target" combo box. Click
|
|
"Build". When the compilation is finished, select "Simulation" from
|
|
the upper-right session combo box and click "Execute".
|
|
|
|
4) In the GCS, wait about 10s for the aircraft to be in the "Holding
|
|
point" navigation block. Switch to the "Takeoff" block (lower-left
|
|
blue airway button in the strip). Takeoff with the green launch button.
|
|
|
|
Uploading of the embedded software
|
|
----------------------------------
|
|
|
|
1) Power the flight controller board while it is connected to the PC with
|
|
the USB cable.
|
|
|
|
2) From the Paparazzi center, select the "ap" target, and click "Upload".
|
|
|
|
|
|
Flight
|
|
-------------------------------------
|
|
|
|
1) From the Paparazzi Center, select the flight session and ... do
|
|
the same than in simulation !
|