I would like to run a publisher and subscriber using zerocopy on ROS2 Humble with FastDDS. I followed the documentation to setup the env and also I am using minimal publisher and subscriber with loaned msgs (borrow_loaned_message
).
Unfortunately, I get the following error when I run node.
[INFO] [1647016312.848229781] [rclcpp]: Currently used middleware can't loan messages. Local allocator will be used.
Does anyone know a fix for this or am I missing anything here to run the node with zero copy on ROS2 humble with FastDDS?
Will be grateful for the help.