Commit Graph

15168 Commits

Author SHA1 Message Date
Tom van Dijk 40712f5f3b Fix cyberzoo origin 2018-02-06 09:55:43 +01:00
Tom van Dijk e47f76cee5 Fix orange_pole2 smoothing errors 2018-02-06 09:55:43 +01:00
Tom van Dijk b1e08695e7 Add orange pole and traffic mat objects 2018-02-06 09:55:43 +01:00
Tom van Dijk 8bd3d214e6 Fix optitrack camera color 2018-02-06 09:55:43 +01:00
Tom van Dijk 59e7b67fef Fix lighting colors 2018-02-06 09:55:43 +01:00
Tom van Dijk 810e6124c1 Fix optitrack cameras 2018-02-06 09:55:43 +01:00
Tom van Dijk e6e17c2677 Import improved model 2018-02-06 09:55:43 +01:00
Tom van Dijk e9ed496af9 Fix ambient lighting of cyberzoo_solid 2018-02-06 09:55:43 +01:00
Tom van Dijk 0e1c2600d6 First steps towards detailed cyberzoo model. Got transparency working. 2018-02-06 09:55:43 +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 2d86a0b60a Merge pull request #2197 from kevindehecker/qtc_tabfix_upload
Qtcreator indent size fix and added upload feature
2018-01-29 20:15:20 +01:00
Ewoud Smeur b1a2d69e20 give a warning when periodic freq is infeasible (#2224) 2018-01-29 18:30:53 +01:00
Rijesh Augustine d4709f7775 Ocaml 405 fix (#2221)
* Fixed string related build warnings
* Changed Failures to accept all strings
* Updated pprzlink for v405 fix
* updated use of lowercase, uppercase and capitalize
2018-01-26 22:08:06 +01:00
Titus 066a8f25fa added a divide by 0 failsafe (#2209)
* added a divide by 0 failsafe

* added checks in pprz_stat code

* implemented proposed fixes

* restored size div
2018-01-22 15:58:14 +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
Gautier Hattenberger 90c2c33b02 [radio] wait before testing if spektrum receiver should enter bind mode 2018-01-18 17:42:03 +01:00
Gautier Hattenberger 2a26cdfc6d [apogee] add uart6 as possible spektrum port 2018-01-17 23:03:04 +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
Ewoud Smeur 8a208e5639 update guidance INDI description 2018-01-15 11:43:45 +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
Fabien-B 2b71fdeba4 [python supervision] Allows the right panel to be hidden (#2093). 2018-01-09 18:25:52 +01:00
Fabien-B 751d9c7fcf Fix in python supervision (#2210)
Control panel configuration : only search for "conf/control_panel.xml".
2018-01-09 18:24:39 +01:00
Michal Podhradsky 4a7983370e Init hacl-c submodule during 'make' 2018-01-04 10:36:16 -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
Gautier Hattenberger 6e391679ca Merge pull request #2208 from paparazzi/falls_through_fix
[build] fix some of errors and warnings from GCC7
2017-12-28 00:05:19 +01:00
Gautier Hattenberger ab7b326834 fix compilation error in median filter with GCC7 2017-12-27 23:11:50 +01:00
Gautier Hattenberger 995be46092 fix some more implicit-fallthrough warnings 2017-12-27 23:06:30 +01:00
Gautier Hattenberger 9e5a645120 [build] fix some of the implicit-fallthrough warnings from GCC7
Some warnings related to the use of the Label() macro are still there.
It seems that the only way would be generate the labels instead of
calling the macros.
See issue #2207
2017-12-23 22:21:47 +01:00
Hector Garcia de Marina 695917a095 Circular formations. More elegant script and examples (#2206) 2017-12-20 18:39:24 +01:00
Gautier Hattenberger 1a506e84e5 [tmtc] add pprzlink_proxy tool (#2204)
PPRZLINK Proxy is a tool to allow multiple aircraft simulations
with air-to-air communication using the PPRZLINK v2 protocol
using UDP.
As aircarft can't be identified by their IP addresses (most of the
time, all simulators are running on the same computer), each agent (GCS,
aircraft) are using different ports and the mapping between ports and IDs
is done by this tool.
2017-12-20 18:32:22 +01:00
Hector Garcia de Marina b932515610 [module] Distributed Formation Control
integration of #211
2017-12-14 22:21:17 +01:00
Gautier Hattenberger 86101eca4d [parrot] fix upload on recent bebop2
Applying the modification proposed in #2138 after testing it.
The version check is for now disabled if the correct valid cannot be
retrive from the drone. This should be improved later.

close #2138
2017-12-14 21:39:01 +01:00
Gautier Hattenberger 4eb5ab1f13 [natnet] fix some bugs in natnet python
- add a callback to receive all the regid bodies of a frame in a single
  list together with the correct timestamp
- use the timestamp instead of system time to compute dt
- remove the padding offset (yes, there is a bug in the code provided by
  optitrack...)
- tested and working in real fligts
2017-12-14 21:33:13 +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
Hector Garcia de Marina 555eed9f75 split cannot be used with lists (#2202) 2017-12-06 16:08:18 +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
guidoAI 0adf61c4b0 Draw line with color, plus extra functions for drawing crosshairs and rectangles (#2195)
* Draw line fix so that color actually works, plus extra functions for drawing crosshairs and rectangles.

* Added static and formatted code style
2017-12-01 16:03:30 +01:00
kevindehecker b8a3bb1960 Add upload capability to qtc, fix indent issue 2017-11-30 20:48:56 +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