Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow setting the filename using ROS parameter in image_publisher node (
#835) Current implementation of `image_publisher` node doesn’t allow the user to set the published image file name using the ROS parameter (`~filename`). It just exits with the `image_publisher requires filename` error. But using parameter is very natural for ROS, and it's useful as well: you can set filename in a launch file using `command` attribute of `param` tag (and other features of parameters). Like this: ```xml <node pkg="image_publisher" type="image_publisher" name="image_publisher"> <param name="filename" command="<call some script to determine file name>"/> </node> ``` For my project, I need a more complex logic to determine the name of the published file, and I was surprised this doesn't work (non-obvious from the documentation).
- Loading branch information