Andrew Tridgell
8442787770
Tools: added litres param unit
2023-05-30 21:04:34 +10:00
Peter Barker
d8bc223fe4
autotest: param_parse.py: recurse, don't glob in lua script dirs
...
many scripts are now categoriesed e.g. Aerobatics
2023-04-05 10:07:19 +10:00
Iampete1
65374a01a3
Tools: autotest: param metadata: allow parsing multi line values
2023-03-21 11:41:18 +11:00
Andrew Tridgell
2d127c27c3
Tools: throw an error on duplication parameters in libraries
2023-02-12 07:02:15 +11:00
Andrew Tridgell
01d72aef17
Tools: cope with not being in top directory
...
autotest runs from ../buildlogs
2023-02-11 12:56:05 +11:00
Andrew Tridgell
62b7d0276e
Tools: don't put lua parameters in rst output
2023-02-11 12:56:05 +11:00
Andrew Tridgell
51a6c69f9b
Tools: support parameter docs from lua applets and drivers
2023-02-11 12:56:05 +11:00
Peter Barker
52f6810d50
Tools: param_parse.py: sort SIM_ parameters into the output files
...
primarily to make the Wiki look nicer
2023-01-12 13:46:22 +11:00
Peter Barker
bd850b9034
param_parse.py: emit rst heading only for SIM_, no children
2023-01-10 14:39:45 +11:00
Peter Barker
8de890bc7d
param_parse.py: emit SIM_ parameters along with everthing else
2023-01-10 14:39:45 +11:00
Peter Barker
f0641f2734
Tools: implement parameter CopyFieldsFrom and use it
2023-01-03 11:08:43 +11:00
Peter Barker
cbecb20614
autotest: param_parse.py: allow Values and Bitmasks to span multiple lines
2022-12-28 13:21:18 +11:00
Reilly Callaway
b839fb582c
Tools: Add kg per cubic meter unit metadata
2022-09-20 15:24:48 +10:00
Andrew Tridgell
2157dd7934
Tools: added required fields for libraries
...
there are 7 missing at the moment:
missing parameter metadata field 'Description' in ARSPD_USE
missing parameter metadata field 'Description' in ARSPD_OPTIONS
missing parameter metadata field 'Description' in ARSPD2_USE
missing parameter metadata field 'Description' in ARSPD2_AUTOCAL
missing parameter metadata field 'Description' in ADSB_OPTIONS
missing parameter metadata field 'Description' in Q_LOIT_ANG_MAX
missing parameter metadata field 'Description' in Q_WVANE_HGT_MIN
2022-08-16 11:50:11 +10:00
TunaLobster
670378dc73
Tools: rstemit.py: Change Range to be clearer meaning
2022-07-12 12:58:39 +10:00
Pierre Kancir
e2ce9b388c
Tools: fix rstemit.py permission
2022-06-08 08:16:42 +09:00
Pierre Kancir
5bdc77a5b9
Tools: param_metadata: remove useless shebang
2022-06-08 08:16:42 +09:00
Peter Barker
dfa373c1d7
autotest: param_parse.py: correct JSON output
2021-12-21 11:55:51 +11:00
Peter Barker
ff77a17fdd
autotest: param_parse.py: allow CopyValuesFrom in vehicle directories
2021-12-16 07:11:33 +11:00
Peter Barker
7eb6fdbecd
Tools: param_metadata: add support from CopyValuesFrom
2021-12-15 09:54:06 +11:00
TunaLobster
1df66731c8
Tools: Add rstlatexpdf emitter
2021-08-31 09:28:03 +10:00
TunaLobster
7d92ab1fb0
Tools: Fix emit.py regex
2021-08-23 14:44:27 +10:00
TunaLobster
6381297215
Tools: Move reboot required from table to note
2021-08-20 11:23:21 +10:00
TunaLobster
b5f7fca254
Tools: parameter emitter spelling pass
2021-08-19 10:00:16 +10:00
Michelle Rossouw
8017e528c8
Tools: Add Blimp to param_parse.py
2021-07-06 14:56:02 +10:00
Peter Barker
b6d5569244
Tools: param_metadata: disallow @Values and @Bitmask at same time
2021-06-23 18:37:34 +10:00
Peter Barker
0a06a9e446
param_metadata: reinstance @Values/@Bitmask magic for excluding params from vehicle output
2021-05-17 10:18:35 +10:00
Peter Barker
eb2b1b3231
Tools: param_meteadata: correct @Values{Plane} etc handling
2021-05-17 10:18:35 +10:00
Peter Barker
c18c4ad6ec
Tools: param_metadata: remove use of dirname when creating Vehicle
...
So a Vehicle object takes a truename - i.e. Copter, not ArduCopter, but
can also take a "reference", which is used for e.g. constructing RST
tags.
2021-05-13 21:09:45 +10:00
Peter Barker
3ea9307419
Tools: param_metadata: flake8 cleanliness
2021-05-13 21:09:45 +10:00
Peter Barker
1123de112c
Tools: param_metadata: tidy finding of Vehicle parameter file
2021-05-13 21:09:45 +10:00
Peter Barker
97e57932c4
Tools: param_metadata: remove more multi-vehicle support
...
This script hasn't supported emitting multiple vehicles for a very long
time, but this was enforced using a check and we kept a list of vehicles
around for no very good reason.
2021-05-13 21:09:45 +10:00
Pierre Kancir
927a875133
Tools: param_parse: fix vehicle specific parameter with multiple fields
2021-04-21 11:30:54 +10:00
Peter Barker
27b6637c2d
Tools: param_parse.py: add support for generation for AP_Periph
2021-04-11 11:31:41 +10:00
Peter Barker
b107740542
Tools: param_parse: add --sitl to emit only SIM_ parameters
2021-04-10 11:28:22 +10:00
Peter Barker
b369e86c0c
Tools: param_parse: remove references to APM in parameter generation
2021-04-07 17:08:25 +10:00
Peter Barker
229b25d916
Tools: param_parse: add *args and **kwargs to emitters
2021-04-07 17:08:25 +10:00
Peter Barker
5a927d84c8
Tools: param_parse: rejig selection of emitters
2021-04-07 17:08:25 +10:00
Peter Barker
5ef5fc9d84
Tools: param_parse: stop generating old .wiki format
2021-04-07 17:08:25 +10:00
Peter Barker
c3414a5767
Tools: param_parse: move init of variable lower
2021-04-07 17:08:25 +10:00
Peter Barker
4c6b07e950
Tools: param_parse: remove support for Parameters.pde
2021-04-07 17:08:25 +10:00
Peter Barker
18ded114ae
Tools: param_metadata; stop prettifying XML before emitting
...
indent is not available on our documentation server:
[build_parameters.py]
Traceback (most recent call last):
File "./param_parse.py", line 422, in <module>
do_emit(XmlEmit())
File "./param_parse.py", line 415, in do_emit
emit.close()
File "/home/wiki/build_wiki/ardupilot/Tools/autotest/param_metadata/xmlemit.py
", line 24, in close
etree.indent(self.paramfile)
AttributeError: module 'lxml.etree' has no attribute 'indent'
2021-04-02 14:39:39 +11:00
Pierre Kancir
ebe841ba70
Tools: param_parse: validate empty description and fields
2021-03-17 18:54:53 +11:00
Pierre Kancir
409177d22a
Tools: remove duplicate kg/m.m
2021-01-12 10:21:55 +11:00
Andrew Tridgell
529bc6b77c
autotest: fixed compatibility with python on wiki server
2021-01-02 16:34:29 +11:00
Pierre Kancir
69fab70582
Tools: use lxml for xml generation
...
fix caracters
fix indentation
validate xml
2020-12-30 18:19:43 +11:00
Iampete1
6f92e6298a
Tools: add Kg/m.m to param units
2020-12-22 11:00:59 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
fb8e1f4b9d
Tools: Added support for 1/s and kg/m/m parameter units
2020-12-15 18:22:36 +11:00
Pierre Kancir
774c8583b1
Tools: make apm.pdef.xml more readable.
2020-10-07 19:38:14 +11:00
Peter Barker
fdb31a6419
autotest: param_parse.py: validate @User field to be Standard or Avanced
2020-09-22 14:56:04 +10:00