Commit Graph

23 Commits

Author SHA1 Message Date
Beat Küng 89a7e0cf87 uorb topics generator: add multi-topics to the list of all topics
topic names with '# TOPICS <name>' were previously not in orb_get_topics().
This means the logger could not find them.

Affects for example actuator_controls_0.
2016-09-19 13:03:40 +02:00
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
2016-05-22 13:31:35 +02:00
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.
2016-05-22 13:31:35 +02:00
Beat Küng 093eece29b orb message templates: move common code into px_generate_uorb_topic_helper.py
This also greatly speeds up the generators.
2016-05-14 11:27:07 +02:00
Beat Küng 797d0f24d6 reformat orb message templates 2016-05-14 11:27:07 +02:00
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.
2016-05-14 11:27:07 +02:00
Daniel Agar 69c1ce1714 WIP logger serialization 2016-05-14 11:27:07 +02:00
Daniel Agar 9a0e962cbf uorb autogeneration 2016-05-14 11:27:07 +02:00
Daniel Agar eb29b33620 use gcc attributes to align and pack 2016-05-14 11:27:07 +02:00
Daniel Agar 76387b1693 uorb autogeneration 2016-05-14 11:27:07 +02:00
Lorenz Meier 20dff14eae Extend generator templates to allow nested topics 2015-05-27 15:21:31 -07:00
Thomas Gubler 01835a51a8 uorb constants are now defined inside class 2015-01-28 16:31:30 +01:00
Thomas Gubler 1ab9ec5811 fix ros header template 2015-01-23 14:38:53 +01:00
Thomas Gubler d7e57061c9 generate message wrapper headers on ros 2015-01-23 11:58:24 +01:00
Thomas Gubler 5e9bef6f4b cleanup template for normal uorb headers 2015-01-23 10:37:17 +01:00
Thomas Gubler 738f65a705 generate wrapper headers for uorb 2015-01-23 10:34:04 +01:00
Thomas Gubler 632a0866ef remove unneeded functionality in template 2015-01-21 14:34:05 +01:00
Thomas Gubler cadcad6ffb messagelayer prototype for nuttx 2015-01-21 14:27:01 +01:00
Thomas Gubler 7c3223b860 added a messageplayer prototype for ros 2015-01-21 14:26:22 +01:00
Thomas Gubler 9980e44821 moved msg files 2014-12-16 08:22:58 +01:00
Thomas Gubler 141dda2092 fix uorb header template for constants 2014-12-02 12:17:34 +01:00
Thomas Gubler 2eeeab8ecd improve msg template file 2014-12-01 17:45:10 +01:00
Thomas Gubler 8b5bc703a1 initial version of msg to uorb script
Standard and embedded types work, may need small refinements for some
types
2014-12-01 16:39:27 +01:00