69 Commits

Author SHA1 Message Date
Pedro Roque
271cb49597
feat: airframe documentation for spacecraft (#25294) 2025-09-02 16:27:26 -07:00
co63oc
bc0d257e86
Fix typos in comments (#24474) 2025-03-08 00:56:30 -09:00
Hamish Willee
5ce2bf662b airframes markdownout.py - br rather than p for generated code 2024-12-02 11:55:25 +01:00
Matthias Grob
7f14110bb1 Fix missing newlines at the end of files 2024-07-19 14:33:36 +02:00
Matthias Grob
c8c46788ed Autostart: load airframes with priority ROMFS -> SD card 2024-07-03 18:32:16 +02:00
Hamish Willee
6796945d0b
Fix up notes boxes for docs (#22999)
* Fix up notes boxes for docs

* Update markdownout.py

* Update markdownout.py

* Update markdownout.py
2024-04-17 13:28:07 +12:00
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