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

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

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

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
1

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

tfoote gravatar image

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

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

Comments

Thank you!

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

Question Tools

Stats

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

Seen: 797 times

Last updated: Feb 06 '20