[Documentation] [TitleIndex] [WordIndex

  Show EOL distros: 

image_pipeline: camera_calibration | depth_image_proc | image_proc | image_publisher | image_rotate | image_view | stereo_image_proc

Package Summary

Contains a node publish an image stream from single image file or avi motion file.

image_pipeline: camera_calibration | depth_image_proc | image_proc | image_publisher | image_rotate | image_view | stereo_image_proc

Package Summary

Contains a node publish an image stream from single image file or avi motion file.

image_pipeline: camera_calibration | depth_image_proc | image_proc | image_publisher | image_rotate | image_view | stereo_image_proc

Package Summary

Contains a node publish an image stream from single image file or avi motion file.

Overview

image_publisher provides a node/nodelets for publishing image as a ROS image topic.

Simplest example are

rosrun image_publisher image_publisher /opt/ros/indigo/share/rviz/images/splash.png

Complex launchfile example

<launch>                                                                        
  <node pkg="image_publisher" type="image_publisher" name="image_publisher"
        args="$(find rviz)/images/splash.png" >
    <param name="flip_horizontal" value="false" />
    <param name="flip_vertical" value="false" />
    <param name="frame_id" value="my_camera" />
    <param name="publish_rate" value="1" />
    <param name="camera_info_url" value="file:///$(env HOME)/.ros/camera_info/camera.yaml" />   <!-- relative to ~/.ros/ -->
  </node>
</launch>

More complex nodelet example using launch file

<launch>                                                                        
  <node pkg="nodelet" type="nodelet" name="manager" args="manager"/>

  <node pkg="nodelet" type="nodelet" name="image_publisher"
        args="load image_publisher/image_publisher manager">
    <param name="filename" value="$(find rviz)/images/splash.png" />
    <param name="flip_horizontal" value="false" />
    <param name="flip_vertical" value="false" />
  </node>
  <param name="/manager/frame_id" value="my_camera" />
  <param name="/manager/publish_rate" value="1" />
  <param name="camera_info_url" value="file:///$(env HOME)/.ros/camera_info/camera.yaml" />  <!-- relative to ~/.ros/ -->
</launch>

Node

image_publisher

Node to publish sensor_msgs/Image, requires filename argument.

Published Topics

image_raw (sensor_msgs/Image) camera_info (sensor_msgs/CameraInfo)

Parameters

filename (string, default: "") flip_horizontal (bool, default: false) flip_vertical (bool, default: false) frame_id (string, default: "camera") publish_rate (double, default: 10) camera_info_uri (string, default: "")

Nodelets

image_publisher/image_publisher

Nodelet to publish sensor_msgs/Image

Published Topics

image_raw (sensor_msgs/Image) camera_info (sensor_msgs/CameraInfo)

Parameters

Same as image_publisher node ()


2019-07-20 12:45