Commit Graph

15662 Commits

Author SHA1 Message Date
Fabien-B 3bb42c00be More Sphinx doc (#2583)
Co-authored-by: Gautier Hattenberger <gautier.hattenberger@enac.fr>
2020-09-21 15:51:35 +02:00
Gautier Hattenberger 5e041b5090 [nav] selectable navigation functions from flight plan (#2585) 2020-09-21 14:38:56 +02:00
Hector Garcia de Marina f38be8110c GVF Parametric (#2559)
Co-authored-by: Hector Garcia de Marina <hgdemarina@gmail.com>
2020-09-18 20:52:35 +02:00
Gautier Hattenberger 99c8d473aa [generator] generate the number of telemetry processes
also increment properly process id
2020-09-18 17:59:54 +02:00
Fabien-B befc20b8dd [Joystick] Add option to wait for an event on all axis to start. (#2579) 2020-09-17 10:50:29 +02:00
OpenUAS 6693952fdb Added sensor for using TFMini via I2C port (#2578)
Co-authored-by: Open UAS <noreply@openuas.org>
2020-09-16 21:54:02 +02:00
Gautier Hattenberger 3c5e7d0f08 [fix] check FP and AP modules for correct firmware (#2581) 2020-09-16 10:59:41 +02:00
Ewoud Smeur e83643812c Protect quat to euler conversion for NaN (#2580)
If the quaternion is slightly off around +-90 degrees pitch, the result
might be a NaN if the asin is computed. Added bounds to make sure this
can never happen. The argument should not be outside [-1,1] anyway.
2020-09-14 18:56:21 +02:00
Gautier Hattenberger 3b42d6de55 Merge pull request #2577 from paparazzi/fix-various
A second set of small fixes with:
- remove compile error in dshot driver (remove wrong and unused assert)
- fix file name report for chibios SD logger
- build file binary in OBJDIR for chibios to prevent linking at each upload command
- allow upside-down initialization for the float DCM filter
- fix makefile script to get the number of CPU core
- LTO is optional in board makefiles
2020-09-10 18:14:01 +02:00
Gautier Hattenberger 620a80963f [build] fix some elements in makefiles
- USE_LTO flag in board makefile optional
- quote on shell command to get number of CPU cores
2020-09-10 13:50:16 +02:00
Gautier Hattenberger bfcd114c32 [ahrs] use quaternion to compute initial DCM orientation
the euler formula is not correct when the IMU is upside-down
2020-09-10 13:48:43 +02:00
Gautier Hattenberger 827f79eeb5 [build] ChibiOS binary is produced in OBJDIR folder
prevent unnecessary linking when uploading
2020-09-08 14:58:40 +02:00
Gautier Hattenberger 7198f6c88b [sdlog] fix file name report 2020-09-08 14:34:18 +02:00
Gautier Hattenberger 3267f13c64 [dshot] remove (wrong) assert used for debug 2020-09-08 13:51:38 +02:00
Gautier Hattenberger 9b13fc7a61 [bebop] improve network script (#2571)
* [bebop] improve network script

- check that wifi join command is actually correct, with retries
- allow configuration for static IP

* [bebop] Fix install script for old configuration

* [bebop] add encryption configuration

Co-authored-by: xp31 <xp31@free.fr>
2020-09-04 18:49:32 +02:00
Gautier Hattenberger 1d5f48768b [git] ignore KDE temp file 2020-09-04 14:37:10 +02:00
Gautier Hattenberger 6aef1fe591 [ocaml] iter on correct target name 2020-09-04 14:37:10 +02:00
xp31 ba931c0315 [fc_rotor] fix include and use python3 2020-09-04 14:37:10 +02:00
Gautier Hattenberger 06cb3e4d78 [actuator] add dummy file for simulation with dshot driver 2020-09-04 14:37:10 +02:00
Gautier Hattenberger 7e34121c6d [natnet] fix timestamp scale to have ms 2020-09-04 14:37:10 +02:00
Gautier Hattenberger a52867294c [traffic] fix scaling of position of AC_INFO messages 2020-09-04 14:37:10 +02:00
Gautier Hattenberger 206216c34f [server] protect SETTING callback from failure (Hashtbl.find) 2020-09-04 14:37:10 +02:00
Gautier Hattenberger 002ac9f505 [board] add tawaki v1.1 board file (#2574)
factorize code with v1.0
2020-09-04 13:48:51 +02:00
OpenUAS 2c535d7953 Add sensor for ranging with IO is PWM (#2575)
Co-authored-by: Open UAS <noreply@openuas.org>
2020-09-04 13:11:47 +02:00
Ewoud Smeur 79db939836 [FIX] Forgot to change name to indi_gains (#2573) 2020-08-28 15:36:53 +02:00
Ewoud Smeur a1b2d0ba65 INDI code cleanup
Renaming confusing variables
Fixing rate interface
2020-08-26 19:32:39 +02:00
Ewoud Smeur 733ddb06f9 fixing tudelft_gazebo_models 2020-08-26 19:32:39 +02:00
Rohan 7db8673774 [NOT FINAL] - forgot declaring stabilization_rate_indi_cmd in .h - v2 2020-08-26 19:32:39 +02:00
Rohan a43ebbfd2a [NOT FINAL] - forgot declaring stabilization_rate_indi_cmd in .h 2020-08-26 19:32:39 +02:00
Rohan f5292d3662 [NOT FINAL] - Solving on how to get gazebo files from previous commit 2020-08-26 19:32:39 +02:00
Rohan d2eac7cece [NOT FINAL] - Made changes after meeting Ewoud 2020-08-26 19:32:39 +02:00
Rohan 55b5736333 small changes before meeting Ewoud 2020-08-26 19:32:39 +02:00
Rohan fb9bb3e202 solved compilation errors - need to make function to check both indi attitude and indi rate controllers 2020-08-26 19:32:39 +02:00
Rohan 85cf72a07b New changes - _calc_cmd function receives angular accelerations - yet far from final, still needs to be discussed 2020-08-26 19:32:39 +02:00
Rohan c49d724680 Still doesn't compile 2020-08-26 19:32:39 +02:00
Rohan 7908895b22 Added changes asked by Gautier 2020-08-26 19:32:39 +02:00
Rohan 6f9b7f7560 Function definitions added 2020-08-26 19:32:39 +02:00
Rohan eaf9020283 Improving indi rate interface 2020-08-26 19:32:39 +02:00
Rohan 45cc0353b2 [INDI Rate Stabilization] - Added new function to set *rpy rates. My guidance module still needs to be reviewed. 2020-08-26 19:32:39 +02:00
Rohan 0203ebec6b [INDI Rate Control] - Done (Needs to be checked/verified/validated) 2020-08-26 19:32:39 +02:00
Gautier Hattenberger 6ad7fa93d0 Fix settings in log (#2569)
* [log] add the latest generated settings if available to log file

This way, the exact order of the settings used during the flight might
be available.
The only false case would be to start a server, rebuild and aircraft
with different parameters or target, then flash and start the plane. In
this case, there is no guarantee that the information is correct.
However, this is the best we can do, since we can't know when starting
the server with which target the aircraft will be used.

close #2563

* [fix] use correct FP dumping tool for replay
2020-08-26 16:15:24 +02:00
Tom van Dijk a3645e219e Module for transparent control of external GPIOs (#2564)
* GCC wrap example
* Rename pca95x4 to pca95xx
* Fix softi2c_spin hanging
     Suspected cause is sys_time_usleep hanging when called from SPI,
     because interrupts are disabled. But not confirmed. Adding LED
     code fixes the hang, so cannot test.

Co-authored-by: Tom van Dijk <tomvand@users.noreply.github.com>
2020-08-21 16:51:51 +02:00
Ewoud Smeur 5b634a9c8a some improvements of the README (#2565) 2020-08-17 18:23:38 +02:00
Gautier Hattenberger 5dfb6f2259 [fix] handle more exceptions when parsing conf (#2562)
it is currently crashing the server when their is an error in the conf
files
2020-08-17 18:21:39 +02:00
Hector Garcia de Marina 7dff606068 Merge pull request #2567 from OpenUAS/fix_for_gspeed_spiking_issue
Fix for gspeed spiking issue #2566
2020-08-15 20:52:49 +02:00
Open UAS 42fb2d8b4e Fix for gspeed spiking issue #2566 2020-08-15 16:25:33 +02:00
alexandre bustico 2ae834f228 Fix dshot and dma (#2552)
* dshot : driver that contain dma buffer should be in a non cached memory section

* dshot, dma : dma buffer must be in a volatile array

* esc_dshot and dma : fix dma burst condition for activation

* esc_dshot and dma : fix volatile missing in declaration

* lower adc and dma priority to preserve dshot timing

* remove unnecessary volatile declaration for dma buffer

* esc_dshot : replace frame + 4 sync bits by : 2 sync bits + frame + 2 syncs bits : in order to fix malformed frame in case of DMA latency
2020-07-31 18:23:34 +02:00
Fabien-B 03350bb4d7 Sphinx doc (#2558)
* [Doc] Adds doc about imu congiguration and fix some doc.
* [doc] Edit quick start doc.
* [Doc] Add "interfacing with Paparazzi" page.
* [Doc] Fix radio conf doc.
* [doc] Adds warning about out-of-date doc.

Co-authored-by: Gautier Hattenberger <gautier.hattenberger@enac.fr>
2020-07-28 16:45:46 +02:00
Ewoud Smeur 3b4ce8232e Cyclone guidance code (#2533) 2020-07-27 15:35:26 +02:00
Gautier Hattenberger de22fb1c29 [rotorcraft] split arming code definition from autopilot (#2550)
the arming states are currently defined in autopilot_static.h, which is
not compatible with the use of generated autopilot
2020-07-27 12:29:34 +02:00