TSC21
518daa4a8d
fastrtps: clean up and fix template for client/agent code
7 years ago
Daniel Agar
a6883c3a0d
uORB generated header use full name in C define
7 years ago
David Riseborough
a32333994f
The single line UART setup was replaced with a locked down configuration.
...
As per issue #9428 , this code change locks down the termios configuration
for the UART to non-canonical, binary tx/rx, 8 bits, 1 stop bit, no parity.
7 years ago
Beat Küng
0038a5e755
uorb: fix constness for _uorb_topics_list
...
_uorb_topics_list was marked as 'const char *' array, which means the data
of the array was not actually const and thus landed in the data section
(so in RAM instead of FLASH).
The size of the array is 436 bytes.
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
Vicente Monge
a272cbbd08
Included field timestamp for micrortps bridge messages.
7 years ago
Avinash Reddy Palleti
12c343317c
Add aerofc baudrate to list
...
Adding aerofc baudrate 921600 into the list
7 years ago
Beat Küng
89b2fa2ba0
microRTPS_transport.h: add clarifying comment for Transport_node::write()
7 years ago
ritul jasuja
13a3791c47
Send RTPS header and payload in one stream
...
This avoids assembling the header and payload on the receiver side
7 years ago
David Riseborough
83133b1bca
This commit fixes the way baud rate is generated from the program argument in
...
the FTPS client and agent.
A table has been added to the FTPS client and agent code that correlates
the baud rate value with the encoding.
A function has been added to the FTPS client and agent to take the program
argument for baud rate and use it to look up the table and return the entry
containing both the value and the encoding.
The value is displayed for the user and the encoding is sent to the uart
node constructor.
Signed-off-by: David Riseborough <drisebor@hotmail.com>
7 years ago
Daniel Agar
9b5ae1ef7a
NuttX upgrade default compiler to GCC 7
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/
7 years ago
Beat Küng
77785c01ef
micrortps_client.cpp.template: avoid 0-init & check result of orb_copy
8 years ago
Beat Küng
55f65b4aff
Tools/message_id.py: rename to uorb_rtps_message_ids.py for clarity
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
Mark Charlebois
d24503242e
Extracted non-template code from template
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
8 years ago
Mark Charlebois
049c769293
Converted cxx to cpp
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
8 years ago
Mark Charlebois
fc3d49240e
Added missing "%"
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
8 years ago
Daniel Agar
1e3fa64eff
microRTPS_client printf PRIu64
8 years ago
Daniel Agar
30f8e5751d
Makefile simplify colorecho for CI
8 years ago
Mark Charlebois
fd86ab7f69
Fixed clock_gettime to be portable to OSX
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
8 years ago
Daniel Agar
319c1d2046
microRTPS_transport.cxx fix code style
8 years ago
Daniel Agar
5b1e3b3257
microRTPS readability braces
8 years ago
Daniel Agar
2151890e50
urtps microRTPS_transport.h code style
8 years ago
Daniel Agar
62fc3fb5ab
microRTPS_transport use uint8_t for topic_ID
8 years ago
Daniel Agar
e6633da832
microRTPS_client printf format fix
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
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.
9 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
eb29b33620
use gcc attributes to align and pack
9 years ago
Daniel Agar
76387b1693
uorb autogeneration
9 years ago
Lorenz Meier
20dff14eae
Extend generator templates to allow nested topics
10 years ago
Thomas Gubler
01835a51a8
uorb constants are now defined inside class
10 years ago
Thomas Gubler
1ab9ec5811
fix ros header template
10 years ago
Thomas Gubler
d7e57061c9
generate message wrapper headers on ros
10 years ago
Thomas Gubler
5e9bef6f4b
cleanup template for normal uorb headers
10 years ago
Thomas Gubler
738f65a705
generate wrapper headers for uorb
10 years ago