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
Hamish Willee
30e2490d5b
Docs are now in user guide and main ( #19977 )
...
* Fix links to docs in source to point to docs on main not master
* More docs and scripts that need to point to main
2022-08-01 11:39:39 +10:00
Beat Küng
2333bef670
px4airframes doc: handle common outputs individually
...
preparation for dynamic control allocation, where we won't have MAIN vs
AUX anymore (at least for the generic frames).
2021-12-24 20:06:13 -05:00
Daniel Agar
1b7f4b6003
Jenkins HIL test loading all airframes
2021-11-23 12:38:41 -05:00
mcsauder
21163d859e
Whitespace cleanup.
2021-10-19 13:29:26 -04:00
Hamish Willee
219c9cf4b7
More specific airframe css
2021-08-02 08:26:46 +02:00
Hamish Willee
f70b6fbf0b
Fix rendering if name has inch symbol
2021-07-15 17:16:12 +02:00
Hamish Willee
72d08fe915
improve airframe generated output
2021-07-15 17:16:12 +02:00
Hamish Willee
f9201811b4
airframes markdownout.py - fix link to not open file for editing
2021-06-09 11:08:37 +02:00
Thies Lennart Alff
1c624d20f5
srcparser support for vectored 6 dof uuv airframe added
2021-04-22 08:30:11 +02: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
Roman Dvorak
1fea1a2822
Initial TF-B1 commit
2021-01-30 11:29:42 +01:00
Hamish Willee
59a1148aec
Modify airframe gen to use html.escape
2021-01-20 00:22:30 +01:00
Hamish Willee
d2eefbf2fb
Escape < and > in maintainer field
2021-01-20 00:22:30 +01:00
David Sidrane
185ffe9e13
nsh scripting:source (.) cmd supported
2020-09-16 21:32:04 -04:00
Daniel Leonard Robinson
fa4818e467
vehicles: add new vehicle type: Airship ( #14862 )
...
Co-authored-by: Anton Erasmus <anton@flycloudline.com>
Co-authored-by: Beat Küng <beat-kueng@gmx.net>
2020-08-10 08:52:51 +02:00
Hamish Willee
0a2c48c69a
airframe markdown script: Improve header text.
2020-04-09 08:21:25 +02:00
JacobCrabill
b186614857
airframes srcparser.py: Allow non-param comments
...
Add a "@desc" tag that gets ignored by the parameter parser. This
allows you to add (multi-line) documentation to airframe init files.
2020-03-08 12:00:29 +01: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
e23e3d7bae
Airframe parser: add docs
2019-07-22 13:02:45 +02:00
Julien Lecoeur
daeba4e75f
Add airframe .post scripts on NuttX targets
2019-07-22 13:02:45 +02:00
Ildar Sadykov
fb8630c267
Adding VTOL Octoplane airframe type ( #12303 )
...
* Srcparser updated, default script for VTOL octoplane added.
2019-06-22 14:13:29 +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
Hamish Willee
cb8a2b533d
Add Plane VTail to image group metadata
2018-10-18 09:56:36 -04:00
Daniel Agar
d04d62c37e
airframe metadata sort by SYS_AUTOSTART and minor cleanup ( #8009 )
2017-09-25 11:17:50 -04:00
Beat Küng
1d40336723
airframes parser: add dodecarotor image
2017-08-08 11:59:00 +02:00
Beat Küng
4ee9cb2e2f
px4airframes markdown: always use '/' for path separation
...
Because it's an URL and os.path.join() will use '\' on windows.
2017-08-07 11:12:51 +02:00
Beat Küng
41e53ef949
px_process_airframes: add image path as optional argument for markdown output
...
usage:
./px_process_airframes.py -m -i ../image/path
2017-07-14 11:57:11 +02:00
Hamish Willee
5af62c8e49
Fix up so image links work properly
2017-07-06 22:21:46 +02:00
Hamish Willee
8edc70d150
Add anchors for every vehicle in airframes reference
2017-07-06 22:21:46 +02:00
Hamish Willee
071cfc2d31
Ensure groups have unique names in TOC
2017-07-01 20:04:46 +02:00
Hamish Willee
6f3b6bf55b
Update parser to get class information and create separate groups for each class
2017-07-01 20:04:46 +02:00
Hamish Willee
50140b3d90
Group by vehicle type and add headings
2017-07-01 20:04:46 +02:00
Hamish Willee
d88e387013
Fix typo in exported text
2017-07-01 20:04:46 +02:00
Lorenz Meier
ad624c4a0a
Airframes parser: Add new class field
2017-06-27 11:07:03 +02:00
Beat Küng
06997915c2
px4airframes: update image path for markdown after dev-guide update
2017-04-18 11:58:18 +02:00
Beat Küng
42d2f8a798
px4airframes markdown output: merge output columns with maintainer
2017-04-18 11:58:18 +02:00
Beat Küng
2d9a82198a
airframes markdown output: merge Outputs where possible for each group
2017-04-18 11:58:18 +02:00
Beat Küng
a943bf37f0
Tools/px_process_airframes: add markdown output
2017-04-18 11:58:18 +02:00
Beat Küng
62c1a23ea3
Tools/px4airframes: refactor & remove some unneeded code
2017-04-18 11:58:18 +02:00
Lorenz Meier
3f545c270d
Removed unused code
2016-12-21 08:37:45 +01:00
Lorenz Meier
f23881d8ab
Airframes tool: Support basic pruning
2016-12-21 08:37:45 +01:00
Bart Slinger
815c367294
Add helicopter airframe icon ( #5234 )
2016-08-04 17:26:17 +02:00
Don Gagne
07775f7629
Add initial version stamps to meta data
2016-03-05 20:33:16 +01:00
Lorenz Meier
6a98c6ca63
Airframes XML generator: Add support for Octo Coax Wide
2016-02-02 08:31:32 +01:00