Raspicam_node stops working after 30 seconds
Hi all
I installed the raspicam_node plugin on a raspberry pi. The node is starting up well and is publishing the right data for around 30 seconds. Afterwards there is no data being transmitted any more - also no error messages in the console. And I tested it with different network configurations and also running all nodes on one and the same machine and it's always the same. After some time (10s - 60s) the camera stops working. Nevertheless the light on the camera is still on. And when I use a node with rospy (Python node), it works fine.
Can anyone help me? Thank you in advance.
EDIT: It seems as if some kind of buffer gets filled up, because the transmission stops always exactly 37 seconds after the first message. Any ideas of which buffer / queue might get filled up and not emptied. (it is not a memory issue - there is still a lot of free RAM).
Maybe try just viewing the video with another method to isolate your HW and network from ROS. One method described here:
https://www.youtube.com/watch?v=JjPsW...
If there is a camera or network issue it may show up when viewing as in video above.
My raspicam running for weeks no issue.
Other methods work perfectly (e.g. a simple python streaming node). So it has to be something raspicam node related...
Did you see anything strange in the
dmesg
output? Would be nice to see this:dmesg > out.txt
[run your node until it crashes]
dmesg > out2.txt
and then show us what
diff out.txt out2.txt
shows.