Beat Küng
8a2b310b83
topic_listener: avoid code generation, use existing metadata at runtime
...
This reduces flash size for v5 by ~110KB, the topic listener now only adds
about 1.2KB.
3 years ago
Beat Küng
4c73ac3805
uorb: use single byte for internal types in o_fields metadata
...
Reduces flash usage by ~9KB.
3 years ago
TSC21
0b23679f98
msg: templates: update empy contexts, required fields and license header years
4 years ago
Daniel Agar
cf26f24387
msg: add quaternion euler angle pretty print
4 years ago
Daniel Agar
c5cbc7725d
msg: timestamp_sample print elapsed from timestamp
5 years ago
Daniel Agar
9585055e9e
uORB: add bitset for faster orb_exists check and remove uORB::Subscription lazy subscribe hack/optimization
...
- add PX4 bitset and atomic_bitset with testing
- add uORB::Subscription constructor to take ORB_ID enum
- move orb test messages into msg/
5 years ago
TSC21
2e9a4d89ee
msg: remove gencpp and genmsh submodules; remove gencpp imports
5 years ago
Beat Küng
3198610f85
src/platforms: move all headers to platforms/common/include/px4_platform_common
...
and remove the px4_ prefix, except for px4_config.h.
command to update includes:
for k in app.h atomic.h cli.h console_buffer.h defines.h getopt.h i2c.h init.h log.h micro_hal.h module.h module_params.h param.h param_macros.h posix.h sem.h sem.hpp shmem.h shutdown.h tasks.h time.h workqueue.h; do for i in $(grep -rl 'include <px4_'$k src platforms boards); do sed -i 's/#include <px4_'$k'/#include <px4_platform_common\/'$k/ $i; done; done
for in $(grep -rl 'include <px4_config.h' src platforms boards); do sed -i 's/#include <px4_config.h/#include <px4_platform_common\/px4_config.h'/ $i; done
Transitional headers for submodules are added (px4_{defines,log,time}.h)
5 years ago
Julian Oes
d3da4a92e0
msg: don't implement print_message for fmu-v2
...
This saves about 3.4k of flash for fmu-v2.
5 years ago
Daniel Agar
32a89a1834
rename empy templates (*.template) to proper file extension (.em)
6 years ago
Daniel Agar
c0b464e9e2
replace <cinttypes> with <inttypes.h>
...
- <cinttypes> isn't available in the NuttX c++ library
6 years ago
TSC21
1cc3d95ff7
msg: templates: add 'ids' to the Context documentation
7 years ago
Daniel Agar
af6098b9ea
uORB print_message add device_id pretty print
7 years ago
TSC21
a1ac34d3e7
reformat how the passed time is printed
7 years ago
TSC21
8a8cc26b13
uorb templates: remove redundant timestamp field
7 years ago
TSC21
e932030d88
add timestamp field to uORB msgs; sync timestamp whenever possible
7 years ago
Beat Küng
f1dc8f8f48
listener: use PX4_INFO_RAW instead of printf
...
Ensures that clients will get the output of the listener.
7 years ago
Daniel Agar
416feea9e4
uORB print_message cleanup
...
- indent field print with tabs instead of spaces
- print a newline before printing a nested field
- cmake add generator dependencies
7 years ago
Daniel Agar
a98c7cf5c8
generate uorb topic helper rename px4_printf to print_field
7 years ago
Daniel Agar
0a0044fc29
uORB print message add timestamp elapsed
7 years ago
Daniel Agar
3db17a04fc
uORB generate message print functions
7 years ago
Daniel Agar
651df03f76
RTPS and micro-CDR build system cleanup ( #8084 )
7 years ago
Daniel Agar
48f1e3ed1c
uORB generation move to msg/
8 years ago
José Roberto de Souza
1a3315e397
msg: Fix build in python3
...
We can afford a slower performance in this parsers with python2 to
keep compability with python3.
http://sebastianraschka.com/Articles/2014_python_2_3_key_diff.html#xrange
8 years ago
Vicente Monge
c5e2745a19
Fixes for manual bridge generation
...
Fix for some forgot .cxx extensions
Fix for 'print' python 2 3 compatibility
Fix for topic ID type change
8 years ago
Vicente Monge
c85039e413
Fixing rebase conflicts
8 years ago
Daniel Agar
b4e2360070
uORB generation use constexpr ( #7348 )
8 years ago
Daniel Agar
3721fb9d52
cmake cleanup nuttx dependency handling ( #7007 )
...
- closes #6501
- closes #6820
- closes #6881
8 years ago
Beat Küng
623fe7ca2c
logger + uorb msg template: rm msg name from o_fields to save space
...
Instead we use o_name to get the topic name. Now the topic names are not
upper case anymore in the log format. This makes it more consistent, eg.
if used as a nested topic
9 years ago
Beat Küng
5cf8081a98
uorb template: add timestamp to the format string
...
We explicitly include the timestamp. This makes it possible to change it's
type later on.
This breaks the current ULog logging format.
9 years ago
Beat Küng
093eece29b
orb message templates: move common code into px_generate_uorb_topic_helper.py
...
This also greatly speeds up the generators.
9 years ago
Beat Küng
797d0f24d6
reformat orb message templates
9 years ago
Beat Küng
eabc43d78c
orb structs: add padding bytes to align the structs where necessary
...
This is required for the logger, we just manually add the padding bytes
what would otherwise be done by the compiler. Additionally we reorder
the fields by type, so that padding is only necessary for nested types.
9 years ago
Daniel Agar
69c1ce1714
WIP logger serialization
9 years ago
Daniel Agar
9a0e962cbf
uorb autogeneration
9 years ago
Daniel Agar
76387b1693
uorb autogeneration
9 years ago
Thomas Gubler
d7e57061c9
generate message wrapper headers on ros
10 years ago
Thomas Gubler
738f65a705
generate wrapper headers for uorb
10 years ago
Thomas Gubler
1511fd7b2d
make handle() static
10 years ago
Thomas Gubler
cadcad6ffb
messagelayer prototype for nuttx
10 years ago
Thomas Gubler
7c3223b860
added a messageplayer prototype for ros
10 years ago
Anton Babushkin
836f7c435f
mavlink: code style and copyright fixes
11 years ago
Anton Babushkin
141982a3ac
mavlink: minor refactoring and cleanup, rate limiter class implemented, new messages added
11 years ago