TSC21
eb951ede6a
urtps templates: minor cleanup
6 years ago
TSC21
3d9f83a4f2
microRTPS_bridge: structural change to make possible to generate pub/sub code for multi-topics/aliased msgs
6 years ago
Daniel Agar
32a89a1834
rename empy templates (*.template) to proper file extension (.em)
6 years ago
TSC21
b3435dd1f5
microRTPS_transport: use preprocessor declarations to setup different build contexts for client and agent code
6 years ago
TSC21
f0447e0009
microRTPS_agent_CMakeLists.txt.template: add header files to micrortps_agent executable build
6 years ago
TSC21
95f144dfb7
msg.idl.template: do not generate typdefs for builtin types (not required)
6 years ago
TSC21
3536c9dddc
RTPS IDL: fix const names; make IDL template similar to rosidl_generator_dds_idl/resource/msg.idl.em
6 years ago
TSC21
3ab75b83ce
microcdr and IDL: remove field ordering, causing improper serialization/deserialization
6 years ago
Arkadiusz Niemiec
c50c44cc58
Add a boolean to cleanly exit sender thread
6 years ago
TSC21
57f1f01319
microRTPS_transport: replace printf() with PX4_ERR()
6 years ago
Gabriel Moreno
6bb0046407
urtps: fix UART speed setting to work in Linux
...
The previous code used the numeric baudrate as the speed argument
for cfsetispeed() and cfsetospeed(). This works in OSX and NuttX,
but is not portable.
This fix introduces a new method to convert baudrate to speed using
constants such as B115200.
Signed-off-by: Gabriel Moreno <gabrielm@cs.cmu.edu>
6 years ago
Daniel Agar
c0b464e9e2
replace <cinttypes> with <inttypes.h>
...
- <cinttypes> isn't available in the NuttX c++ library
6 years ago
TSC21
3c246ce170
microRTPS: improve verbosity with the usage of px4_log types
6 years ago
TSC21
adbec90018
microRTPS: replace usleep() by px4_usleep()
6 years ago
TSC21
065f97e87b
add more relevant messages to the RTPS stream
6 years ago
TSC21
c25d122f12
update micro-CDR version and msg templates to fit the up to date version
6 years ago
TSC21
fa528745b5
IDL generation: add constants fields for IDL's
6 years ago
TSC21
31b110c2ac
rtps: fix and minor cleanup of scripts and templates
6 years ago
TSC21
a7580b14ba
update IDL template so it can process builtin types
6 years ago
TSC21
1cc3d95ff7
msg: templates: add 'ids' to the Context documentation
6 years ago
TSC21
0227ea3835
msg: RTPS: pass RTPS ID msg definition file as an EmPy global var
6 years ago
TSC21
bb835382dd
use a yaml file description instead of json; minor improvements and cleanup
6 years ago
TSC21
a323073456
load RTPS msg IDs from a JSON file and remove uorb_rtps_message_ids.py
6 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
Nuno Marques
83fd5a5fd1
Update micro-CDR to latest and fix API usage ( #9651 )
...
* uorb_microcdr: msg.cpp.template: update API for how the buffer length is obtained
* micrortps_bridge: CMakeLists: temporarily deactivate check endianness option
7 years ago
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