Beat Küng
8b64fc8a5e
Tools/px4moduledoc: add some comments, describe the regexes
2017-07-14 11:57:11 +02:00
Beat Küng
45bc882f5d
px_process_params: fix scope when script is called from repo root
...
If called with ./Tools/px_process_params.py, the path would start with
src/<module>, and thus not match the regex "^.*/src/"
2017-07-14 11:57:11 +02:00
Daniel Agar
f26cd01d16
param gen reorganize and fix DISABLE_PARAMS_MODULE_SCOPING
2017-06-12 12:18:53 -04:00
Daniel Agar
db816982cd
px4params don't search recursively for params
...
- move controllib_test under controllib
2017-06-04 18:22:42 +08:00
Beat Küng
62c1a23ea3
Tools/px4airframes: refactor & remove some unneeded code
2017-04-18 11:58:18 +02:00
Hamish Willee
33b4ec450d
Update parameter script to include increment, enum value, bitmask, module information
2017-04-06 14:04:26 +02:00
Hamish Willee
0ea331d5c4
Add markdown (HTML) output format for parameters
2017-04-05 13:39:33 +02:00
James Goppert
85f62f5da0
Fix param scoping to use cmake for parsing.
2017-02-17 11:26:46 +01:00
mazahner
6fe9b8e543
use CmakeLists scope to generate te XML file
...
- the only difference really is, that scope (the configuration.cmake) is already passed
to px_process_params via the argument --scope. The Paths in --scope are evaluated w.r.t
the path to src provided via the -s /--src-path argument.
- if no --scope is proveided. the Old scheme by simply walking the full --src-path directory
is applied
2017-01-04 09:29:52 +01:00
Mark Whitehorn
48778ed3f2
bump parameter minor version
2016-12-16 18:12:17 +01:00
Mark Whitehorn
f0b41a0e52
change main trims to normalized values
2016-12-10 12:56:39 +01:00
Mark Whitehorn
dbc149c224
change trim units from absolute usec to normalized values
2016-12-10 12:56:39 +01:00
Mark Whitehorn
764101e41e
bump parameter minor version
2016-12-10 12:56:39 +01:00
Mark Whitehorn
a0c8a78a14
use trim values to set mixer:scaler.offset
...
clamp mixer output offset to [-.2,.2] ([-2000, 2000] in mixer file)
add 8 main PWM trim parameters
add long desc to parameters and bump minor parameter version
2016-12-10 12:56:39 +01:00
Michael Schäuble
b9b9f17eee
Fix build errors ( #5436 )
...
* Use sorted to fix python3 build error
* Add drv_hrt.h include to Bebop df wrappers
2016-09-03 12:34:27 +02:00
Daniel Agar
4252511b8e
add bitmask param metadata
2016-07-07 12:42:59 +02:00
Stephen Street
039d5528dd
Change prefix construction to allow correct building of scope tag in parameters.xml when building out-of-tree ( #4781 )
...
Fixes issue #4767
2016-06-09 15:08:57 -04:00
Beat Küng
6a07d61671
parameter source parser: validate length of parameter name (limited to 16)
2016-05-14 11:29:24 +02:00
Daniel Agar
194b48b50a
srcscanner.py replace windows slashes
2016-05-11 18:51:39 +02:00
Lorenz Meier
23a9af9088
Bump param meta version
2016-05-01 18:28:45 +02:00
David Sidrane
64d43ad381
Scope parameter included in build by cmake/configs
...
Conflicts:
Tools/px_generate_params.py
src/lib/ecl
2016-05-01 13:47:41 +02:00
Lorenz Meier
a741257293
Enable new ESP8266 TELEM2 output mode
2016-04-29 14:59:11 +02:00
Lorenz Meier
a01cb1d0b8
Bump param meta version
2016-04-27 16:40:58 +02:00
Lorenz Meier
2a83cb54c8
Raise param meta version
2016-04-25 09:36:13 +02:00
Lorenz Meier
d3dff8a1e2
Raise params version
2016-04-25 08:44:51 +02:00
Daniel Agar
ff75b8bb8f
allow boolean tag
2016-03-25 20:47:56 -04:00
Lorenz Meier
79fb8036b6
Bump param meta version
2016-03-13 18:29:01 +01:00
Lorenz Meier
ad58fc7458
Bump param version
2016-03-06 17:38:08 +01:00
Don Gagne
07775f7629
Add initial version stamps to meta data
2016-03-05 20:33:16 +01:00
Lorenz Meier
9415dd8cd3
Add support for increment tag
2016-02-28 19:42:19 +01:00
Lorenz Meier
b1a16c711e
Param meta data: Validate new enum value entries
2016-02-06 16:19:46 +01:00
Lorenz Meier
203416f136
PX4 params: Support enum values
2016-02-06 16:11:58 +01:00
Lorenz Meier
1772cbe5e0
Support reboot_required tag
2016-01-13 21:14:35 +01:00
Lorenz Meier
56d67c6f6c
Tools: Support injecting param meta, do not generate code for these
2015-11-09 09:31:43 +01:00
Lorenz Meier
e5d6b1c985
Tools: Parse new decimals tag
2015-10-23 19:53:09 +02:00
Thomas Gubler
e713f689bf
has_key is not available in python > 3.0
...
Replacing with 'in'
See https://docs.python.org/3.1/whatsnew/3.0.html#builtins
2015-09-12 15:39:28 +02:00
mswingtra
68e726ce37
px4_param_def to QGC fix
2015-08-28 11:18:52 +02:00
Don Gagne
55ce4d7b91
Check for duplicates
2015-07-22 09:59:23 -07:00
Don Gagne
ad7612220d
Validate meta data
2015-07-22 09:01:31 -07:00
Thomas Gubler
07f6165290
make parameter parser work with python3
2015-05-04 14:04:09 +02:00
Don Gagne
6bf0a2618b
Add support for board attribute to parse output
...
This allows for writing parameter meta data which is specific to a
board type
2015-04-21 12:31:08 -07:00
Lorenz Meier
f8cf495494
Revert "Added ability for board specific meta data generation"
...
This reverts commit 9ac350a7d1c5c07a4e4ba7824744930f9110dedc.
2015-04-18 11:38:23 +02:00
Don Gagne
9ac350a7d1
Added ability for board specific meta data generation
...
Use new @board meta data attribute for board specific ifdef support
2015-04-18 11:14:12 +02:00
Don Gagne
202cfd21d0
Change to V2 spec of param meta data
...
Had to switch to ElementTree to get attribute support
2015-04-16 10:21:18 -07:00
Don Gagne
2fa0c333cb
Add version number to parameter meta data
2015-04-15 14:53:06 -07:00
Don Gagne
05c351183f
Parameter meta data fixes
2015-04-15 11:29:37 -07:00
Lorenz Meier
84d744707d
UAVCAN: Move into lib directory
2014-12-23 14:34:53 +01:00
Stefan Rado
ec78fcf2b9
Improve DokuWiki formatting.
2014-02-19 01:54:01 +01:00
Stefan Rado
8d41155fb6
Rework px_process_params.py into a fully featured program.
2014-02-18 22:34:52 +01:00
Stefan Rado
55e66f5ad1
Rename Scanner and Parser classes to SourceScanner and SourceParser to avoid naming conflicts.
2014-02-18 22:07:42 +01:00