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

Axis Camera. Raw Image

asked 2015-05-14 05:31:13 -0500

jorgelc79 gravatar image

I am working with an axis camera. It provides the compressed image in jpg format (stream video). However, I need the raw image to calibrate the camera. As camera does not provide the raw image, I use the next command

rosrun image_transport republish compressed in:=image_raw raw out:=image_raw

And it works. But I would like to include it in the axis camera launch file as node. How could it do it?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-05-14 11:36:34 -0500

updated 2015-05-14 11:36:58 -0500

Hello! This is the launchfile that I use, hope it will helps :

<node name="axis_connection" pkg="axis_camera" type="axis.py"  required="true">
    <param name="hostname" value="127.0.0.7" />
    <param name="password" value="Mypasssword" />
    <param name="width" value="1280" />
    <param name="height" value="720" />
    <param name="camera_info_url" value="file://$(find axis_cam_modified)/camera_info/10_0_161_201.yaml" />
</node>

<node name="image_transport_decompressed" pkg="image_transport" type="republish" 
args="compressed in:=image_raw raw out:=image_raw //image_transport:=compressed">
</node>
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-05-14 05:31:13 -0500

Seen: 913 times

Last updated: May 14 '15