Peter Barker
cb2e3424ee
Tools: add kilobytes as known unit
7 years ago
Randy Mackay
8186ce0d32
Tools: add deg/s/s to valid parameter units
7 years ago
Peter Barker
dca866c98d
Tools: make parameter generation failure clearer
7 years ago
Peter Barker
338af9e142
Tools: correct misleading comment on per-vehicle parameter descriptions
7 years ago
Peter Barker
5ac5a68d17
Tools: param_parse.py: replace @PREFIX in values with library prefix
7 years ago
Peter Barker
0b4dcdde35
Tools: param_parse.py: allow whitespace between vehicles
...
Also add sanity check that the vehicles you're limitting to we know
about
7 years ago
Peter Barker
d1128e7be4
Tools: param_parse.py: replace comments with debug statements
7 years ago
Peter Barker
eeb15d7fd5
Tools: param_parse.py: make comment consistent
7 years ago
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")
7 years ago
Peter Barker
e0125a68e7
Tools: param_parse.py: use single regex for params everywhere
7 years ago
Peter Barker
a45ab6b84c
Tools: param_parse.py: correct example comment
7 years ago
Peter Barker
ea2c156c7f
Tools: param_parse.py: understand tagging of parameters for specific vehicles
7 years ago
Randy Mackay
19af2f7d1d
Tools: add decibel as valid param Unit
7 years ago
Francisco Ferreira
eda5d9265f
Tools: add new no-emit option to param_parse.py so that only validation is done
8 years ago
Michael du Breuil
31924e46d3
Tools: Parameters: Permit kHz as a unit
8 years ago
Jacob Walser
b752594fe5
param_metadata: Markdown parameter formatter
8 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
023e3b6e30
Tools: Add comments explaining why a couple of units are not SI
8 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
02e7c49394
Tools: remove non-ASCII characters in comments, Travis chokes on them
8 years ago
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
8 years ago
Andrew Tridgell
496ed18530
autotest: sort libraries by name
8 years ago
Andrew Tridgell
de59f27e14
autotest: fixed parameter generation for recursive libraries
8 years ago
Pierre Kancir
bec09b9a57
autotest: python3 support
8 years ago
Pierre Kancir
63a6b28065
param_metadata: change Ardupilot site to old Ardupilot site
9 years ago
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
9 years ago
Peter Barker
27fadb2572
Tools: rstemit: render parameter information in h tables
...
Render ranges as "min - max"
9 years ago
Peter Barker
14b51080a9
Tools: remove erroneous space in rst output
9 years ago
Peter Barker
9f9e3843e0
Tools: formatting changes for rst parameter file
9 years ago
Peter Barker
a8e9fc19b0
Tools: allow param parser to emit ReStructured Text
9 years ago
Don Gagne
cae7ea0d13
Add @Volatile , @ReadOnly support
9 years ago
Don Gagne
07c0c6d519
autotest: Validate Range meta data for correctness
9 years ago
Andrew Tridgell
43d6060ba7
autotest: removed "Library Parameters" heading in autodocs
10 years ago
Randy Mackay
fbec1e63ad
autotest: fix typo in Bitmask keyword for autodocs
10 years ago
Randy Mackay
7c851b781b
autotest: allow Bitmask keyword in autodocs
10 years ago
Andrew Tridgell
b6ed86465b
autotest: prioritise .cpp projects over .pde projects
10 years ago
Andrew Tridgell
337cd3d4a7
autotest: allow RebootRequired keyword in autodocs
10 years ago
Andrew Tridgell
dfc7878b14
autotest: fixed cpp files for parameter parsing
10 years ago
Andrew Tridgell
cd2898b149
autotest: removed old table of contents link in generated paramater docs
10 years ago
Aaron Curtis
068febda1f
Tools: Fix broken duplicate check for adding new libraries to the data structure
11 years ago
Andrew Tridgell
4f33e4e114
autotest: fixed handling for wiki and xml generation
12 years ago
Andrew Tridgell
bfd61fec15
param_metadata: support .pde files for parameter autodocs
12 years ago
Andrew Tridgell
ceaa0c789c
autotest: improved preamble in auto param docs
12 years ago
Andrew Tridgell
7eb40d151c
autotest: added TOC link
...
thanks to Gary for the suggestion!
12 years ago
Andrew Tridgell
afd2f4bc78
autotest: added advanced param warning and header to auto-docs
12 years ago
Andrew Tridgell
e6891ebdab
autotest: fixed escaping of html in wiki descriptions
12 years ago
Andrew Tridgell
d510f8f722
autotest: added generation of Parameters.html for wordpress
...
this generates APM docs for wordpress
12 years ago
Andrew Tridgell
5818dce3d2
param_metadata: fixed parameter parsing for multi-parameter objects
...
also adds more error checking
12 years ago
Kevin Hester
d3dad7afee
autotest: add @User autodocs to the apm.pdef.xml as user=foo
12 years ago
Kevin Hester
a86ede4270
autotest: APM xml docs should be named xml.pdef.xml
...
(not arduplane.pdef.xml)
pch: rebased pull request #188
12 years ago
Kevin Hester
9885cc7ed1
Docs: Add XML emit to param_parse.py. See below for more details...
...
I've refactored the param_parse tool to use various 'emitters'. An emitter
can take parameter info and output it in a particular format. Currently the
only supported emitters are the wiki and XML formats.
The goal of these changes is to create a standard machine readable description
of parameters - mainly for use by ground control stations, but it will also
enable spiffy scripting environments where code can refer symbolically to
vehicle parameters (reflectionish).
Open issue: Is there any sort of Ardupilot build id which can be included in
the generated XML? That would ensure that we select the correct paramdefs
for the load on the target (possibly by asking the target for a SHA or
somesuch). If that issue is resolved, then the filename for the XML
file should probably be something like:
arduplane-ca5742ac.pdef.xml.
It is worth noting that I've proposed a suffix of ".pdef.xml" for these file
types. This facilitates automated file handling on Android devices. On
Android you can register 'handlers' for particular file extensions and if
the user tries to open that extension in email or a web browser your app
will be given a chance to do something about it. The 'outer' xml extension
will allow naive editors to know that at least this is an xml file.
I will include a sample of the XML format with the pull-request for this CL.
12 years ago
Andrew Tridgell
58a0cfc0b3
params: fixed ordering of vehicle parsing
...
this keeps it consistent in the wiki
12 years ago