Robotics StackExchange | Archived questions

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

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

Asked by a.g on 2020-02-06 14:08:18 UTC

Comments

Answers

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

Asked by tfoote on 2020-02-06 15:30:41 UTC

Comments

Thank you!

Asked by a.g on 2020-02-07 14:59:22 UTC