3 main steps to connect FastDDS to ROS2
-
generate .idl from .msg file:
rosidl translate --to idl -o . package_name message_name.msg
-
generate fastdds message using the -typeros2 option (-cs is used to allow case-sentitive names):
fastddsgen -replace -cs -typeros2 message_name.idl
-
create a fastdd reader/writer connected to a topic with name rt/ros2_topic_name
NB: a reader/writer could be configured to interface with ROS2, e.g. with environment variable. This means that the rt/ is automatically added before the topic name
STEPS [est. time 10d]
3 main steps to connect FastDDS to ROS2
generate .idl from .msg file:
rosidl translate --to idl -o . package_name message_name.msggenerate fastdds message using the -typeros2 option (-cs is used to allow case-sentitive names):
fastddsgen -replace -cs -typeros2 message_name.idlcreate a fastdd reader/writer connected to a topic with name rt/ros2_topic_name
NB: a reader/writer could be configured to interface with ROS2, e.g. with environment variable. This means that the rt/ is automatically added before the topic name
STEPS [est. time 10d]