Commit Graph

30 Commits

Author SHA1 Message Date
Gautier Hattenberger b42caab15f [module] support for jevois smart cameras 2018-02-08 15:06:49 +01:00
Kirk Scheper c21a4d093b add ability to select which axis to use with velocity and position estimate abi messages (#2161) 2017-11-23 15:06:00 +01:00
Kirk Scheper e84ff368c2 Add rangesensor module (#2158)
* added rangesensors to gazebo model and NPS
* added module to handle the range sensors
* added sender IDS and added to abi messages
* added abi message to flight plan guided
2017-11-06 17:16:13 +01:00
Mario Coppola b5a4f893d6 Module to Read and Broadcast Decawave Serial Communication within Paparazzi (#2154)
* added decawave_serial_communication module files

* added reference to arduino library in module comments

* added abi message

* fixing abi send

* added abi

* compiles

* tested on bebop2 drones with decawave modules

* improved module description

* cleanup

* fixed code-style

* pprzlink same as master

* updated subrepos opencv_bebop

* temp

* temp

* temp

* addressed define and global variable comments

* Addressed comments on define macros and abi.xml

* making functions more general

* fix up

* tested!

* removing last global variables

* renamed temp variables

* must have messed up the message decoding/sending

* successfully tested

* clean-up

* changed variable names as necessary

* float size define removed

* last changes + tests

* removed test module

* removed unnecessary includes and added endline characters
2017-11-02 22:51:53 +01:00
Titus 7bbb52a203 Fixed the EdgeFlow Divergence computation Sign Error (#2096)
* Fixed the EdgeFlow Divergence computation Sign Error

* updated with definitions
2017-10-20 16:17:32 +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
knmcguire f400d5748f Flight plan example for autopilot mode guided (#2101)
Use flight plan state machine to control a rotorcraft in guided mode.
Also use ABI messages to send color detection information.
2017-08-23 18:19:32 +02:00
Titus e577814c15 fix loss of information due to quality variable type declaration in OF ABI (#1974)
* fix loss of information due to quality variable type declaration in OF ABI

* removed FIXME comment
2016-12-19 19:07:58 +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
Christophe De Wagter 5f7e2b3381 [rpm_sensor] filter and broadcast rpm via ABI (#1830) 2016-07-29 11:54:31 +02:00
Christophe De Wagter 3006238bea [modules] broadcast airspeed over ABI 2016-07-18 13:41:37 +02:00
guidoAI 2a1ce1a0ec [modules] add optical_flow_landing
I added an optical flow landing module for rotorcrafts.
It uses the size divergence from the optical flow algorithm to keep a constant divergence
(if set negative the drone will land, 0 = hover, and positive is going up).
Advantage with respect to a GPS landing is that it will take into account the landing surface,
even if it is higher than the ground level (so landing on a roof for instance).
The module does not use sonar for the vertical control, so it can be used by tiny drones that do not carry sonar.
The module uses a novel theory on seeing distances with just a single camera (no extra sensors) to detect when it should land.
So it can also be used by drones to estimate distance with a single camera.

closes #1611
2016-04-23 22:53:31 +02:00
Gautier Hattenberger a9c7b954f6 [pprzlink] point to messages.xml file in var directory 2016-01-15 14:03:26 +01:00
kirkscheper b7a1c30870 [datalink] changed BluegigaRSSI to RSSI and added sensers to abi_senders_ids 2016-01-07 16:41:24 +01:00
kirkscheper 2b7e585ebd [datalink] update bluegiga protocol and add rssi abi message 2016-01-06 17:59:51 +01:00
k.n.mcguire@tudelft.nl b0cfb6160f [INS] added extra noise_measurement value to abi message VELOCITY_ESTIMATE, which is calculated in optic flow module 2015-11-09 18:39:42 +01:00
Felix Ruess dab660ff55 add OPTICAL_FLOW and VELOCITY_ESTIMATE ABI messages
and use them in the opticflow modules
2015-09-13 17:22:59 +02:00
Felix Ruess 92c7727085 [ahrs] GPS via ABI, remove ahrs_update_gps 2015-03-10 17:26:46 +01:00
Felix Ruess 9b95038631 [abi] send GEO_MAG via ABI 2015-03-10 17:26:45 +01:00
Felix Ruess 9f0240d893 [abi] update ABI bindings to pass single types by value 2015-02-07 16:12:14 +01:00
Felix Ruess 0972b7f262 [ahrs] use ABI for body_to_imu 2015-01-02 13:17:47 +01:00
Felix Ruess 750d06aa7a [ahrs] send aligner data via ABI 2014-11-05 00:44:00 +01:00
Felix Ruess f1f447372e Merge branch 'master' into ahrs_refactor
* master: (75 commits)
  [maps] hopefully finally fix google maps version download
  [rotorcraft] navigation: use NAV_FREQ to update stage and block time
  [simulator] use unconnected socket for FlightGear viz
  remove trailing whitespaces
  source and xml files should not be executable
  [modules] flight_time: move settings into module xml file
  [settings] remove some obsolete files
  [modules] flight_benchmark: move settings into module xml file
  [gps] refactor sendng of SVINFO
  [modules] dc: use state interface for utm position
  [airframes] replace joystick subsystem by USE_JOYSTICK
  [paparazzi.py] Produces .md with branch description
  [modules] airspeed_ets: retry after failed transaction
  dox fixes
  Correct mode behaviour joystick
  [ahrs] quaternion integrator fix
  [conf][joystick] update some joysticks with kill_throttle examples
  [math][dox] add some dox about euler convention
  [modules][messages] add AMSL message to air_data
  [modules] air_data: init vars as unknown
  ...
2014-11-04 23:27:48 +01:00
Felix Ruess f6827405be [abi] add TEMPERATURE message 2014-10-21 12:54:17 +02:00
Felix Ruess 1d80eb2d7b [ahrs] start using ABI for imu data 2014-10-20 23:56:16 +02:00
Felix Ruess 97ea2b7ed4 [messages] rename class to msg_class
makes it possible to use the python parser using xmlobject since class is a reserved word.
2014-08-27 14:40:21 +02:00
Gautier Hattenberger 03235ffae0 [sonar] sonar system using ABI interface
- unified interface for sonar (sonar_adc was broken with latest commit
  for ardrone)
- median filter removed from ins_int, implement in sonar drivers if
  needed
- compiles but not tested yet
2014-03-13 15:56:33 +01:00
Gautier Hattenberger e7574e59cb [abi] remove test_abi program 2014-01-07 11:31:12 +01:00
Gautier Hattenberger b2814e7169 [abi] split abi messages from telemetry messages
currently, the dtd is the same, but it can be changed in the future to
be more adapted to ABI messages
2013-10-10 17:48:09 +02:00