16 Commits

Author SHA1 Message Date
Junwoo Hwang
855eb42c59 Rename param and paramgroups to airframe and airframegroups
The srcparser.py is specific to each use case (e.g. Airframes, Parameters, px4events, etc as in Tool/* folders).
Therefore it is confusing to have the px_process_airframes.py script handle concept of airframes under the generic name 'params'.

This improves readability and sets the baseground for implementing more specific vehicle type supports, as mentioned in https://github.com/PX4/PX4-user_guide/pull/1858#discussion_r876554728
2022-11-10 07:39:27 +01:00
Daniel Agar
3f3a5f19f0 parameters: open export files O_TRUNC to discard previous data
- rcS parameter backup try to directly restore param (FRAM) from backup (in case SD card is removed before successful export)
 - rcS parameter backup logging rearrange to capture more logging output (param_import_fail.txt)
 - posix rcS try to keep param backup and restore roughly in sync with NuttX rcS
 - tinybson fix debug printf format
 - param_export_internal ensure file descriptor positioned at 0 (precaution)
2022-09-09 16:20:16 -04:00
Daniel Agar
1b7f4b6003 Jenkins HIL test loading all airframes 2021-11-23 12:38:41 -05:00
Daniel Agar
318c7e83b3 support up to PWM 14
- generate PWM_MAIN 1-14
 - generate PWM_AUX 1-8
 - generate PWM_EXTRA 1-8
 - px4io and pwm_out directly read configuration parameters
    - only available and active physical outputs are actually shown for configuration
 - overall saves flash despite adding many new parameters
2021-01-30 15:55:53 +01:00
David Sidrane
185ffe9e13 nsh scripting:source (.) cmd supported 2020-09-16 21:32:04 -04:00
Roman Dvořák
497ab07daf airframes: add ThunderFly Auto-G2 autogyro (#14015) 2020-01-27 16:21:52 +01:00
Lorenz Meier
adf7aee762 Harden autostart logic for non-existent airframe values
This ensures that the user is pushed back to the airframe configuration stage.
2019-12-26 10:16:58 +01:00
garfieldG
487addbba5 rc.autostart: add error reporting (#12527)
-Fixed bug : cd to /etc/init.d/airframes, but no cd after
-Added error report to user if value of SYS_AUTOSTART param value is incorrect
2019-07-31 07:37:40 +02:00
Julien Lecoeur
daeba4e75f Add airframe .post scripts on NuttX targets 2019-07-22 13:02:45 +02:00
Daniel Agar
38c84e6e9d rc.autostart restart shellcheck fix (161cf7) and exclude check
- fixes #10972
2018-12-03 15:11:45 +01:00
Daniel Agar
161cf7f5d9 shellcheck fix rc.autostart return and improve globbing 2018-12-01 10:03:19 -05:00
Daniel Agar
3e9e5ed372 ROMFS move airframes to subdirectory 2018-12-01 10:03:19 -05:00
Lorenz Meier
f23881d8ab Airframes tool: Support basic pruning 2016-12-21 08:37:45 +01:00
Daniel Agar
7d63920f25 srcparser.py split mixed windows path with os.path.split
-fixes #2997
2015-10-15 14:50:35 -04:00
Lorenz Meier
50a9e41dbd Fix RC out 2015-07-31 12:17:31 +02:00
Lorenz Meier
fde0c65d77 Airframe generator: Also generate autostart listing 2015-07-31 12:10:31 +02:00