Automatically start the Video capture on node startup
Closed this issue · 3 comments
ladrians commented
Is there a way to automatically start capturing video image without calling the service?
rosservice call /raspicam_node/start_capture
thanks,
ladrians commented
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,
dganbold commented
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
ladrians commented
great thanks!