62 Commits

Author SHA1 Message Date
Daniel Mesham
06a9be74fa microdds: add xrce client 2022-03-22 09:01:05 +01:00
TSC21
e83a3a6cf7 microRTPS: update RTPS message list naming from 'ids' to 'msgs' 2021-08-12 08:44:53 +02:00
TSC21
ffa70ac0fd microRTPS: generate_microRTPS_bridge: run fastrtsgen only once for all files
Reducing the generation time to a 4th of the time (!!)
2021-08-12 08:44:53 +02:00
TSC21
4609949bbb microRTPS: generate_microRTPS_bridge: only run the generator for the topics that are actually marked to be used 2021-08-12 08:44:53 +02:00
TSC21
c478e2985a microRTPS: simplify the attribution of the RTPS IDs by makiing it automatic
1. The RTPS IDs are now automatically assigned to the topics
2. Only the topics that get defined to be sent or received in the urtps_bridge_topics.yaml (renamed, since now it doesn't contain IDs) receive the IDs
3. Any addition or removal on the urtps_bridge_topics.yaml file might update the topic IDs - this will require that the agent and the client ID list has to be in sync. This will further require a robustification of the way we check the IDs and the message definitions when starting the bridge.
2021-08-12 08:44:53 +02:00
Nuno Marques
f9fe0e3746
ROS2/microRTPS: Add support for ROS2 Galactic and ROS2 Rolling (#17664)
microRTPS: generate_microRTPS_bridge: add support for ROS2 versions
* Galactic
* Rolling
2021-05-27 09:32:16 -07:00
TSC21
a091a70470 microRTPS: split the microRTPS client and agent dest directories for better visbility and handling 2020-08-18 17:16:04 +02:00
TSC21
acc3866ac9 generate_microRTPS_bridge: make sure that the ROS2 version of FastRTPS is grabbed in a colcon build 2020-07-31 14:13:10 +01:00
stmoon
b457122489 remove unnecessary stderr msg when checking ldconfig 2020-07-27 16:21:58 +01:00
stmoon
9a0c50325b remove exception in case that ROS is not installed 2020-04-04 08:20:35 +01:00
stmoon
aaa72b2a25 change how to get ros2 version 2020-04-04 08:20:35 +01:00
TSC21
144c65c92f microRTPS: only use '-typeros2' FastRTPSGen option for Dashing and later ROS2 distros 2020-04-03 18:03:26 +01:00
TSC21
2020b77a43 microRTPS: use FastRTPSGen '-typeros2' option to generate the typenaming required to interface the bridge with ROS2 topics 2020-04-02 14:28:38 +01:00
TSC21
1ea5280299 microRTPS: use package.version to compare FastRTPS lib versions 2020-03-24 13:31:41 +00:00
TSC21
7612879ffd microRTPS: use FastRTPS version instead of FastRTPSGen version to generate conditional code 2020-03-11 15:13:07 +00:00
TSC21
cfd8e368df microRTPS: timesync: template generalization for both ROS2 and non-ROS2 2020-03-10 12:15:18 +00:00
TSC21
170835f3f8 microRTPS: add timesync for the agent side 2020-03-10 12:15:18 +00:00
stmoon
8b273b46aa fix the encoding problem for subprocess.check_output 2020-02-09 10:12:15 +00:00
Julian Oes
e98fa891fe msg/tools: remove unused import, check for six 2020-01-16 16:25:26 +01:00
TSC21
2be7ca08ba msg: generation and parsing scripts: add Python3 support 2020-01-13 21:48:35 +00:00
stmoon
e19e0bd616 serach and insert rtps path if there is no {FASTRTPSGEN_DIR} 2020-01-10 16:48:21 +00:00
Christian Clauss
6dc55f97d4 More fixes for Python 3 compatibility (#13008)
* More fixes for Python 3 compatibility

* Workaround if the six module is not pip installed

* Lose the semicolons
2019-12-19 02:05:55 -08:00
TSC21
c9aab6319f microRTPS: update headers licenses 2019-11-26 09:01:52 +01:00
TSC21
f91770f9cd generate_microRTPS_bridge: fix fastrtpsgen version check handler 2019-10-14 21:23:27 +01:00
Nuno Marques
5a8aa04970 CI: bump container tags to 2019-10-04 (#13095)
* bump container tags to 2019-10-04

* docker_run: update container name and tag

* generate_microRTPS_bridge.py: force FastRTPSGen to version 1.0 if the result of 'fastrtpsgen -version' command is not a number

* CI: temporarly disable avoidance and safe landing tests

* CI: try to revive tiltrotor test
2019-10-06 01:21:04 -04:00
TSC21
5c0f01a8b8 microRTPS bridge: try/catch FastRTPSGen errors 2019-10-04 16:56:03 +01:00
TSC21
1970ef875f micrortps bridge: clean templates; add backwards compatibility; add ROS2 compatibility 2019-10-04 16:56:03 +01:00
TSC21
278d2fd21f first push on supporting ROS2 Dashing and IDL 4.2 2019-10-04 16:56:03 +01:00
TSC21
47f5b23419 rtps: generation scripts: make indexing of lists possible in both Python 2 and 3 2019-08-04 20:04:19 +01:00
TSC21
85bcfd7d72 generate_microRTPS_bridge: remove commented code 2019-07-26 15:05:54 +02:00
TSC21
3d9f83a4f2 microRTPS_bridge: structural change to make possible to generate pub/sub code for multi-topics/aliased msgs 2019-07-26 15:05:54 +02:00
Daniel Agar
32a89a1834 rename empy templates (*.template) to proper file extension (.em) 2019-06-10 10:42:00 -07:00
TSC21
110a7931e4 microRTPS bridge generation: improve fastrtpsgen verbosity 2019-05-22 11:49:02 +02:00
Alexis Paques
5763787840 Adding narg to allow empty arguments 2019-04-25 09:56:06 +01:00
TSC21
8da1ff4cff generate_microRTPS_bridge: add the capability to receive absolute and relative paths 2019-01-28 09:42:16 +01:00
TSC21
4ec40049ce micrortps_bridge: pass absolute path for yaml file and urtps templates 2019-01-28 09:42:16 +01:00
TSC21
fa528745b5 IDL generation: add constants fields for IDL's 2018-11-29 16:43:00 +00:00
TSC21
31b110c2ac rtps: fix and minor cleanup of scripts and templates 2018-10-15 13:55:38 +02:00
TSC21
50e46f89b6 move get_absolute_path() back to generate_microRTPS_bridge.py 2018-10-08 10:58:45 +02:00
TSC21
1e29b00860 improve verification of RTPS ID's uniqueness 2018-10-08 10:58:45 +02:00
TSC21
d17d5d52bf move parse_yaml_msg_id_file() to uorb_rtps_classifier.py 2018-10-08 10:58:45 +02:00
TSC21
71d1b77bbe parse output from python script into readable cmake list to use; refactor RTPS scripts 2018-10-08 10:58:45 +02:00
TSC21
a9771f13d1 rtps: add uorb_rtps_classifier.py iot classify RTPS topics as "send", "receive" or "ignore" 2018-10-08 10:58:45 +02:00
TSC21
2250946eaa add verification for the ID uniqueness; give list of available ID's 2018-09-26 12:01:58 +02:00
TSC21
28521ea77c move parse_yaml_msg_id_file() definition to generate_microRTPS_bridge.py 2018-09-24 19:28:40 +02:00
TSC21
a50fed1bf9 generate_microRTPS_bridge: state that RTPS msg IDs definition file path is relative to the msg_dir 2018-09-24 19:28:40 +02:00
TSC21
0227ea3835 msg: RTPS: pass RTPS ID msg definition file as an EmPy global var 2018-09-24 19:28:40 +02:00
TSC21
5c386a737c make generation of micro-RTPS agent CMakeLists.txt optional 2018-09-21 15:55:17 +02:00
TSC21
93daec43d3 generate_microRTPS_bridge: add option to set preprocessor include paths of fastrtpsgen 2018-09-21 15:55:17 +02:00
TSC21
9b028e4f6d update copyright notice 2018-09-21 15:55:17 +02:00