Commit Graph

13881 Commits

Author SHA1 Message Date
Felix Ruess 078ef199d8 Merge first part of Pixhawk board support
First PR for getting Pixhawk to play nice with PPRZ.

The Pixhawk can be flashed without external tools (i.e. no JTAG interface is needed). Instead, the PX4 bootloader is kept in place and used by pprz to flash both the AP (stm32f4) and FBW (stm32f1) devices. One important remark is that for the FBW device, currently the computer needs to be connected to the Telem2 port using a FTDI cable. This is because pprz does not support serial communication over USB, or so I've heard.

In any case, the Iris+ drone factory equipped with a Pixhawk flies both on INDI and PID in ATT mode. However, PPRZ currently uses the MPU6000 IMU, which was broken in my Iris+ (and there are indications that maybe in others Iris' and X8's as well). I had to replace it with a fresh Pixhawk.

Also tested with a Pixhawk clone: seems to work just as well.

closes #1551
2016-03-11 18:04:16 +01:00
Felix Ruess b9db73653a Merge pull request #1564 from rmeertens/conffixcourse
fixed course conf
2016-03-11 17:18:12 +01:00
Felix Ruess 948eaa0733 Merge pull request #1565 from enacuavlab/nps_wind
some more wind support for NPS
- direct input from flight gear socket (you can hence set Wind via FlightGear)
- request for WORLD_ENV message
2016-03-11 17:17:51 +01:00
Gautier Hattenberger 87e97685ea [nps] add support for WORLD_ENV_REQ message
and fix typo for soket input
2016-03-11 14:47:11 +01:00
Gautier Hattenberger d4318671ca [nps] update wind from flight gear input socket 2016-03-11 13:44:27 +01:00
Roland Meertens 0ccba82bed moved conf 2016-03-11 10:06:56 +01:00
Roland Meertens 20da652d39 fixed course conf 2016-03-10 14:00:05 +01:00
Ewoud Smeur 9f5b03e01c send correct lla altitude 2016-03-10 13:47:00 +01:00
Felix Ruess e1c0a750b7 update docker pprz-dep image 2016-03-10 12:43:35 +01:00
Felix Ruess f84834e90d [conf] enable compilation of C++ files on arm-linux 2016-03-09 18:02:27 +01:00
Felix Ruess 625d7558a5 [nps] add forgotten temp sensor files 2016-03-09 15:13:31 +01:00
Felix Ruess ae2e9fa524 [conf] fix nps.makefile 2016-03-09 14:59:58 +01:00
Felix Ruess dbe0aae9f2 [conf] add air_data to some examples 2016-03-09 14:21:17 +01:00
Felix Ruess 1a56085a4d [conf] cleanup NPS makefiles 2016-03-09 14:19:37 +01:00
Felix Ruess 02ede2519f [nps] add temp sensor, baro uses pressure from fdm 2016-03-09 13:58:53 +01:00
Felix Ruess 76a5e13278 Merge pull request #1554 from paparazzi/nps_airspeed
simulate airspeed sensor in NPS (for fixedwings)

Get airspeed, pressure and temperature from FDM and add an airspeed sensor that directly pushes equivalent airspeed to the state interface.

Also fix some other NPS related things:
- disable airspeed_adc module for NPS
- fix NPS_BYPASS_NPS for fixedwings
2016-03-09 12:01:51 +01:00
Gautier Hattenberger ea984d8f43 [logplotter] skip invalid GPS coordinates on kml export 2016-03-08 17:50:34 +01:00
Felix Ruess 7c2bd76c56 [nps] get airspeed, pressure and temp from FDM 2016-03-08 11:50:50 +01:00
Felix Ruess 2c18a3839a [nps][fixedwing] fix sim_overwrite_ins 2016-03-07 23:23:02 +01:00
Felix Ruess fca344b3eb [modules] fix digital_cam_uart for NPS 2016-03-07 17:26:53 +01:00
Felix Ruess f2bb878444 [modules] disable airspeed_adc for NPS 2016-03-07 17:25:12 +01:00
Felix Ruess 8956cea922 [conf] update easystar_ets example
switch to Lisa/MX with IMU and add NPS target
and convert subsystems to modules
2016-03-07 15:24:35 +01:00
Felix Ruess d39a027c21 [nps] simulate airspeed sensor 2016-03-07 14:59:35 +01:00
Felix Ruess 6d75f4aae8 [nps] fix sonar init 2016-03-07 11:43:59 +01:00
kevindehecker 03dd41f641 Added Iris airframe and 3dr radio 2016-03-04 18:54:54 +01:00
kevindehecker 0ec787c365 Fixed all kinds of fbw related problems 2016-03-04 18:54:54 +01:00
kevindehecker ca21b0a89f Disabled no ADC warning for FBW 2016-03-04 18:54:54 +01:00
kevindehecker c50d468a3b Made spektrum timer configurable 2016-03-04 18:54:53 +01:00
kevindehecker f01a1b9da4 Added PX4 board files and configs 2016-03-04 18:54:53 +01:00
Roland Meertens 4dc52a89ed ins int fix 2016-03-04 16:28:48 +01:00
kevindehecker 133e7e83ae Added spektrum software bind pin reset feature 2016-03-04 15:47:46 +01:00
kevindehecker c28d05fa40 Flash using PX4 bootloader 2016-03-04 15:47:46 +01:00
kevindehecker a4c9db8001 Fixed problem in datalink test prog 2016-03-04 15:47:46 +01:00
Felix Ruess 4d6fb7b3e7 [flight plans] revert rotorcraft_optitrack.xml
the changes introduced in #1539 were broken
2016-03-03 22:20:11 +01:00
Martin Mueller 0506621b19 [gcs] add Bebop-like rotorcraft icon 2016-03-03 19:47:26 +01:00
mavlabcourse 9fcef07f45 [rotorcraft][modules] add orange_avoider and MavLab course confs
closes #1539
2016-03-02 14:10:18 +01:00
Felix Ruess 1e29cb623f [rotorcraft] fix velocity command in HOVER mode
This was a regression accidentally introduced in af1739b54c
Fixes #1549
2016-03-01 15:20:52 +01:00
Felix Ruess eba0a75a3a [python] used updated IvyMessagesInterface 2016-02-28 22:21:05 +01:00
Felix Ruess 390597e387 Merge pull request #1540 from paparazzi/flight_plan_modules
Load modules directly from a flight plan.

Mainly meant for specifying which nav modules to load directly in the flight plan.
This should make easier to set up the airframe file as it doesn't need to contain the modules needed only for some specific flight plans (where some nav routines are called that are provided by nav modules).
2016-02-27 12:14:07 +01:00
Felix Ruess de2c7afc98 [paparazzi center] make console non editable 2016-02-27 10:48:12 +01:00
Gautier Hattenberger cd852e1333 [modules] improve warning message in case of duplicates 2016-02-26 23:07:17 +01:00
Felix Ruess ad477f0035 [paparazzi center] remove accelerator keys
especially remove CTRL-C to be copy AIRCRAFT

if the label is gtk-copy, it will automatically set the accelerator keys...

should fix #1544
2016-02-26 21:12:36 +01:00
Gautier Hattenberger 993818bdd6 [modules] display warnings when module or its options are loaded twice 2016-02-25 23:23:00 +01:00
Gautier Hattenberger 0b1a36acf7 [joystick] print more helpful debug message 2016-02-24 11:36:00 +01:00
Gautier Hattenberger 8674fee5de Merge pull request #1538 from rmeertens/natnetloggingmerged
logging natnet messages
2016-02-24 11:06:35 +01:00
Gautier Hattenberger b5b7d7cd80 Merge pull request #1543 from hooperfly/hooperfly_airframe_updates
Hooperfly airframe updates
2016-02-24 10:35:40 +01:00
Gautier Hattenberger bf36c7ba03 [modules] singletonize modules between airframe file and flight plan 2016-02-24 00:02:57 +01:00
Richard A Burton e35428fd25 Fix ADC issue with Elle0 configs as well as update pwm servo and battery level values 2016-02-22 02:26:38 -08:00
Felix Ruess bf47ef1364 [gps] minor dox fixes 2016-02-20 20:01:16 +01:00
Felix Ruess 03a33b1377 [dox] add simulator sources to doxygen 2016-02-20 20:00:37 +01:00