Ask Your Question
0

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

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

ayush.ghosh 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!

ayush.ghosh gravatar imageayush.ghosh ( 2020-02-07 13:59:22 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

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

Seen: 21 times

Last updated: Feb 06