Commit Graph

36 Commits

Author SHA1 Message Date
Andrew Tridgell 65099d0626 Tools: allow Ohm units in parameters 2023-10-08 11:04:21 +11:00
Peter Barker d58e482cba Tools: param_parse.py: add and use new markup @Vector3Parameter
Generates three parameter documentation entries, one for each axis.

Avoids having to duplicate the same data three times for each entry in the vector
2023-08-11 10:34:02 +10:00
Andrew Tridgell 8442787770 Tools: added litres param unit 2023-05-30 21:04:34 +10:00
Andrew Tridgell 2d127c27c3 Tools: throw an error on duplication parameters in libraries 2023-02-12 07:02:15 +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
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
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
Pierre Kancir 409177d22a Tools: remove duplicate kg/m.m 2021-01-12 10:21:55 +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
bugobliterator c02c500ac5 param_metadata: add microseconds under known param type 2020-08-19 17:31:09 +10:00
murata 2e69317c2c Tools: Change the unit of barometric pressure from mbar to hPa. 2020-07-21 09:56:21 +10:00
Iampete1 579227d27a Tools: param.py add MB 2020-06-09 09:23:25 +10:00
Peter Barker 16f4d33d00 Tools: add known Calibration tag to apm.pdef.xml
this will allow a GCS to hide anything that a user should never
ordinarily have to see in terms of calibration parameters
2020-02-04 20:29:09 +11:00
bnsgeyer 6074b1b7c9 Tools: add RPM to units list 2019-09-13 08:53:54 +09:00
Pierre Kancir 4f35992049 Tools: make param_parse.py error more explicit
Signed-off-by: Pierre Kancir <pierre.kancir@azurdrones.com>
2018-10-10 11:22:45 +11:00
Michael du Breuil 177c4c2d44 Tools: Accept mAh as a unit 2018-05-26 08:49:02 +09:00
Tom Pittenger c59be8bafe Tools: add "octal" param unit 2018-05-23 14:02:45 -07:00
Peter Barker cb2e3424ee Tools: add kilobytes as known unit 2018-05-08 09:36:01 +10:00
Randy Mackay 8186ce0d32 Tools: add deg/s/s to valid parameter units 2018-04-05 12:14:59 +09:00
Peter Barker 825832be93 Tools: param_parse.py: add a map for vehicle name to a true-name to be used in code
Where true-name is something like "Rover" and the normal name remains
the directory name (e.g. "APMrover2")
2017-12-16 11:08:35 +11:00
Randy Mackay 19af2f7d1d Tools: add decibel as valid param Unit 2017-12-12 07:59:41 +09:00
Michael du Breuil 31924e46d3 Tools: Parameters: Permit kHz as a unit 2017-07-16 08:26:52 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas 023e3b6e30 Tools: Add comments explaining why a couple of units are not SI 2017-05-17 18:07:25 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas 02e7c49394 Tools: remove non-ASCII characters in comments, Travis chokes on them 2017-05-17 18:07:25 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas d7c7deacdf Tools: Follow SI units conventions
http://physics.nist.gov/cuu/Units/units.html
http://physics.nist.gov/cuu/Units/outside.html
and
http://physics.nist.gov/cuu/Units/checklist.html
http://www.bipm.org/en/publications/si-brochure/
http://www1.bipm.org/en/CGPM/db/3/2/   g_n unit for G-force
one further constrain is that only printable (7bit) ASCII characters are allowed

Add a validation so that Travis can validate the units
Use full text unit information when generating .wiki, .rst and .html documentation
Use both unit symbol and unit full text when generating .xml
2017-05-17 18:07:25 +10:00
Pierre Kancir 9e1ffcae5d Tools: update python coding style
Tools: update PrintVersion.py coding style

autotest: update python coding style

pysim: update python coding style

jsb_sim: update Python coding style

param_metadata: update Python coding style
2016-09-01 13:05:11 +10:00
Don Gagne cae7ea0d13 Add @Volatile, @ReadOnly support 2016-03-17 10:58:05 +11:00
Randy Mackay fbec1e63ad autotest: fix typo in Bitmask keyword for autodocs 2015-06-05 09:19:26 +09:00
Randy Mackay 7c851b781b autotest: allow Bitmask keyword in autodocs 2015-06-04 21:31:41 +09:00
Andrew Tridgell 337cd3d4a7 autotest: allow RebootRequired keyword in autodocs 2015-05-29 16:35:33 +10:00
Andrew Tridgell 5818dce3d2 param_metadata: fixed parameter parsing for multi-parameter objects
also adds more error checking
2013-05-21 17:02:13 +10:00
Andreas M. Antonopoulos 453c1677b5 parameter metadata -> wiki, bug fixes 2012-07-04 17:42:38 -07:00
Andreas M. Antonopoulos c4b59a89da parameter metadata parser and wiki generator 2012-07-04 16:44:53 -07:00