Closed elhananby closed 8 months ago
Do you mean standalone strand cam? If so, you can start it with the '--http-server-addr' command line argument to do this.
Within braid, I actually plan to implement an alternate solution where the braid program will proxy access to the cameras via a URL like http://localhost:44444/camera/Basler-12345/ . The URL will stay stable then and, even better, if you connect to the machine with an SSH tunnel you will not have to constantly reassign ports. I believe that would address your issue, correct?
Regarding your second feature request (which ideally would be done in a separate ticket) I am actually just now implementing the ability to specify a camera settings file to be loaded at start and then the parameters also saved to the braidz file. (What will not be saved is any paramaters that have been changed after the initial startup.)
Regarding the object detection configuration: now I realize that you probably mean the image_tracker_types::ImPtDetectCfg
parameters. In terms of camera settings such as exposure time, as of c2ddfc585d11d419ac7cc4f0e32b0253ca78024c, these will now be saved to the .braidz file. I created a new issue with this specific request: #12. I will change the title of this issue to reflect the request for constant URL for strand cam when run from braid.
Sorry for the late reply - yeah, the solution you suggested is exactly what I mean. Thanks for all the help
I just realized that there is a way you can achieve a fixed URL with the just-released Braid 0.11.0 even though the proxy in Braid is not yet implemented: if your cameras are all remote, you can specify the address for the Strand Camera UI on the command line. This is somewhat kludgy but could potentially work for you. I do hope to implement the proxy functionality, although no promises as to when.
I added proxying from Braid to Strand Cam, which keeps a fixed URL, in 4efb615975c613d21f9ebf439475ac983e492854. This is available in the 0.12.0-alpha.4 release which we are now testing for the 0.12 release.
Hi Andrew,
just had a couple (non-essential) feature request - would it be possible to define the port on which each strand_cam instance opens in the .toml file (similar to the mainbrain)? I like to have all the camera windows open, but need to change the address every time I restart braid. Also, it would be great if there was an option to save the parameters set for each camera in the configuration to the .toml file.
Thanks, Elhanan