Commit Graph

216 Commits

Author SHA1 Message Date
Christophe De Wagter 75e0dfa1db [ext] OpenCV 3.2 (#2159) 2017-11-03 17:24:12 +01:00
Rijesh Augustine d56e0978b3 fix hardcoded cam footprint field of view and AGL (#2103) 2017-10-19 00:05:19 +02:00
kirkscheper 53f78c4492 updated hff to accept velocity as only input and add bias 2017-10-18 23:01:36 +02:00
kirkscheper e9ff78ad00 Fix optical flow nans when using feature management 2017-10-18 22:58:08 +02:00
Gautier Hattenberger d4544eaa51 [pprzlink] update python UDP interface 2017-09-08 13:53:08 +02:00
Kirk Scheper bd53a3c26c use pprzlink with stereocam (#2107) 2017-08-29 17:50:19 +02:00
kevindehecker 95c8c3e863 Update firmware to newest version 2017-08-26 10:10:38 +02:00
Gautier Hattenberger cf8888879e [pprzlink] fix cast align warning 2017-08-23 13:19:11 +02:00
Gautier Hattenberger b8dbb0dd59 update pprzlink 2017-07-26 16:16:08 +02:00
Gautier Hattenberger 266aba16d0 [pprzlink] update pprzlink
fix some bugs for UDP and IVY python lib
2017-07-20 19:18:07 +02:00
Gautier Hattenberger 5c4d80ed68 [pprzlink] fix custom messages validation 2017-07-05 13:52:23 +02:00
Gautier Hattenberger 6a72c5da84 [pprzlink] allow to compile paparazzi with PPRZLINK v2 (#2083)
To activate, build project with correct option:
 PPRZLINK_LIB_VERSION=2.0 make
(note that 'make clean' is usualy required before that)
2017-06-29 10:38:30 +02:00
guidoAI 30d5e73242 Exponential gain landing pull request (#2071)
* Adding bebop to my own conf file

* Added Bebop 2 OF to my conf file

* Introducing an exponentially decaying gain and a rework of the optical flow landing module

* Fixed code style, set parameters to standard optical flow control, tested everything on Bebop 2.

* Implemented all remarks, placing function definitions in the c-file, getting the state properly, getting the time properly, making div_factor a setting.

* Set minimum of D-gain to 0
2017-06-13 22:06:42 +02:00
Michal Podhradsky cb914de3e1 Update pprzlink 2017-06-07 20:21:10 -07:00
Open UAS 2a1eea87ac Fixedwing for Pixracer 2017-05-30 08:12:20 +02:00
Michal Podhradsky 888289abf4 Update pprzlink 2017-05-06 13:34:30 -07:00
Michal Podhradsky ca68570d03 Mission Computer and payload computer support (#2053)
* Copilot module
* Added mission computer status
* modules_parse_datalink() now accepts arguments
* Update pprzlink
* Update cartography module to comply with the extended CAMERA_SNAPSHOT message
2017-04-19 18:11:54 +02:00
Wilco 0a061c57fd [MAG_CALIB_UKF] Online magnetomer calibration using unscented Kalman filter (#2043) 2017-03-22 09:37:23 +01:00
Gautier Hattenberger 3f4a05d13a [rtcm] RTK with UBlox8 modules (#2034)
* [rtcm] RTK with UBlox8 modules

based on #1902, with fragmentation of packets to fit in RF modems if
necessary

* fix warnings

* [pprzlink] update pprzlink for RXMRTCM message

* [rtcm] add missing files
2017-03-18 16:03:17 +01:00
Gautier Hattenberger aea1d5f8e9 [sdlog] update sdlog for chibios (#2029)
* [sdlog] update sdlog for chibios

- fix several small bugs
- update to fatfs 0.12b
- add status report

* calculate mass storage thread size accordingly to ffconf choice for _USE_LFN and _FS_EXFAT

* [sdlog] improved documentation
2017-03-01 13:05:48 +01:00
Gautier Hattenberger 4e5d863291 [board] support of the Chimera autopilot based on STM32F7 (#2018)
* [board] support of the Chimera autopilot based on STM32F7

- based on ChibiOS only (updated to master for proper support of F7)
- requires some specific ram for DMA operations
- SBUS driver updated and support of internal inverted logic option of F7

* [chibios] fix some compilation errors

* [chibios] fix some a few PR comments

- test less MCU types
- support F1 for uart driver
- more autodetect for VTOR_INIT

* use correct path

* choose a working version of chibios

* [chibios] fix some comments from PR review

- add some doc
- protect LED
- update TRUE/FALSE for lowercase
- pick a slightly older version of chibios (wrong path in makefile not
  fixed yet)
2017-02-23 10:31:50 -08:00
Michal Podhradsky eb5ffe1e9f Update pprzlink 2017-02-16 10:45:14 -08:00
Michal Podhradsky 03a0d63822 Update chibios to the latest stable version 2017-02-10 17:32:56 -08:00
Michal Podhradsky 4db76e17cb Battery Monitor (#1979)
* Modified AggieAir airframes

* Bump on pprzlink

* remove errors from lidar compilation

* Added battery monitor module

* Added support for battery monitor module

* update aggieair conf
2017-01-09 16:09:42 +01:00
Felix Ruess 7c3577290f [ext] update to latest libopencm3 (#1965) 2016-12-14 18:20:35 +01:00
Ewoud Smeur 6dcabb3a57 update INDI tu use full control effecitvens matrix (#1916)
* update INDI tu use full control effecitvens matrix

Instead of using commands (roll, pitch, yaw, thrust), give the
controller direct control over all actuators.
This allows for online individual actuator control effectiveness
estimation and inversion, as well as better saturation handling.
The INDI controller as it was previous is renamed to 'simple'.

* Made INDI more flexible wrt number of actuators

- 4x4 matrix inverse to accomodate the thrust axis as well
- support for more actuators
- cleanup of code

* Change filters guidance indi to butterworth

* Added body acceleration to state interface

* Better adaptation and guidance thrust increment

- Adaptation flexible wrt. number of actuators.
- Added adaptation of the specific force effectiveness of the actuators.
- Added connection to guidance INDI through ABI. The thrust increment is
  caclulated in guidance INDI and sent to the stabilization.

* lower case variables

* change filter of indi to butterworth

* INDI fix array index & no declarations in for loop

- Also added doxygen comments

* Added actuators_pprz

the array actuators is used to drive the servos, so a new array to store
the command to the actuators in pprz scale is needed

* Removed hardcoded scaling
2016-12-01 10:02:36 -08:00
Gautier Hattenberger c4dc3c6fee update pprzlink for new mission messages 2016-11-08 22:30:24 +01:00
Christophe De Wagter cc0d60b4a4 [ext] opencv videoio enabled 2016-12-14 17:37:48 +01:00
Michal Podhradsky 5bda0f1cf4 Updated pprzlink 2016-11-02 14:13:29 -07:00
Gautier Hattenberger 3cf75e7767 [pprzlink] update pprzlink to get the fix for xbee transport init
when using ChibiOS, changing the baudrate too early was interrupting the
modem configuration, so it is required to wait for the end of all
operations.
2016-10-26 09:59:28 +02:00
Michal Podhradsky bb597681d1 add MOTOR_MIXING message 2016-09-17 23:56:56 +02:00
podhrmic e4c791904d [rtos/sys mon] Add cpu_time field 2016-08-12 10:09:30 -07:00
podhrmic 4671af291f Updated pprzlink (vectornav message) 2016-07-28 18:23:33 -07:00
Gautier Hattenberger 18a49d47fd [pprzlink] update for short_transport and SHAPE message 2016-07-20 22:48:43 +02:00
Gautier Hattenberger 66580b2ff4 [sdlog] update sdLog API for new zero-copy functions
This implementation makes the sdlog, and in particular the
flight_recorder, much more efficient (4 or 5 times) with less buffer
copies and less calls to tlsf_malloc
2016-07-18 15:46:46 +02:00
Kirk Scheper b1fd5055b6 don't clean opencv_bebop with clean in main folder (#1800)
don't clean opencv_bebop with clean in main folder
2016-07-14 18:18:37 +02:00
Felix Ruess 10df83ee3d [ext] update opencv_bebop
so that it will build in CI environment
2016-07-14 13:15:41 +02:00
Felix Ruess 229647ba37 [tests][ext] build opencv_bebop on make test_all_confs 2016-07-14 11:24:34 +02:00
Deon Blaauw f1f75e96b8 Hybrid guidance code for hybrid drones (#1769)
This pull request is for the guidance algorithms used to control hybrid drones like the Quadshot and MavShot. It supports autonomous waypoint navigation as well as "forward-flight". The code was flight tested in autonomous waypoint navigation mode, including autonomous landing (using sonar).
2016-06-30 21:51:52 +02:00
kirkscheper 4f8fd9c7d3 [refactor] Converted traffic_info from subsystem to module with upgraded interface 2016-06-17 16:17:14 +02:00
Felix Ruess cd5f71991e [ext] update pprzlink
to get Ocaml compat module: Fix Strings Deprecated Warning for Ocaml ≥ 4.02
2016-06-17 15:30:51 +02:00
Gautier Hattenberger 7e9fc87d67 [wind] add a vertical component to the wind vector (#1713)
* [wind] add a vertical component to the wind vector

- use new WIND_INFO message
- update state interface

* [state] use union and return pointers for wind speed
2016-06-14 09:57:33 +02:00
Kirk Scheper 6686c9a0ce [guidance] Expansion of the guided protocol (#1694)
Updates the GUIDED_SETPOINT_NED message to set the reference frame of each input separately and adds a heading_rate setpoint.

Frame can be specified with the bits 0-3
Velocity of position setpoint can be specified with the bits 5-7
Flags field definition:
- bit 0: x,y as offset coordinates
- bit 1: x,y in body coordinates
- bit 2: z as offset coordinates
- bit 3: yaw as offset coordinates
- bit 4: free
- bit 5: x,y as vel
- bit 6: z as vel
- bit 7: yaw as rate
2016-06-10 14:20:10 +02:00
Gautier Hattenberger 73e93b0956 [chibios] Add support for a full ChibiOS arch (#1699)
[chibios] Add support for a full ChibiOS arch

This is replacing the previous mix chibios/libopencm3:
- all drivers are ported to the new arch
- it was hard to go forward and take advantages of the RTOS, now it is much easier
- switch to v3 of ChibiOS
- for now, it is functionaly the same than before
- the previous variable length array mechanism used internaly by the
  sdlog is replaced by a more efficient library called TLSF (allow
  constant time malloc/free)
2016-06-07 09:44:38 +02:00
Felix Ruess 33a72dff35 change default GCS layout in control_panel_example.xml
see #1600
2016-05-24 14:07:56 +02:00
Roland Meertens 836448e5fe Opencv image conversion (#1677)
A small library with functions to convert between the Paparazzi used YUV422 arrays
and the opencv image functions.
2016-05-23 12:04:42 +02:00
Roland Meertens ce8b47d060 Added opencv example (#1663)
* Added opencv example (simple sobel filter).
2016-05-18 14:47:27 +02:00
Ewoud Smeur 0c95b9e26e [rotorcraft] converted PI rate controller to floating point
closes #1624
2016-04-27 10:37:16 +02:00
kirkscheper cc1d9dd010 [modules] RSSI info storage
Stores info received from RSSI message from other aircrafts for communication protocols that support it.

picked out of #1630
2016-04-26 11:47:19 +02:00
Gautier Hattenberger a3caa58bb1 update pprzlink for message description 2016-04-25 18:43:43 +02:00