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

Change image_saver save location

asked 2019-11-15 23:05:15 -0500

jamesh gravatar image

Hey there,

I am looking to use the image_saver feature of the image_view package, located here:

I wanted to see if anyone had ideas on how to change the save directory of the files for this. Right now, the files save to ./.ros, but I'm looking to collect a large dataset, requiring me to store it on a mounted SSD rather than my device itself.

Thank you for any assistance!

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2019-11-16 03:15:27 -0500

ahendrix gravatar image

You can set the filename_format parameter to an absolute path to make images save to any directory. For example:

rosrun image_view image_saver "_filename_format:=/my/directory/image_%04d.%s"
edit flag offensive delete link more


Thank you !

Petros ADLATUS gravatar image Petros ADLATUS  ( 2022-03-30 07:45:43 -0500 )edit

answered 2020-04-20 23:56:22 -0500

bigbellmercy gravatar image

In my case, the path was ~/.ros/

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2019-11-15 23:05:15 -0500

Seen: 1,241 times

Last updated: Apr 20 '20