Commit Graph

16311 Commits

Author SHA1 Message Date
Christophe De Wagter 46b07c1e9a Feed forward guidance (#3068) 2023-09-27 08:53:49 +02:00
Gautier Hattenberger ffcbfb6c2f [nav] small improvements to rotorcaft nav (#3108)
- macro for oval count
- set in_flight to true during takeoff with module
- specify the height of hybrid survey in a parameter
2023-09-26 22:11:43 +02:00
Gautier Hattenberger 76a9415aae [mag] fix typo and rotations (#3109)
- fix typo in ist8310 driver
- add rotation option to lis3mdl driver (for old style calibration)
2023-09-26 17:55:48 +02:00
Gautier Hattenberger dd7b07ab60 [mission] improvements to mission module (#3107)
- register mission status message for telemetry, so it can be used on
  extra link with companion computer
- add altitude proximity option to check alt on waypoints, not only
  2D position
- add documentation to XML file
2023-09-26 17:54:49 +02:00
Gautier Hattenberger acc6833af7 [ins] register new message and add ins_reset for EKF2 (#3106) 2023-09-26 17:52:46 +02:00
Christophe De Wagter b033c90132 [stabilization_indi] 2nd order rate filters and disabling pseudoinverse (#3104)
* [fix] MS45xx print MSG

* [stabilization_indi] second order rate filters and disabling pseudoinverse

* Apply suggestions from code review

* [fix] alternate in_flight detectors need motors_on.

* Default behaviour is WLS
2023-09-26 14:10:42 +02:00
Gautier Hattenberger f4f0cf2f3b [gps] add a timeout on gps fix lost (#3105) 2023-09-25 21:52:32 +02:00
Gautier Hattenberger 4812be6096 [fix] adapt object_tracking module to new nav interface (#3103) 2023-09-25 21:45:48 +02:00
Christophe De Wagter 3e27292244 move ground detection and in_flight detection to overridable functions (#3081) 2023-09-25 15:55:11 +02:00
Christophe De Wagter 0e50371dad [nav_rotorcraft_hybrid] tune deceleration (#3102)
Updated comments
2023-09-25 11:47:50 +02:00
Freek van Tienen b65e1da017 [periph] Invensense2 add timebase correction for PLL (#3099) 2023-09-25 11:46:25 +02:00
Christophe De Wagter fda4ce96b1 [ms45xx] Harmonize airspeed, send pressure to air_data and downlink via telemetry (#3098)
* [fix] Airspeed data different from airspeed state
* Update conf/modules/airspeed_ms45xx_i2c.xml
* [ms45xx] do not set state_speed but send to <air_data>, downlink now via telemetry.xml (no more sync send)
2023-09-25 11:30:27 +02:00
Christophe De Wagter 7bb581ddae [INDI] Harmonize INDI Simple and Full downlink (#3101) 2023-09-25 11:28:24 +02:00
Christophe De Wagter be32e5421b [module] ground_detect_sensor module (#3077)
fix tests

ground_detect_sensor

cleanup unused

final update
2023-09-25 08:53:54 +02:00
Christophe De Wagter 57756b0493 [important fixes] make test all confs (#3100)
* silent warnings make test_tudelft

* [fix] bugfix

* info instead of warning

* fix optical flow landing

* module that can not stop does not need a stop function

* missing CAMERA

* dangerous define not standard

* simulator not working at 120Hz

* When no if-statement was triggered, this is information and not a warning.

* remove doubles

* point to inexisting telemetry

* firmware settings hardcoded to need 7 actuators

* Merge double file into 1

* untested airframe

* old sim can only handle 60Hz

* non-existing telemetry

* old sim not accepting 120Hz

* Unify info messages

* only 60Hz sim

* survey no height

* Missing camera

* WP further from HOME than MAX_DIST_FROM_HOME

* No more warning when there is no heading feedback by design, only an info message

* clean releases

* no warning on free floating heading in manual controlled AC

* no double firmware block: use dual target instead

* fixedwing: PERIODIC must be multiple of TELEMETRY_FREQ

* missing camera

* error with dual heading feedback

* missing kill switch

* remove prefix

* implicit declaration of function 'scb_reset_system'

* implicit declaration of function 'spektrum_try_bind'

* no dual firmware

* shadowed variable

* wrong header

* typo in fix

* TELEMETRY_PERIOD should be a multiple of PERIODIC

* Missing struct dshot actuators_dshot_values in sim during e7781e7b87

* matek sim does not compile

* bebop misses a camera

* silent compile warnings opticflow

* silent compile warnings

* guido fixed

* double prefix

* changed confs

* new way

* setup_actuators setting up 8 actuators needs 8 actuators

* [openuas] so many comments that the compiler failed.

* [tests] make test_tudelft has 4 coonfs

* [ins_flow] depends on gps (called in initialization of  NED)

* [doc] update

* update naming convention

* an octocopter needs 8 ports please

* pprz_can_init type change

* changed conf
2023-09-25 01:12:39 +02:00
Christophe De Wagter 9541c19bc1 [fix] extra for #3089 2023-09-23 15:27:25 +02:00
Christophe De Wagter 17d86418df [flight_plan] set circle radius from flightplan Fixes: #3069 2023-09-22 07:33:30 -07:00
Christophe De Wagter 5672d5fcd6 [rpm_actuators] actuators on a bus require indices (#3089)
* [rpm_actuators] actuators on a bus require indices

* Fix all other ABI RPM messages

* [tools] Add servo driver offset in gen_airframe

* [fix] test actuators_bebop

* [test] disco fix

---------

Co-authored-by: Freek van Tienen <freek.v.tienen@gmail.com>
2023-09-22 14:10:33 +02:00
Christophe De Wagter 640d94102d [geofence] When altitude of the geofence is not changed, this is not a warning but Info. When the WP are too low it remains a warning. (#3097) 2023-09-22 13:12:32 +02:00
Christophe De Wagter 609241add3 [airspeed] reduce number of airspeed raw messages: (#3094)
* [airspeed] reduce number of airspeed raw messages: ETS, MS45xx, SDP3x, UAVCAN -> RAW

* compile warning

* typo

* Update sw/airborne/modules/sensors/airspeed_ms45xx_i2c.h

* warning

* UAVCAN -> RAW

* ETS register airspeed

* AIRSPEED_RAW in telemetry

* cleanup SYNC-SEND but use register-telemetry instead

* [ardrone] Fix values variable

* [sim] Fix compile warnings discaring const

* [modules] Fix airspeed ETS

---------

Co-authored-by: Freek van Tienen <freek.v.tienen@gmail.com>
2023-09-22 12:04:13 +02:00
Christophe De Wagter ca1c1dbe8f [uavcan] ESC temperature and motor temperature (#3088)
* [uavcan] ESC temperature and motor temperature

All to Celcius

PPRZLINK

* silent compile warning
2023-09-21 19:51:56 +02:00
Christophe De Wagter f65b4ae84d [modules] system identification update (#3075)
* [modules] system identification updates: auto-doublet-sequence, new doublets, RC-triggered chirps, testing

extra sysid

rename generic

test compile

* defines in a section instead of gcc, cleanup docs
2023-09-21 15:33:25 +02:00
Florian Sansou 536a9647a3 Solve problem with python version for pybullet (#3090)
Co-authored-by: Florian Sansou <florian.sansou@enac.fr>
2023-09-21 14:39:40 +02:00
Freek van Tienen b11dcf7f79 [imu] Enable the sending of specific IMU sensors (#3084) 2023-09-21 11:24:32 +02:00
Christophe De Wagter f835b95ab0 [modules] Approach moving target fixes: parameters in airframe files (#3086)
* [module] moving_target allow storing specific gains in airframe files and put all settings in the struct and remove unused

* requested changes

* [airframes] update setting defines
2023-09-21 11:23:06 +02:00
Freek van Tienen e39d4d80b8 [imu] Change cube orange+ IMU2 range 2023-09-20 18:13:49 +02:00
Freek van Tienen 7ae5f91a2a [modules] Fix flight recorder and MAVLink frequency to TELEMETRY_FREQUENCY and configuration (#3085) 2023-09-20 18:08:59 +02:00
Christophe De Wagter a98fd3ab49 [fix] distance counter update (list of rigidbodies) + typo in install 22.04 (#3083)
* Bugfix 22

* FIX dist script (#87)

Verfied in zoo

---------

Co-authored-by: Dries Borstlap <dries.borstlap@gmail.com>
2023-09-20 13:31:45 +02:00
Christophe De Wagter b7fca88f8d [airframes] harmonize airframes, test all flightplans and test compile all nederdrones (#3082) 2023-09-20 13:31:02 +02:00
Freek van Tienen 528f5d5b10 [boards] Add support for the CubePilot - Cube Orange+ (#3017)
* [imu] Add Invensense V3 driver

* [imu] Add samplerate to raw ABI message

* [boards] Add support for the CubePilot - Cube Orange+
2023-09-20 11:16:01 +02:00
Ewoud Smeur 0aeb8908c3 Fix guidance hybrid indi enter (#3043)
* Fix guidance hybrid indi enter

Upon entering while in forward flight, the reference angles need to be
reset based on the ZXY rotation order for tailsitters.

* nav.heading reset on enter done by guidance implementation

* set guidance heading sp after nav.heading is set
2023-09-19 15:01:23 +02:00
Christophe De Wagter 6aa81f3d7b [modules] airspeed UAVCAN (#3074)
* [modules] airspeed UAVCAN

ABI

* UAVCAN fix

* disable ABI send, define sensor rate
2023-09-18 17:04:32 +02:00
Christophe De Wagter d5f0875f42 [fix] hanging rm3100 (#3080) 2023-09-18 17:04:16 +02:00
Christophe De Wagter 3da0992fd5 [tools] Visualizer Rotating Wing (#3070)
* Visualizer Rotating Wing

Rotwing Monitor

* executable + tool

* removed STL

* Apply suggestions from code review
2023-09-18 15:00:42 +02:00
Freek van Tienen fd3479c2d7 [conf] Fix build warnings and small bugfixes 2023-09-18 12:09:49 +02:00
Freek van Tienen ff415a62bd [mavlink] Update to protocol V2 2023-09-18 12:09:49 +02:00
Christophe De Wagter 2a5c6d3eec [modules] Approach moving target filter (#3067) 2023-09-15 21:51:20 +02:00
Freek van Tienen 4ce25f4ad8 [modules] Generic UART sensor cleanup (#3071) 2023-09-15 09:02:37 +02:00
Christophe De Wagter 1b5068eb5b [fix] missing line in #3062 2023-09-14 08:38:16 -07:00
Christophe De Wagter 18483578f0 [install] Small update (#2998) 2023-09-14 17:21:00 +02:00
Ewoud Smeur 556e03ef28 [module] predict touchdown in case of kill (#3039)
* predict touchdown in case of kill

* remove message

* make variable extern and rename
2023-09-14 17:06:52 +02:00
Christophe De Wagter 6435c9fc43 [airframes] Airframe fixes (#3061) 2023-09-14 16:58:15 +02:00
Christophe De Wagter d967bf237b [python] Moving-base simulator (#3066)
Missing new heading field
2023-09-14 16:52:34 +02:00
Christophe De Wagter d3dfb2c5af [modules] Generic UART Sensor (#3060) 2023-09-14 14:10:36 +02:00
Christophe De Wagter ce15efd045 [python] fuel-cell endurance estimators and status fixes (#3059)
* [python] fuel-cell endurance estimators and status fixes

* controlpanel

* [python] Update fuel cell python

---------

Co-authored-by: Freek van Tienen <freek.v.tienen@gmail.com>
2023-09-14 14:06:39 +02:00
Christophe De Wagter 18963250b1 [modules] Follow me bugfixes (#3065) 2023-09-14 13:49:19 +02:00
Freek van Tienen 32fbddcafd [modules] ESC telemetry send only set information 2023-09-14 13:47:29 +02:00
Freek van Tienen e05cda6c53 [electrical] Add average power 2023-09-14 13:47:29 +02:00
Fabien-B f2ed1adfec [supervision] Fix edit flight plan in GCS. 2023-09-14 12:00:49 +02:00
guidoAI a40e0fa4e1 Pull request with all the code for 6 DOF optical flow control, the ba… (#3028)
* Pull request with all the code for 6 DOF optical flow control, the basis of a Nature and Nature Machine Intelligence paper.

* Camera ID was already added.

* Remove a duplicate airframe file.

* Cleanup

* Simulator does not work with opticflow

* Incorporated comments review

* fix provides

---------

Co-authored-by: Christophe De Wagter <dewagter@gmail.com>
2023-09-13 15:46:23 +02:00