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

Faster way to get stereo images at 640x480 from Raspberry pi

asked 2017-02-19 20:26:39 -0500

surajmshanbhag gravatar image

Hello All,

I have connected 2 logitech C930e web cameras to a Raspberry Pi3 running a Ubuntu Mate and ROS Kinetic. I want to process the images on my laptop and only remotely see what the Pi sees using ROS.

Using uvc_camera package and some tweaks, I am able to publish 320x240 grayscale stereo frames at about 5fps.

Output of rostopic delay is as follows,

average: 221.12KB/s
    mean: 76.85KB min: 76.85KB max: 76.85KB window: 36
average: 221.80KB/s
    mean: 76.85KB min: 76.85KB max: 76.85KB window: 39

From iftop i can see that for 2s the used bandwidth is 3.65Mb.

Could anyone help me as to how i can increase the speed of the transfer. ? I want to be able to work at atleast 15fps.

Also is it possible to run a live video stream using gstreamer or flask and then publish it to ros from the host system. ?

Thank you !

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-09-16 18:23:41 -0500

surajmshanbhag gravatar image

Using UDP for streaming. https://github.com/surajshanbhag/Indo...

edit flag offensive delete link more

Comments

arunavanag gravatar image arunavanag  ( 2017-09-17 20:27:52 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2017-02-19 20:26:39 -0500

Seen: 490 times

Last updated: Sep 16 '17