https://github.com/tzutalin/ros_sample_image_transport
ROS Receive and publish different topics about image
https://github.com/tzutalin/ros_sample_image_transport
Last synced: about 1 month ago
JSON representation
ROS Receive and publish different topics about image
- Host: GitHub
- URL: https://github.com/tzutalin/ros_sample_image_transport
- Owner: tzutalin
- Created: 2015-04-30T09:13:42.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-08-18T05:25:39.000Z (almost 10 years ago)
- Last Synced: 2025-04-02T20:38:34.026Z (2 months ago)
- Language: C++
- Homepage:
- Size: 141 KB
- Stars: 11
- Watchers: 3
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
ros_sample_image_transport
----------------------
This source repository is testing ROS image transportYou need to setup your environment
--------------------------------------
Environments : Ubuntu 14.04 and install opencv and ROSLocate the dir to catkin_ws/src/ and put the image to ~/lena.jpg
Run ros core.Open a terminal 1:
`$ roscore`
Open a terminal 2:
Run image subscriber to receive two topics: /camera/rgbd/image and /camera/depth/image_raw`$ rosrun ros_sample_image_transport image_transport_subscriber`
Open a terminal 3:
Run image publisher.`$ rosrun ros_sample_image_transport image_transport_publisher`
Open a terminal 4:
You can user default debian ROS package to subscribe the image`$ rosrun image_view image_view image:=/camera/rgb/image`
Note:
You can also refer the tutorial : How to setup [Xtion and OpenNI2](http://myzharbot.robot-home.it/blog/software/myzharbot-ros/asus-xtion-pro-live-openni2-ros-framework/)