Commit Graph

49 Commits

Author SHA1 Message Date
Matthias Grob ce9bb0dc6b multicopter defaults: use PX4 default <2g ublox GNSS dynamic model also for multirotors
It currently defaults to 1g for multirotors, which works in most cases. However, during extended high-acceleration flight (e.g. in Stabilized mode), the limited dynamic model can upset the EKF, causing repeated resets due to data inconsistencies. Recovery is sometimes quick but can also be too slow to maintain position after high acceleration flight. This issue was observed on an 850mm vehicle, not a racer.
2025-05-27 15:27:32 +02:00
Marco Hauswirth 7a9608e54b increase EKF2_RNG_FOG for FW and VTOL 2025-01-20 14:43:30 -05:00
Daniel Agar 55be169e18 delete remaining PWM_MAIN/PWM_AUX/PWM_EXTRA parameters 2022-09-09 09:14:09 -04:00
Daniel Agar cac9c51ac8 ROMFS: purge old mixing system
- SYS_USE_IO is now off by default (enabled by default per board)
2022-09-09 09:14:09 -04:00
Daniel Agar 36e6527013 ROMFS: MAV_TYPE cleanup
- set MAV_TYPE as a parameter default per vehicle type, or airframe if necessary
 - cleanup MAV_TYPE param metadata and commander helper to only include
what's currently used in PX4
2022-03-17 09:28:10 -04:00
Beat Küng 4cbee44220 rc.mc_defaults: only set IMU_GYRO_RATEMAX if default
Allows boards to set a higher rate.
2022-01-17 10:41:33 -05:00
mcsauder c1b0d78077 Minimize flash by migrating MIXER quad_x and PWM_OUT 1234 to rc.mc_defaults. Deprecate 4250_teal config file. 2021-10-13 17:25:18 -04:00
Daniel Agar c9a2d0ed34 IMU_GYRO_RATEMAX set system default to 400 Hz
- MC default is still 800 Hz
2021-03-02 10:08:49 -05:00
Daniel Agar b67aa77d29 ROMFS: use new param default mechanism 2021-02-12 08:27:47 -05:00
Daniel Agar d1a3590aac PWM: transition PWM_{MIN,MAX,DISARMED,RATE} -> PWM_MAIN 2021-02-01 08:53:33 +01:00
Silvan Fuhrer 195a900ecf change default of RTL_LAND_DELAY to 0
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2021-01-17 12:05:30 +01:00
Matthias Grob c9e64988b9 GPS Dynamic model default <1g
Only have it higher for VTOL and fixed wing.
Multicopter position controlled flight is in our experience always <1g.
Acrobatic flying definitely exceeds the acceleration but if control
doesn't rely on the GPS velocity and position there shouldn't be any
problem.
2020-04-08 11:52:38 -04:00
Claudio Micheli f3eafdc296 Fix wrong initialization of PWM_AUX_RATE.
Signed-off-by: Claudio Micheli <claudio@auterion.com>
2019-08-23 15:37:57 +02:00
Julian Oes 3ebf030a02 ROMFS: change shebang from #!zsh to #!/bin/sh
This was required for shellsheck.
2018-12-19 07:36:43 +00:00
Daniel Agar 3a036021ba ROMFS defaults drop floating point decimal 2018-12-04 22:57:53 -05:00
Beat Küng 37338e442f NuttX shell scripts: replace operator == with =
- NuttX supports both versions
- POSIX shell only supports '='
2018-09-27 23:39:20 +02:00
mcsauder 4ea3306ec2 Set parameters directly rather than script variables in VTOL airframe config files and alphabetize lists. 2018-09-04 10:23:27 +02:00
mcsauder 1fe526b8eb Updated and added full stops to comments and did some comment/whitespace formatting in the startup scripts. 2018-07-31 09:06:03 +02:00
mcsauder 2512f6e30e Format and comment fw, mc, vtol, and ugv vehicle apps and default startup scripts. 2018-07-13 11:02:26 +02:00
Lorenz Meier 3bb9dbba98 Better param PWM defaults for multicopter 2016-12-13 09:18:59 +01:00
Lorenz Meier 421b4fb6fb MC: Handle PWM params in startup 2016-12-13 09:18:59 +01:00
Anton Matosov 4edd12c44a Make PWM_RATE configurable via QGroundControl 2016-11-19 15:14:18 +01:00
Daniel Agar 6d655d2d6e startup remove old EKF PE_ params (#5533) 2016-09-26 22:51:43 +02:00
Mark Whitehorn 545152f676 remove "transitional support" (#5378) 2016-08-24 23:05:39 +02:00
Andreas Antener 433eeb3d09 make landing in RTL default for VTOL capable vehicles 2016-04-21 09:32:33 +02:00
tumbili 7d893703d7 ensure suitable PWM min/max/disarmed param values for multirotor and vtol 2016-03-01 09:45:42 +01:00
Lorenz Meier 11da8df84a FMUv4: Disable safety on all current boards and in the future for all racing configs 2016-02-27 11:26:49 +01:00
Lorenz Meier efcc4f81e2 ROMFS: Do not set gains which are similar between platforms 2015-08-30 19:37:41 +02:00
Lorenz Meier 509b8c1c24 MC: Move all multicopter configs to PWM min/max params 2015-07-26 10:52:09 +02:00
Lorenz Meier 0a44efa3c5 ROMFS: Doc fixes 2015-07-22 12:24:56 +02:00
Lorenz Meier c05c5bfceb Multicopters: Load gimbal mixer by default 2015-07-07 10:12:23 +02:00
Lorenz Meier 4c70fadb38 Update MC EKF default params 2015-06-27 11:13:18 +02:00
Lorenz Meier 8fa161b7c4 Multicopter configs: Remove duplicate defaults, each line checked to match new param-level defaults 2015-06-21 18:58:06 +02:00
Lorenz Meier cf56db21a3 Better defaults for filter tuning params 2015-03-15 12:00:48 +01:00
Lorenz Meier d8ff76bf7e Fix parameter name for initial setup parameter config 2014-12-30 10:44:23 +01:00
Thomas Gubler 1b47f05b14 rename DO_AUTOCONFIG to AUTOCNF in all files 2014-11-17 17:10:47 +01:00
Lorenz Meier 4f7e66bba2 Merged master in yaw_acceptance_fix 2014-07-01 09:28:49 +02:00
Lorenz Meier 8f1c46be92 Merge branch 'master' of github.com:PX4/Firmware 2014-06-01 11:50:29 +02:00
Lorenz Meier 0c35b7a8ee Fixed EKF initial param values 2014-06-01 11:50:14 +02:00
Anton Babushkin 95a8414895 rc.mc_defaults: set default acceptance radius (NAV_ACCEPT_RAD) to 2m 2014-05-22 19:55:24 +02:00
Lorenz Meier 6a6feaf96c Merged master 2014-05-07 14:14:31 +02:00
Anton Babushkin 41a0f17b4e mc.defaults: MPC_TILTMAX_XXX parameters fixed 2014-05-04 19:55:24 +02:00
Lorenz Meier edd16afead Add filter parameters and multicopter defaults to parametrize Pauls estimator correctly when running for multicopters. Estimator itself not updated yet, will be next step. 2014-04-19 15:49:29 +02:00
Anton Babushkin 183a0cdb22 MC: default MC_YAWRATE_I changed for all setups, navigator: increase yaw acceptance to 0.2rad ~ 11deg 2014-04-04 12:33:02 +04:00
Anton Babushkin 16908f9aff autostart for multicopters: frame-specific default parameters reverted and cleaned up 2014-02-11 23:24:49 +01:00
Stefan Rado d70d84c9a7 Fixed wrong VEHICLE_TYPE for multicopters. 2014-02-10 13:35:11 +01:00
Julian Oes 0a87f1d01c Startup scripts: move X5 attitude parameters back to X5 script and only leave airframe independent params in FW defaults script 2014-02-08 00:32:57 +01:00
Julian Oes fff00318cd Startup scripts: get the indentation right 2014-02-07 22:39:06 +01:00
Julian Oes 70e1bfa4d6 Startup scripts: use rc.mc_defaults for default MC parameters 2014-02-07 22:28:42 +01:00