lucasw / screen_grab

Capture the screen and publish it on a ROS sensor_msgs/Image topic
18 stars 12 forks source link

Make a sensor_msgs/Image to /dev/video node #2

Open lucasw opened 10 years ago

lucasw commented 10 years ago

Is there another better way to do this?

use v4l2loopback.

Tried cloning it and running test but get this error:

sudo ./test /dev/video2 using output device: /dev/video2 test: test.c:118: main: Assertion `fdwr >= 0' failed.