To record .avi video, I am using video_recorder for the image_view package. I want to do this through the launch file. Here is the how I put it in there
<node pkg="image_view" type="video_recorder" name="video_record_$(arg camera_name)" machine="$(arg machine)" if="$(eval record and enable_camera)"> <arg name="fps" value="$(arg frame_rate)" /> <arg name="codec" value="HFYU" /> <arg name="encoding" value="$(arg image_encoding)" /> </node>
I get error:
WARNING: WARN: unrecognized 'arg' child tag in the parent element:
Unfortunately I could not find a go-to syntax for this and I am new to ROS. Any help is appreciated. Feel free to ask for more details.