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

Is it possible to do file transfers via ros2 messages/topics?

asked 2020-02-06 13:08:18 -0500

a.g gravatar image

Where the subscriber node will receive the file through a ros2 msg and then save it in the current directory? Specifically for png images?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-02-06 14:30:41 -0500

tfoote gravatar image

updated 2020-02-06 14:32:03 -0500

We don't have a file transport. But if you want to send a png you should use the CompressedImage message which is designed to send png and jpeg messages.

There are also tools for compressed image transport

edit flag offensive delete link more


Thank you!

a.g gravatar image a.g  ( 2020-02-07 13:59:22 -0500 )edit

Question Tools


Asked: 2020-02-06 13:08:18 -0500

Seen: 576 times

Last updated: Feb 06 '20