* Merge cyberzoo model (squashed) Squashed commit of the following: commit4ea7054205Author: Tom van Dijk <tomvand@users.noreply.github.com> Date: Tue Feb 6 11:30:28 2018 +0100 Remove origin marker from worlds commitc008c9658aAuthor: Tom van Dijk <tomvand@users.noreply.github.com> Date: Fri Feb 2 17:25:11 2018 +0100 Compress textures Reduced texture dimensions. Size of model folder is now approx. 20 MB instead of 60+ MB. commit5b63fc1988Author: Tom van Dijk <tomvand@users.noreply.github.com> Date: Fri Feb 2 17:03:26 2018 +0100 Minor tweaks to models commited003351d1Author: Tom van Dijk <tomvand@users.noreply.github.com> Date: Fri Feb 2 15:26:28 2018 +0100 Add cyberzoo props commit751b94364aAuthor: Tom van Dijk <tomvand@users.noreply.github.com> Date: Thu Feb 1 15:03:30 2018 +0100 Restore cyberzoo floor collision box commit1d4fd2d92fAuthor: Tom van Dijk <tomvand@users.noreply.github.com> Date: Thu Feb 1 14:59:44 2018 +0100 Add cyberzoo surroundings to main model in separate layers commit9df9f2832cAuthor: Tom van Dijk <tomvand@users.noreply.github.com> Date: Thu Feb 1 14:48:06 2018 +0100 Separate cyberzoo model into layers Makes it easier to hide parts of the model in the GUI. commitf8c4221e98Author: Tom van Dijk <tomvand@users.noreply.github.com> Date: Thu Feb 1 11:47:52 2018 +0100 Add daylight in windows on outer walls commitb0e6a0c572Author: Tom van Dijk <tomvand@users.noreply.github.com> Date: Mon Jan 29 16:25:08 2018 +0100 Remove old cyberzoo model, fix dependencies commitdd54000771Author: Tom van Dijk <tomvand@users.noreply.github.com> Date: Mon Jan 29 15:04:43 2018 +0100 Add cyberzoo world with orange poles for orange_avoider commita34e285082Author: Tom van Dijk <tomvand@users.noreply.github.com> Date: Mon Jan 29 14:30:47 2018 +0100 Set world coordinates and rotation, fix naming conflict commit1a99ebb7bdAuthor: Tom van Dijk <tomvand@users.noreply.github.com> Date: Thu Jan 18 11:58:06 2018 +0100 Create cyberzoo world To-do: set origin coordinates and rotate environment commitebf7eaf9a7Author: Tom van Dijk <tomvand@users.noreply.github.com> Date: Thu Jan 18 11:41:37 2018 +0100 Minor fixes to surroundings commitc57312c557Author: Tom van Dijk <tomvand@users.noreply.github.com> Date: Thu Jan 18 11:15:09 2018 +0100 Add updated cyberzoo surroundings and outside walls commit58914e14aeAuthor: Tom van Dijk <tomvand@users.noreply.github.com> Date: Wed Jan 17 17:24:57 2018 +0100 Add first draft of cyberzoo surroundings commit40712f5f3bAuthor: Tom van Dijk <tomvand@users.noreply.github.com> Date: Tue Dec 12 13:45:25 2017 +0100 Fix cyberzoo origin commite47f76cee5Author: Tom van Dijk <tomvand@users.noreply.github.com> Date: Tue Dec 12 13:34:11 2017 +0100 Fix orange_pole2 smoothing errors commitb1e08695e7Author: Tom van Dijk <tomvand@users.noreply.github.com> Date: Tue Dec 12 13:09:09 2017 +0100 Add orange pole and traffic mat objects commit8bd3d214e6Author: Tom van Dijk <tomvand@users.noreply.github.com> Date: Fri Dec 8 14:48:53 2017 +0100 Fix optitrack camera color commit59e7b67fefAuthor: Tom van Dijk <tomvand@users.noreply.github.com> Date: Fri Dec 8 14:43:39 2017 +0100 Fix lighting colors commit810e6124c1Author: Tom van Dijk <tomvand@users.noreply.github.com> Date: Fri Dec 8 14:20:47 2017 +0100 Fix optitrack cameras commite6e17c2677Author: Tom van Dijk <tomvand@users.noreply.github.com> Date: Fri Dec 8 14:10:55 2017 +0100 Import improved model commite9ed496af9Author: Tom van Dijk <tomvand@users.noreply.github.com> Date: Thu Nov 30 16:38:22 2017 +0100 Fix ambient lighting of cyberzoo_solid commit0e1c2600d6Author: Tom van Dijk <tomvand@users.noreply.github.com> Date: Wed Nov 29 14:38:05 2017 +0100 First steps towards detailed cyberzoo model. Got transparency working. * Fix altitude overshoot in simulation - Bypass INS - Set nominal hover throttle to 0.51 (verified in simulation and on real drone). * Fix INS horizontal offset - Set flight plan origin to match gazebo spherical coordinates, prevents https://github.com/paparazzi/paparazzi/issues/2134#issuecomment-342493105 * Increase link lost timeout to 5s Otherwise gazebo will continuously lose link. Might need to lower this for real-world flights... * Fix image.c compilation warnings * Move dummy waypoint to 0, 0 Should prevent "waypoint 'dummy' too far from HOME" warnings when max_dist_from_home is small (e.g. cyberzoo flightplans) and when HOME is set appropriately close to the flight plan origin. * Rename 2017 -> 2018 Also removed simulation aircraft as it is no longer necessary. * Move modules to firmware section * Restore original nominal throttle Nominal throttle of 0.51 was measured without bumpers! 0.68 is correct with bumpers attached. Instead, increased the weight of the gazebo model. * Clean up control panel - Removed Bebop video stream since it did not work - Removed the Gazebo tool. When pointed to /usr/bin/gazebo it does actually start, but the GAZEBO_MODEL_PATH appears to be ignored this way. Also added conf/video.sdp to simplify video streaming (no such file was present in var). * Tag airframe after successful test flight Performed test flight in cyberzoo with course2018_orangeavoid flightplan in NAV mode. * Fix Gazebo tool, add Simulation - Gazebo + Joystick session The new gzclient_launcher.sh script sets up the correct GAZEBO_MODEL_PATH (which was not available when gzclient was started from the Paparazzi Center even if it was added to ~/.bashrc). It also allows the client to be killed from the pprz center. * FIX remove natnet from simulation session * Retune INDI for Bebop1 with bumpers Previous tuning resulted in slight attitude oscillations. * Tag after successful testflight * Add GCS flags * Change gazebo bebop colors * Disable light and shadows Top light caused ogre crash in gazebo 8.3 (not sure if version error or weak gpu). Disabled shadow for performance since there is no light anymore. * Reduce bebop front cam FoV to fix AxisAlignedBox crash in gazebo7 Apparaetly gazebo 7 does not yet support wide-angle cameras with HFoVs above 180deg. * Distance Counter Python * Cleanup after merge * Remove image.c fix (see #2237) * Add 'Simulation - Gazebo' session Avoids errors when joystick is not connected.
MAIN README
Paparazzi UAS
Paparazzi is a free open source software package for Unmanned (Air) Vehicle Systems. For many years, the system has been used successfuly by hobbyists, universities and companies all over the world, on vehicles of various sizes (11.9g to 25kg). Paparazzi supports fixed wing, rotorcraft, hybrids, flapping vehicles and it is even possible to use it for boats and surface vehicles.
Up to date information is available on the wiki http://wiki.paparazziuav.org
To get in touch, subscribe to the mailing list [paparazzi-devel@nongnu.org] (http://savannah.nongnu.org/mail/?group=paparazzi), the IRC channel (freenode, #paparazzi) and Gitter (https://gitter.im/paparazzi/discuss).
Required software
Instructions for installation can be found on the wiki (http://wiki.paparazziuav.org/wiki/Installation).
For Ubuntu users, required packages are available in the [paparazzi-uav PPA] (https://launchpad.net/~paparazzi-uav/+archive/ppa), Debian users can use the [OpenSUSE Build Service repository] (http://download.opensuse.org/repositories/home:/flixr:/paparazzi-uav/Debian_7.0/)
Debian/Ubuntu packages:
- paparazzi-dev is the meta-package on which the Paparazzi software depends to compile and run the ground segment and simulator.
- paparazzi-jsbsim is needed for using JSBSim as flight dynamics model for the simulator.
Recommended cross compiling toolchain: https://launchpad.net/gcc-arm-embedded
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)
doc: documentation (diagrams, manual source files, ...)
sw: software (onboard, ground station, simulation, ...)
var: products of compilation, cache for the map tiles, ...
Compilation and demo simulation
-
type "make" in the top directory to compile all the libraries and tools.
-
"./paparazzi" to run the Paparazzi Center
-
Select the "Microjet" 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".
-
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 the embedded software
-
Power the flight controller board while it is connected to the PC with the USB cable.
-
From the Paparazzi center, select the "ap" target, and click "Upload".
Flight
- From the Paparazzi Center, select the flight session and ... do the same as in simulation !
