Commit Graph

15211 Commits

Author SHA1 Message Date
Kirk Scheper 515efab5ce add i2c transaction cue to the linux arch (#2254)
* add i2c transaction cue to the linux arch
* add thread name to most pthreads
* split each i2c to different thread and replace polling with signaling
* code cleanup and fix code style
2018-05-04 10:50:56 +02:00
OpenUAS 4d943b85e2 Use Si1000based modem 2018-05-01 23:35:34 +02:00
Ewoud Smeur 59ffb4caa0 bebop2 airframe file and python param estimation 2018-05-01 16:04:34 +02:00
Gautier Hattenberger 424cd788f5 [radio] rewrite the Spektrum driver to be generic (#2250)
This is based on #1799 and replace it.
Now, the normal UART driver is used instead of the specific code. It
makes it possible to use on only arch, including ChibiOS.
Binding is also possible, but for boards using ChibiOS and SD logger, it
is recommended to disable it for the binding process as the LSE clock
required by the RTC is longer to start (bind pulses should be issued
before 200ms after power up).
The configuration is backward compatible and some defines in the boards'
header could be even removed. Only Apogee, Chimera and Elle0 have been
updated as it is the only board tested for now. There is no harm to keep
the old defines.
2018-04-29 00:15:10 +02:00
Kirk Scheper 578ffe2b4d fix dependancy of stabilization on guidance (#2253) 2018-04-26 14:56:14 +02:00
Ewoud Smeur 5675d4e073 floating point numbers single precision 2018-04-26 14:24:03 +02:00
Ewoud Smeur c7598ca7b0 Guidance INDI change to YXZ eulers
This representation is better for guidance purposes, as changes in
heading do not affect the thrust vector.

- Added quat to euler_yxz
- Added euler_yxz to quat
2018-04-26 14:24:03 +02:00
Ewoud Smeur 2193ad3304 file logger independent of firmware
Removing ugly fix from openuas
2018-04-17 14:29:59 +02:00
Christophe De Wagter 48aa610423 [conf] report testflights 2018-04-13 17:59:22 +02:00
Christophe De Wagter d603018c47 Fix MavTec in master 2018-04-13 16:46:17 +02:00
Christophe De Wagter 28ef19382c [airframe editor] reorganize xml in fixed order for comparison - add description 2018-04-13 15:17:19 +02:00
Christophe De Wagter 51de434099 Fix frozen board... 2018-04-13 15:15:58 +02:00
Michal Podhradsky 55414d8e93 Added new config for taranis radio 2018-04-05 18:00:33 -07:00
Gautier Hattenberger bd103c1533 [fix] use either COMMAND_THRUST or COMMAND_THROTTLE, not both 2018-04-05 21:39:00 +02:00
Michal Podhradsky 8e04ae066e [AggieAir] Updated airframe config 2018-04-05 12:14:42 -07:00
Michal Podhradsky 5d4b23bfb8 Merge branch 'master' of github.com:paparazzi/paparazzi 2018-04-04 18:19:58 -07:00
Michal Podhradsky 3cc5f2ac8d Minor compilation fixes 2018-04-04 18:19:37 -07:00
Open UAS d6b2796953 Added more complete Parrot Disco 2018-04-04 21:29:17 +02:00
Michal Podhradsky adaf84bba7 Bump pprzlink 2018-04-04 10:05:57 -07:00
Michal Podhradsky d6a9d80721 Updated flight plan 2018-04-03 19:04:16 -07:00
Gautier Hattenberger b8b8000eb8 [doc] start sphynx doc for paparazzi (#2247) 2018-03-30 22:27:13 +02:00
Michal Podhradsky be41080a99 Bump pprzlink to work properly with encrypted link (both pprzlink v1.0 and v2.) 2018-03-28 09:16:10 -07:00
Michal Podhradsky e3fe8ff0f4 Fix in crypto header 2018-03-27 17:42:50 -07:00
Gautier Hattenberger f99ed9be50 [rtcm] fix offset increment 2018-03-26 15:19:46 +02:00
Gautier Hattenberger 2a0543553a [rtcm] fix max packet size 2018-03-21 15:35:29 +01:00
Gautier Hattenberger 789437978d [swarm] add formation control for rotorcraft (#2246)
* [swarm] add formation control for rotorcraft

Based on Ewoud Smeur (INDI) and Hector Garcia de Marina (Formation
control) work. See
https://blog.paparazziuav.org/2017/12/02/pilot-a-super-rotorcraft
- several UAV can be control from the ground (using a joystick for
  instance) by sending proper acceleration setpoint to the INDI guidance
  controller
- configuration of the formation is done from a JSON file (2 example
  files provided)

Some extra changes:
- update accel from IMU in GPS passthrough INS
- add accel setpoint to ABI messages
- by to accel setpoint in INDI guidance
- send ground reference from natnet2ivy
- possibility to have a joystick labeled 'GCS' with input2ivy
2018-03-20 16:07:16 +01:00
Michal Podhradsky 547668c555 Bump rustlink 2018-03-19 12:34:24 -07:00
Michal Podhradsky cd1013582f Update rustlink 2018-03-19 12:14:22 -07:00
Gautier Hattenberger da4cc6bea9 [build] try to improve dependency and not do unnecessary things (#2244) 2018-03-19 15:44:04 +01:00
Michal Podhradsky 606cd4eea2 Crypto updates (#2245)
* Cleaned up GEC code

* Added airborne support for pprzlink 1.0

* Update hacl-c

* Add proper indexing for pprz messages

* Updated airframe config for secure link

* Code style changes and updated code style script

* Bump rustlink

* Compilation fixes
2018-03-17 19:25:23 -07:00
Titus 30ab122e91 Monocular Optical Flow hover (#2239) 2018-03-12 14:39:13 +01:00
Gautier Hattenberger a628e6af97 [python] update python tools to use installed version of pprzlink 2018-03-12 14:00:01 +01:00
Fabien-B 3ee335965a [python supervision] Fix paths (#2093). (#2236) 2018-03-12 11:24:30 +01:00
Gautier Hattenberger cf9401e5df [flightplan] no more warnings for the dummy wp distance to home 2018-03-12 11:08:07 +01:00
kevindehecker 2ebd36e08a Added arming status msg to pprzlink
Arm status msg in yaw arming, and require all sticks centered for arming
Arm status message for throttle arming
2018-03-12 10:54:48 +01:00
Michal Podhradsky b18bcb2643 Better HITL config 2018-03-08 18:06:08 -08:00
Hector Garcia de Marina 39f5e775aa updated paths for python tools (#2242) 2018-03-07 21:32:45 +01:00
OpenUAS a2f2f934dc Update bebop.py
While on newer firmware there is no version.txt anymore the script would give "Checking Bebop firmware version... 0.0.0.0" and continue. So not s strictly needed change. we should then check from "/data/FVT6.txt" there you find :FWVersion=   or last resort eeprom.dat.txt contains  build info like : date Feb 14 2018 time 09:36:04, we should not force max versionb allowed only give a warning "non tested firmware, proceed with caution" or some tinh along that line. As Soon as we testflown a newer firmware well still highen this number anyhow.
2018-03-07 17:38:46 +01:00
Ewoud Smeur 319c69b9c9 new macro to set rc values in command laws (#2240) 2018-03-05 09:15:13 +01:00
matejkarasek cd659a78da Command filter for vibrating airframes (#2226)
* Filtering commands + example airframe

Command filter + example airframe

* more generic implementation

* airframe move to the new tudelft location, gain tuning

* revert pprzlink

* revert opencv

* revert libopencm

* style fixed

* fix indenting & modules section moved

* added function declaration
2018-02-27 11:03:01 +01:00
Kirk Scheper d45b2d7149 Merge pull request #2234 from paparazzi/bebop_wifi-fix
[parrot] wait longer when connecting bebop to wifi router
2018-02-26 09:51:15 +01:00
Michal Podhradsky 4e80b97050 Galois Embedded Crypto module updates (#2235)
* Bump rustlink

* Changes in GEC, now communication and key exchange works. TODO is key renegotiation and some cleanup

* Bump pprzlink

* Update in GEC and related control panel configs

* Updated name

* Bump rustlink

* Changes in GEC, now communication and key exchange works. TODO is key renegotiation and some cleanup

* Bump pprzlink

* Update in GEC and related control panel configs

* Update atomic settings

* Minor changes, style fix

* Code style fix

* More code style fix
2018-02-12 16:36:11 -08:00
Gautier Hattenberger 3df160f95f [parrot] wait longer when connecting bebop to wifi router
it seems that 2 seconds is a bit to short in some cases when the router
takes longer to reply. 5 seconds gives much better results.
2018-02-10 22:59:37 +01:00
Kirk Scheper 1f85390422 Merge pull request #2233 from paparazzi/gcc7-warning-fix
[build] handle fallthru warning in flight plans due to NextStage
2018-02-09 13:22:17 +01:00
Tom van Dijk 7b19e6918a Add nps target to cv_opencvdemo module (#2232)
* Add nps target to cv_opencvdemo module

Also re-enabled the canny edge detector example, as the result
is easier to see than the blurring example.

Added the LDFLAGS produced by the current version of opencv_bebop.

* Ignore uncommitted changes to opencv_bebop submodule

Added an "ignore = dirty" flag to .gitmodules to prevent opencv_bebop
from showing up in the git status with uncommited changes once it is
installed.
2018-02-09 11:25:48 +01:00
Michal Podhradsky a465cfd96c Updated name 2018-02-08 18:31:15 -08:00
Gautier Hattenberger 64cec590e1 remove warning in FP for loop 2018-02-09 00:19:12 +01:00
Gautier Hattenberger f1c3753352 [build] handle fallthru warning in flight plans due to NextStage 2018-02-08 17:25:09 +01:00
Gautier Hattenberger 3989057fe9 [module] add object_tracking module based on FOLLOW_TARGET message 2018-02-08 15:10:08 +01:00
Gautier Hattenberger b42caab15f [module] support for jevois smart cameras 2018-02-08 15:06:49 +01:00