ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

How to use the latest version of Fastdds on ros2?

asked 2021-03-15 22:39:55 -0600

liyue12 gravatar image

I am using ros2_eloquent, its default middleware is FastDDS, and the version is FastRTPSv1.9.3.
The latest version of FastDDS has been updated to version 2.2.0. I was wondering if I could use version 2.2.0 for Eloquent ?
How to do this? Do I need to modify RMW_FASTRTPS_CPP, add FastDDSv2.2.0 src, and compile ros2 again?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2021-03-24 13:22:46 -0600

alsora gravatar image

Yes, that would be the way forward. However I'm pretty confident that you will have several build and/or runtime issues to fix due to the changes in APIs between the versions.

I suggest you to move to ROS 2 Foxy or even to the Rolling Release (kind of master) if you want to use the latest FastDDS

edit flag offensive delete link more

answered 2021-08-15 02:28:51 -0600

zhensheng gravatar image

You need to install the latest fastdds and recompile the whole ros2 source code into binary, then you can use the custom version of ros2.

And I agree with what @alsora said, using rolling release is a quick way.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2021-03-15 22:16:56 -0600

Seen: 194 times

Last updated: Aug 15 '21