TSC21
2e9a4d89ee
msg: remove gencpp and genmsh submodules; remove gencpp imports
5 years ago
TSC21
722f287281
msg: urtps: change the topic Data Type name to match expected on ROS2
5 years ago
TSC21
c9aab6319f
microRTPS: update headers licenses
5 years ago
TSC21
54cd8f1856
microRTPS_client.cpp.em: fix double conversions
5 years ago
TSC21
4c5e5acefe
micro-CDR: bump submodule version and update CMake and src code
5 years ago
TSC21
d80da97ef5
micrortps_client: more cleanup
5 years ago
TSC21
ec0803815e
microRTPS_client: use updated uORB API; improve usage
5 years ago
TSC21
16f663ad52
microRTPS bridge: fix UART baudrate set
5 years ago
Peter van der Perk
991399f105
Added syncronization to t_send worker thread
...
Which avoids possible deadlocks
5 years ago
Peter van der Perk
08a27492b4
Introduced condition variable in ROS2 subscriber to solve 500ms latency spikes
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
Peter van der Perk
07eb3d301b
Enabled UDP in NuttX microRTPS build
...
Added commandline argument to change microRTPS ip address
5 years ago
TSC21
2930b55732
microRTPS: templates: only decode ros2_distro when possible and nedeed
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
TSC21
412c364e90
microRTPS bridge: templates: do not change naming of topics based on the fasrtpsgen version
5 years ago
TSC21
97e1edc835
microRTPS: templates: fix support for ROS2 Dashing
5 years ago
TSC21
88a7e3df09
microRTPS bridge: fix templates for ROS2 usage
5 years ago
TSC21
e7b0384f05
fix FastRTPSGen version verification
5 years ago
TSC21
2677e12024
microRTPS bridge: templates: Publisher.cpp.em: close 'if' statement
5 years ago
TSC21
1970ef875f
micrortps bridge: clean templates; add backwards compatibility; add ROS2 compatibility
5 years ago
TSC21
278d2fd21f
first push on supporting ROS2 Dashing and IDL 4.2
5 years ago
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