How to configure image_proc for publishing only the image_rect_color
Hi, I am using a camera from axis and i am interested in getting a rectified image. By running the imageproc node i am getting several topics, including something related to theora. I would like to configure the imageproc for publishing only the imagerectcolor/compressed topic and avoiding overloading my system with the other topics that are being published, such as /axiscamerafront/imagerect and /axiscamerafront/imagerect/theora. I am recording some bag files and I have to filter them to take away of those images.
<arg name="username" default="root"/><arg name="password" default="x"/>
<group ns="axis_camera_front">
<param name="width" value="640"/>
<param name="height" value="480"/>
<param name="hostname" value="axis_camera_front"/>
<param name="frame_id" value="axis_camera_front"/>
<param name="camera_info_url" value="PACKAGE://axis/${NAME}.yaml"/>
<node pkg="axis_camera" type="axis.py" name="axis">
<param name="username" value="$(arg username)"/>
<param name="password" value="$(arg password)"/>
</node><node pkg="image_transport" type="republish" name="republish" args="compressed in:=image_raw/ raw out:=image_raw"/>
<!-- Rectifying the image_raw -->
<node pkg="image_proc" type="image_proc" name="image_proc"/>
</group>
Asked by CaraCol on 2015-06-18 07:36:54 UTC
Answers
I got a solution for only record the important topics of the camera
rosbag record /axis_camera_front/camera_info /axis_camera_front/image_rect_color/compressed -x "/axis_camera_front(.*)" -o release /chatter
Asked by CaraCol on 2015-08-06 07:34:29 UTC
Comments