ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

How to configure image_proc for publishing only the image_rect_color

asked 2015-06-18 07:36:54 -0600

CaraCol gravatar image

updated 2015-08-21 13:15:49 -0600

Hi, I am using a camera from axis and i am interested in getting a rectified image. By running the image_proc node i am getting several topics, including something related to theora. I would like to configure the image_proc for publishing only the image_rect_color/compressed topic and avoiding overloading my system with the other topics that are being published, such as /axis_camera_front/image_rect and /axis_camera_front/image_rect/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>
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-08-06 07:34:29 -0600

CaraCol gravatar image

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

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-06-18 07:36:54 -0600

Seen: 740 times

Last updated: Aug 06 '15