-
Notifications
You must be signed in to change notification settings - Fork 2
Get Camera Image with Web Browser
botamochi6277 edited this page Mar 16, 2020
·
2 revisions
Attach a web camera, such as BSW200MBK, to the Pi and run a node publishing a camera image, please.
rosrun uvc_camera uvc_camera_node
Please see a list of topics with another terminal window.
rostopic list
You can get following topic list.
/camera_info
/image_raw
/image_raw/compressed
/image_raw/compressed/parameter_descriptions
/image_raw/compressed/parameter_updates
/image_raw/compressedDepth
/image_raw/compressedDepth/parameter_descriptions
/image_raw/compressedDepth/parameter_updates
/image_raw/theora
/image_raw/theora/parameter_descriptions
/image_raw/theora/parameter_updates
Please run a node to establish a server to watch the camera image.
rosrun web_video_server web_video_server
Plase access
http://[RaspberryPi's IP address]:8080/stream?topic=/image_raw
and watch the camera image.
When you use the Pi directly (not ssh), you can watch the image in http://localhost:8080/stream?topic=/image_raw.