rosrun can give output (images) in a folder while roslaunch cannot
Hello,
I am using ros to generate some imaes to do control. The node I use can generate a folder named "ImageFolder" under catkin_ws folder. And some images will be saved to ImageFolder after the code. However, when I use launch file to launch the same node, the terminal will give me cannot mkdir ImageFolder, it exists
, even I delete the ImageFolder before launch this file. Of course, the new images is not printed in this folder either. The launch file I use is the simplest one, with only type, pkg, name arguments. Does anyone know what's the reason? Thanks.