[ros-users] Writing images to different directories

Brian Gerkey gerkey at willowgarage.com
Wed Apr 7 04:19:40 UTC 2010


On Wed, Mar 31, 2010 at 4:28 PM, Patrick Mihelich
<mihelich at willowgarage.com> wrote:
> On Wed, Mar 31, 2010 at 3:04 PM, Patrick Bouffard
> <patrick.m.bouffard at gmail.com> wrote:
>>
>> Now normally if I start
>> image_view manually and click on the window it will save frames to the
>> current directory. But it seems like if it's started in a launch file,
>> the image isn't saved anywhere.
>
> It should be saved to $ROS_ROOT.

That's not a great default, because ROS_ROOT will often be read-only.
ROS_HOME (with a default of ~/.ros) is a better choice.

	brian.



More information about the ros-users mailing list