55 Commits

Author SHA1 Message Date
bresch
b80f15f7b5 ekf2-mag_auto: always use mag 3D after takeoff 2024-02-27 12:33:43 -05:00
Matthias Grob
9156c5c065 ROMFS: remove single trailing zeros 2024-01-09 10:27:39 +01:00
Silvan Fuhrer
29807a5e50 Replace CBRK_AIRSPD_CHK with SYS_HAS_NUM_ASPD
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2023-12-21 11:34:28 +01:00
Konrad
ae3aee3402 fw param: reduce default COM_VEL_FS_EVH to warn earlier when velocity uncertainty increases 2023-12-05 10:42:23 +01:00
Daniel Agar
36010a9a7c ROMFS: rc.fw_defaults set more conservative range finder requirements
- for FW the primary range finder usage is estimating the distance to
   the ground (terrain estimate) to guide the landing approach and initiate flare
 - increase EKF2_RNG_QLTY_T default 1->3 seconds
2023-09-13 12:14:13 -04:00
Silvan Fuhrer
4d2a31afe3 Navigator: remove max distance between WP mission feasibility check (MIS_DIST_WPS)
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2023-03-27 17:43:33 +02:00
Silvan Fuhrer
006321e278 Commander: remove unused param COM_POS_FS_EPV
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2023-02-24 13:32:38 +01:00
Silvan Fuhrer
9b3a28dff5 Commander: add local_position_accuracy_low flag, incl. warning and RTL
Set this flag to true if local position is valid but accuracy low, such that
the operator can be warned before system switches to position-failure failsafe.
Additionally, switch to RTL if currently in Mission or Loiter to try to reach home
or fly out of GNSS-denied area.

Set low accuracy threshold to 50m by default for FW and VTOL.

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2023-02-01 16:47:11 +01:00
Silvan Fuhrer
3ca126cc46 Commander: improve description of COM_FS EPH, EPV, VEL_EVH params and increase FW and VTOL defaults
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2023-02-01 16:47:11 +01:00
Silvan Fuhrer
0941ae7579 Navigator: remove MIS_LTRMIN_ALT param, and use new param MIS_LND_ABRT_ALT for landing abort
MIS_LTRMIN_ALt was used to limit the go-to altitude of a LOITER_TO_ALT (not the exit altitude,
but the altitude that the vehicle went to to fly to WP), and during landing abort to climb to
at least this altitude. The min entry altitude of LOITER_TO_ALT I remove with this commit, while
for the min alt during abort I added the new parameter MIS_LND_ABRT_ALT.

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2022-11-22 13:46:25 -05:00
Silvan Fuhrer
4cd7dfa162 MissionFeasibility: add combined takeoff/landing requirement check
Replace the existing check for the availability of a takeoff mission item with a combined
check for takeoff and landing item (or landing pattern). New param MIS_TKO_LAND_REQ
can be set to require only a takeoff, only a landing, both takeoff and landing, and
both or none. The latter is meant to be set if is e.g. deemed unsafe to start a flight
through a Takeoff WP without though defining a Landing - as then in case of a RTL the
vehicle doesn't follow a pre-defined path but instead only can do default RTL that especially
for FW and VTOL isn't always safe.

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2022-11-21 18:03:21 +01: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
Matthias Grob
eee4aaee4f Commander: remove dynamic position velocity probation period 2022-03-23 15:04:48 -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
Matthias Grob
789d91900d commander_params: lower COM_DISARM_PRFLT but disable for fixed-wing 2021-04-21 14:55:04 +02: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
037c821142 ROMFS: increase max distance between waypoints for VTOL and FW to 5km
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2021-01-17 12:05:30 +01:00
Todd Colten
b55ae09f00 FW: set default RTL_TYPE = 1 for fixed wing
This change adds the line "param set RTL_TYPE 1" to the default init scripts for fixed wing.  Similar to the other PR that sets default RTL_TYPE=1 for VTOLs, RTL_TYPE=1 should be default for normal fixed wings as well.  Reference: https://github.com/PX4/Firmware/pull/12746/files
2019-08-22 08:47:50 +02:00
Daniel Agar
aff13f6f64 rc.fw_defaults: reduce EPH/EPV failsafe values from 5x to 3x MC 2019-07-08 17:50:54 -04:00
Daniel Agar
2d922b5cb4
FW airframe defaults relax EKF2 GPS checks 2019-02-04 11:02:38 -05: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
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
f2970071a7 Acronym correction. 2018-07-13 11:02:26 +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
Daniel Agar
f131409bce FW defaults set commander eph, epv, evh thresholds 2018-04-24 00:02:48 -04:00
Daniel Agar
d6a609c552 FW enable EKF2 synthetic sideslip fusion by default 2017-11-25 21:01:00 -05:00
Daniel Agar
2fc29cf68f rc.fw_defaults FW position failsafe defaults 2017-09-05 12:57:25 -04:00
Daniel Agar
75a528e061 FW EKF2 and ublox defaults
- closes #7550
2017-07-09 00:24:00 +02:00
Daniel Agar
cd8c8ea5de FW default PWM_RATE 50 2017-06-28 09:13:19 +02:00
Lorenz Meier
9e2eac41ff ROMFS startup: Fix variable expansion for new NuttX scheme 2016-12-23 09:30:37 +01:00
Lorenz Meier
fce8e3eb23 Better param PWM defaults for fixed wing 2016-12-13 09:18:59 +01:00
Lorenz Meier
e0d770983c FW: Handle PWM params in startup 2016-12-13 09:18:59 +01:00
Daniel Agar
6d655d2d6e startup remove old EKF PE_ params (#5533) 2016-09-26 22:51:43 +02:00
Daniel Agar
59b4350aa0 implement MAV_CMD_NAV_LOITER_TO_ALT and general mission cleanup 2016-07-12 23:36:05 +02:00
Daniel Agar
7f89994785 use NAV_ACC_RAD for vertical waypoint acceptance (#4978) 2016-07-04 21:41:16 +02:00
Daniel Agar
adab451013 fw defaults param fix 2016-03-30 18:30:22 +02:00
Lorenz Meier
efcc4f81e2 ROMFS: Do not set gains which are similar between platforms 2015-08-30 19:37:41 +02:00
Lorenz Meier
e443a3f3be Harmonize FW default gains, increase TECS height rate default gain considerably 2015-08-02 16:07:31 +02:00
Lorenz Meier
3fa7006576 FW configs: Enable pass mixer by default 2015-07-09 15:51:44 +02:00
Lorenz Meier
4d4f3cffef Update FW EKF default params 2015-06-27 11:13:05 +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
af7385bdc2 Re-instate TECS default gains 2014-07-29 11:15:23 +02:00
Lorenz Meier
e5d28b2393 Hotfix: Fixed wing default parameters contained an unknown name 2014-05-14 14:15:40 +02:00
Lorenz Meier
057bcf3172 Changed RC scaling for fixed wing defaults 2014-03-21 10:45:12 +01:00