Dear Floris,
I just wrote a little demo Python script that connects to Strand Cam and saves the images to .jpeg files on disk.
https://github.com/strawlab/strand-braid/blob/main/strand-braid-user/scripts/strand_cam_subscriber.py You could modify this into a ROS node pretty easily, I think. I tried to document the potentially non-obvious aspects like saving cookies to disk so that the URL with new token is not required on each usage but rather just the static portion of the URL after the inital use. Basically the script should work like a web browser connecting to strand-cam.
I hope that’s useful. If we need to speed up the rate of images coming across, we can do that, but it will require changes to strand-cam itself.
(I don’t want to add ROS as a dependency to strand-cam. It used to be an optional dependency and I removed it.)
Best,
Andrew