Viewing image data: usb_cam
HI, I'm trying to publish my image data from usb_cam to the following topics.
I'm not sure on how do i create a node that would communicate with these topics
/base_waypoints
/camera_info
/current_pose
/current_velocity
/final_waypoints
/image_color
/image_color/compressed
/image_color/compressed/parameter_descriptions
/image_color/compressed/parameter_updates
/image_color/compressedDepth
/image_color/compressedDepth/parameter_descriptions
/image_color/compressedDepth/parameter_updates
/image_color/theora
/image_color/theora/parameter_descriptions
/image_color/theora/parameter_updates
/image_mono
/image_mono/compressed
/image_mono/compressed/parameter_descriptions
/image_mono/compressed/parameter_updates
/image_mono/compressedDepth
/image_mono/compressedDepth/parameter_descriptions
/image_mono/compressedDepth/parameter_updates
/image_mono/theora
/image_mono/theora/parameter_descriptions
/image_mono/theora/parameter_updates
/image_proc_debayer/parameter_descriptions
/image_proc_debayer/parameter_updates
/image_proc_rectify_color/parameter_descriptions
/image_proc_rectify_color/parameter_updates
/image_proc_rectify_mono/parameter_descriptions
/image_proc_rectify_mono/parameter_updates
/image_raw
/image_rect
/image_rect/compressed
/image_rect/compressed/parameter_descriptions
/image_rect/compressed/parameter_updates
/image_rect/compressedDepth
/image_rect/compressedDepth/parameter_descriptions
/image_rect/compressedDepth/parameter_updates
/image_rect/theora
/image_rect/theora/parameter_descriptions
/image_rect/theora/parameter_updates
/image_rect_color
/image_rect_color/compressed
/image_rect_color/compressed/parameter_descriptions
/image_rect_color/compressed/parameter_updates
/image_rect_color/compressedDepth
/image_rect_color/compressedDepth/parameter_descriptions
/image_rect_color/compressedDepth/parameter_updates
/image_rect_color/theora
/image_rect_color/theora/parameter_descriptions
/image_rect_color/theora/parameter_updates
/rosout
/rosout_agg
/tf
/tf_static
/traffic_waypoint
/twist_cmd
Any idea what should I be doing next?
Asked by alam121 on 2020-02-04 22:55:10 UTC
Answers
I'm not sure what you are trying to do. If it is "display the image", a google search "display image ros" returns this page as first link https://wiki.ros.org/image_view
From that page:
rosrun image_view image_view image:=<image topic>
So if you want to see the raw image coming out of your camera you can do
rosrun image_view image_view image:=/image_raw
If this is not what you are trying to do, please edit your question providing more details
HTH,
Asked by marguedas on 2020-02-05 05:23:21 UTC
Comments