dganbold/raspicam_node

Automatically start the Video capture on node startup

Closed this issue · 3 comments

Is there a way to automatically start capturing video image without calling the service?
rosservice call /raspicam_node/start_capture
thanks,

Just to let you know that I added the following at the end of the raspicam_node.cpp main method (before the ros spin one) and worked:

start_capture(&state_srv);

It would be nice to add a property to start automatically or use current behavior? regards,

If you prefer to do that without any source code modification, You can call the service from the launch file. I just added some launch files. Check it, https://github.com/dganbold/raspicam_node/tree/master/launch

great thanks!