Commit Graph

6718 Commits

Author SHA1 Message Date
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
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 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
Michal Podhradsky 8e04ae066e [AggieAir] Updated airframe config 2018-04-05 12:14:42 -07:00
Open UAS d6b2796953 Added more complete Parrot Disco 2018-04-04 21:29:17 +02:00
Michal Podhradsky d6a9d80721 Updated flight plan 2018-04-03 19:04:16 -07: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 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
Michal Podhradsky b18bcb2643 Better HITL config 2018-03-08 18:06:08 -08: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
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
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 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
Tom van Dijk ff8c58a190 [gazebo] Simulate Bebop1 camera (#2225)
* First attempt at bebop fisheye camera

* Try setting raw camera output size during initialization, does not work

SetImageSize() is ignored and SetEnvTextureSize() causes an
exception. Currently the camera output is too large for real-time
operation.

* FIX apply MT9F002_OUTPUT_SCALER to gazebo front camera

* Add MT9F002 camera cropping to fdm_gazebo

* Apply MT9F002_TARGET_FPS to bebop front cam in gazebo

* Set up bottom camera for bebop model

* Minor fixes and cleanup

* Fix MT9F002 partially applied to all cameras

* Remove sensors_params_bebop, introduce NPS_SIMULATE_MT9F002

Reduces duplicate code for sensor parameters, and follows the
same pattern as NPS_SIMULATE_LASER_RANGE_ARRAY.
Also does not require the sensor params to be changed in every
bebop airframe.
2018-02-04 18:03:41 +01:00
Tom van Dijk cfabb51eed [gazebo] Add actuator dynamics and bebop model (#2219)
* Add gazebo model for Parrot Bebop 1

* Add first-order high pass filter

* First implementation of actuator dynamics and spinup torque

Flies ok with PID control

Does not fly ok with INDI, the required G1 R is 0.159 instead of
0.0022 (estimated by flying in adaptive mode). The other parameters
are close to those specified in the airframe file.

* FIX incorrect yaw behavior

Fixed two bugs:
1. gazebo_actuators.torques was set to NPS_ACTUATOR_THRUSTS
2. spinup torque direction is now also controlled by motor mixing

* Clean up debug code and file logger

* Clean up gazebo example airframes

* Minor cleanup

* FIX warnings about missing initializer in fdm_gazebo

* Update documentation

* Remove modules section, move to firmware

* Minor fixes to fdm_gazebo and high_pass_filter

* Move actuator dynamics to included airframe files

Should prevent duplicate actuator defines spread accross all
airframe files.

* Fix FILTER_ROLL_RATE in bebop2_indi airframe

Moved to firmware targets so it will be disabled in gazebo.
Is this actually working in jsbsim??

* Update documentation

* Fix newlines

* Minor fixes in nps_fdm_gazebo.cpp

* Re-enable filter roll rate

Caution: causes oscillations around roll axis in gazebo

* Disable roll filter and cleanup
2018-01-30 16:39:18 +01:00
Kirk Scheper 7b18266f5a Merge pull request #2218 from tudelft/mavlabCourse2018
Fix bebop_orangeavoid_course2017 defines
2018-01-20 00:32:42 +01:00
Tom van Dijk 6d9f90df7b Tag in course2017_conf.xml 2018-01-19 15:48:16 +01:00
Tom van Dijk 868ce39dba Fix bebop_orangeavoid_course2017 defines and tweak color filter 2018-01-19 15:40:46 +01:00
Michal Podhradsky d66fc0c3b7 galois embedded crypto module and secure transport (#2205)
* Added RNG for NPS, cleaned up telemetry config files
* Added Rust submodules
* Added simple status message
* Updated gec transport and key exchange
* Update pprzink
* Compilation fix for Travis
2018-01-19 00:09:17 +01:00
Titus b6efd958eb ARDrone vision fix (#2215)
* Test fix

* added fix to other ardrone airframes using vision

* removed tabs
2018-01-16 14:50:08 +01:00
Michal Podhradsky d099085d31 Add new AggieAir airframe 2018-01-12 11:37:49 -08:00
Michal Podhradsky 528a7b5882 Update AggieAir configs 2018-01-12 11:36:51 -08:00
Michal Podhradsky 6536a80f58 Fix in mission fw module (so it compiles) (#2211)
Add test for fixedwing mission fw module

Better heading for simulation purposes
2018-01-04 10:12:31 -08:00
Felix Ruess 27124fe32f [nps] only search/link OpenCV if NPS_DEBUG_VIDEO is configured 2017-12-29 14:08:45 +01:00
Hector Garcia de Marina b932515610 [module] Distributed Formation Control
integration of #211
2017-12-14 22:21:17 +01:00
Gautier Hattenberger ef144a21e7 [natnet] add a NatNet3 to IVY bridge in Python (#2198)
The new version of the Optitrack software (Motive 2.0) comes with NatNet
version 3. A Python module is provided with NatNet for
serialization/deserialization of the data streamed over the network.
This module is slightly modified here for a better handling of the
initialization and for stopping the threads.
The PPRZLINK message sent is REMOTE_GPS_LOCAL, so the transformation to
global coordinate system is left to the airborne part.
2017-12-07 16:53:32 +01:00
Michal Podhradsky 2c35ebeb80 Update HACL-C snapshot as a proper submodule (#2199) 2017-12-04 09:22:33 +01:00
Ewoud Smeur 95e60fe50d Cyfoam, ctrl effectiveness scheduling, JSBsim (#2145)
* Cyfoam, ctrl effectiveness scheduling, JSBsim

- Added Cyfoam airframe file
- Added control effectiveness scheduling function
- More advanced scheduling function should be added in the future
- Added simple JSBsim files for Cyclone for a crude simulation

* only calculate pseudo inverse when using it
2017-12-01 17:48:22 +01:00
Ewoud Smeur dab1bf2fcf [INDI] flexible priorities for WLS allocation (#2200)
* [INDI] flexible priorities for WLS allocation

* [INDI] du_pref was not used

Moved WLS specific variables du_min and du_max within the else
2017-12-01 16:04:16 +01:00
Michal Podhradsky 640c5aa8c5 Update libopencm3 and add Random Number Generator (RNG) (#2192)
* Compilation fixes (CAN bus)

* Update libopencm3

* Compilation fixes

* Added Random Number Generator for stm32 autopilots

* Compilation fixes
2017-11-28 15:01:36 -08:00
Christophe De Wagter da7003b358 Explain SD-Card Status 2017-11-28 17:32:02 +01:00
Tom van Dijk 0ac9b89928 Copy tudelft/rotorcraft_guided_flightplan.xml to root flightplan folder, fix references (#2196)
This commit overwrites the old flight_plans/rotorcraft_guided_flightplan.xml
which caused a compilation error.
2017-11-28 17:10:22 +01:00
Michal Podhradsky 061c389811 Fixes #2194 2017-11-27 15:48:02 -08:00
Rijesh Augustine c8fca369f4 Make GCS radio link indicator configurable (#2131) 2017-11-24 12:30:55 +01:00
Kirk Scheper dcab7fe671 Merge pull request #2188 from paparazzi/remote_gps_local
[gps] add support for REMOTE_GPS_LOCAL
2017-11-24 11:07:20 +01:00
Richard A Burton 535ebdc22f Calibration updates for the ENAC hexacopter 2017-11-23 10:26:29 -08: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
Gautier Hattenberger 90e6dc5c2c [gps] add support for REMOTE_GPS_LOCAL
position and velocity is received in local frame
transformation to global frame is handled on airborne side
2017-11-18 18:22:25 +01:00
Tom van Dijk 85c2b23c9f Set Gazebo world in flight plan (#2172)
* update documentation
* include flight_plan.h in nps_fdm_gazebo.cpp
2017-11-15 15:51:19 +01:00
Christophe De Wagter 8f9ca5649d [airframes] QuadPlane docs, Disco fix sim 2017-11-13 13:48:02 +01:00
Tom van Dijk 73993ee708 Drag-based velocity estimator (#2132) 2017-11-13 10:28:25 +01:00
Christophe De Wagter ffe62681ea [airframe] flappy update 2017-11-10 14:39:28 +01:00