Braid compiled for ubuntu 22.04

146 views
Skip to first unread message

rpmpi...@gmail.com

unread,
May 30, 2022, 11:03:09 AM5/30/22
to multi-camera software from the Straw Lab
Dear Andrew,

I'm wondering if it is possible to compile Braid for the latest LTS release of ubuntu (22.04)? 
We recieved our new hardware for the field experiments (asus rog zephyrus i9) but some of the new hardware is not fully supported in the 20.04 release (graphics and sound). 
I installed Braid on ubuntu 22.04 only I had to to first install both libssl1.1 (has been deprecated in favour of libssl3) and libapriltag1 (replaced by libapriltag3). Braid runs fine after installing these two old packages. 

Best regards, Remco

Andrew Straw

unread,
May 31, 2022, 2:25:20 AM5/31/22
to multi-camera software from the Straw Lab
Dear Remco,

I took this as a good reason to update the build process for Ubuntu 22.04. Luckily the necessary work was quite minimal. I have simply cut a new "alpha" release where the development currently stands and enabled building for Ubuntu 22.04 (and continue building for Ubuntu 20.04). While I do test changes as they are developed, I would also test these more fully, e.g. by using them for real experiments and such, prior to making a full release. I have not done that in this case but in principle there should be no regressions and all backwards-incompatible changes should be listed in the "changes" section of the changelog https://github.com/strawlab/strand-braid/blob/main/CHANGELOG.md . Nevertheless, please be extra careful for regressions or other problems as I haven't done a basic sanity checks with this alpha release. Any reports of success or failure would be welcome.

The alpha release is available on the release page: https://github.com/strawlab/strand-braid/releases

Best,
Andrew

Andrew Straw

unread,
May 31, 2022, 2:29:45 AM5/31/22
to multi-camera software from the Straw Lab
Dear Remco,

I just realized one potential problem with the alpha release as compiled for Ubuntu 22.04. I compiled this using the Pylon release which I was using for Ubuntu 20.04. Although I cannot remember what Basler says about the .deb file I used to install it, I guess it was compiled for Ubuntu 20.04. If so, there may be dependencies on that version of Ubuntu that would be problematic for Ubuntu 22.04. So perhaps specifically look out for any strange behavior regarding the camera and driver interaction.

Best,
Andrew

rpmpi...@gmail.com

unread,
Jun 3, 2022, 9:51:37 AM6/3/22
to multi-camera software from the Straw Lab
Hi Andrew,

I tested the alpha release for 22.04. There a two issues at the moment.

The triggerbox is found an connected. From the log I get "braid_triggerbox: connected to triggerbox firmware version 14". and the frame rate in Strand Cam live view matches the number set in the config-file.
However, from the Braid api-server I get the message "Recording disabled until cameras are synchronized and clock model is established". The ClockModel updates frequently, but even after 100 measurements the cameras are not synced in the Braid server.

There is also an issue with I guess file permissions for pylon. When I start Braid directly after a reboot I get the message:
03 15:28:48.232  INFO strand_cam: camera module: async-pyloncxx    
Warning: Cannot change group of /dev/shm/sem.siso_fglib_init_lock to 'video'.
Warning: Cannot change group of /dev/shm/sem.siso_fglib_init_lock to 'video'.
Warning: Cannot change group of /dev/shm/sem.siso_fglib_init_lock to 'video'.
Warning: Cannot change group of /dev/shm/sem.siso_fglib_mssync_GenTLSession_lock to 'video'.
Warning: Cannot change group of /dev/shm/sem.siso-hw-me6-init to 'video'.
Warning: Cannot change group of /dev/shm/sem.siso_mE_0_Bar_0_Page_4 to 'video'.
Warning: Cannot change group of /dev/shm/sem.siso_mE_1_Bar_0_Page_4 to 'video'.
Warning: Cannot change group of /dev/shm/sem.siso_mE_2_Bar_0_Page_4 to 'video'.
Warning: Cannot change group of /dev/shm/sem.siso_mE_3_Bar_0_Page_4 to 'video'.
Warning: Cannot change group of /dev/shm/sem.siso_mE_4_Bar_0_Page_4 to 'video'.
Warning: Cannot change group of /dev/shm/sem.siso_mE_5_Bar_0_Page_4 to 'video'.
Warning: Cannot change group of /dev/shm/sem.siso_mE_6_Bar_0_Page_4 to 'video'.
Warning: Cannot change group of /dev/shm/sem.siso_mE_7_Bar_0_Page_4 to 'video'.
Warning: Cannot change group of /dev/shm/sem.siso_mE_8_Bar_0_Page_4 to 'video'.
Warning: Cannot change group of /dev/shm/sem.siso_mE_9_Bar_0_Page_4 to 'video'.
Warning: Cannot change group of /dev/shm/sem.siso_mE_10_Bar_0_Page_4 to 'video'.
Warning: Cannot change group of /dev/shm/sem.siso_mE_11_Bar_0_Page_4 to 'video'.
Warning: Cannot change group of /dev/shm/sem.siso_mE_12_Bar_0_Page_4 to 'video'.
Warning: Cannot change group of /dev/shm/sem.siso_mE_13_Bar_0_Page_4 to 'video'.
Warning: Cannot change group of /dev/shm/sem.siso_mE_14_Bar_0_Page_4 to 'video'.
Warning: Cannot change group of /dev/shm/sem.siso_mE_15_Bar_0_Page_4 to 'video'.
Warning: Cannot change group of /dev/shm/sem.siso_mE_16_Bar_0_Page_4 to 'video'.
Warning: Cannot change group of /dev/shm/sem.siso_mE_17_Bar_0_Page_4 to 'video'.
Warning: Cannot change group of /dev/shm/sem.siso_mE_18_Bar_0_Page_4 to 'video'.
Warning: Cannot change group of /dev/shm/sem.siso_mE_19_Bar_0_Page_4 to 'video'.
Warning: Cannot change group of /dev/shm/sem.siso_mE_20_Bar_0_Page_4 to 'video'.
Warning: Cannot change group of /dev/shm/sem.siso_mE_21_Bar_0_Page_4 to 'video'.
Warning: Cannot change group of /dev/shm/sem.siso_mE_22_Bar_0_Page_4 to 'video'.
Warning: Cannot change group of /dev/shm/sem.siso_mE_23_Bar_0_Page_4 to 'video'.
Warning: Cannot change group of /dev/shm/sem.siso_mE_24_Bar_0_Page_4 to 'video'.
Warning: Cannot change group of /dev/shm/sem.siso_mE_25_Bar_0_Page_4 to 'video'.
Warning: Cannot change group of /dev/shm/sem.siso_mE_26_Bar_0_Page_4 to 'video'.
Warning: Cannot change group of /dev/shm/sem.siso_mE_27_Bar_0_Page_4 to 'video'.
Warning: Cannot change group of /dev/shm/sem.siso_mE_28_Bar_0_Page_4 to 'video'.
Warning: Cannot change group of /dev/shm/sem.siso_mE_29_Bar_0_Page_4 to 'video'.
Warning: Cannot change group of /dev/shm/sem.siso_mE_30_Bar_0_Page_4 to 'video'.
Warning: Cannot change group of /dev/shm/sem.siso_mE_31_Bar_0_Page_4 to 'video'.

And only one camera is loaded.
When I first start pylon and secondly run Braid these message are not shown and all cameras are loaded in strand-cam.

I haven't tested the 20.04 alpha release yet.

Best, Remco
Op dinsdag 31 mei 2022 om 08:29:45 UTC+2 schreef dr.andr...@gmail.com:

rpmpi...@gmail.com

unread,
Jun 7, 2022, 7:56:28 AM6/7/22
to multi-camera software from the Straw Lab
Hi Andrew,

I tested the 20.04 alpha release and it has the same issue  "Recording disabled until cameras are synchronized and clock model is established".  I tried also an older version of the triggerbox script, but that doesn't matter. 
Please let me know if I can help pinpointing the error.

Best regards, Remco

Op vrijdag 3 juni 2022 om 15:51:37 UTC+2 schreef rpmpi...@gmail.com:

Andrew Straw

unread,
Jun 8, 2022, 8:30:29 AM6/8/22
to rpmpi...@gmail.com, multi-camera software from the Straw Lab
Dear Remco,

Thanks for the further investigation. I will look into the issue - it likely results from some internal code reorganization I did and is exactly the kind of thing I was afraid of.

Realistically, it may be two weeks before I can fix this.

Best,
Andrew

--
You received this message because you are subscribed to the Google Groups "multi-camera software from the Straw Lab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to multicams+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/multicams/37e36a6b-a49c-4ffa-9568-e15eec26d585n%40googlegroups.com.

Andrew Straw

unread,
Jun 16, 2022, 7:15:53 AM6/16/22
to multi-camera software from the Straw Lab
Dear Remco,

I had a chance now to dig into this a little further and I discovered that the packages I built had the wrong configuration and so I rebuilt them with the correct configuration and made a new alpha release (0.12.0-alpha1) which is available as usual from https://github.com/strawlab/strand-braid/releases . I still haven't really properly tested this package, but at least it should solve the issue in which the cameras would connect and synchronize to Braid.

Again, any report of success or failure would be welcome.

Best,
Andrew

Remco Pieters

unread,
Jun 17, 2022, 10:11:30 AM6/17/22
to Andrew Straw, multi-camera software from the Straw Lab
Hi Andrew,

The camera triggering works! Thank you for the fix. 
I have a feature request for the april tags. Would it be possible to define a data folder for the april-tag detections in the braid configuration file and add the camera ID to april-tag filename?

Best regards, Remco

Op do 16 jun. 2022 om 13:15 schreef Andrew Straw <dr.andr...@gmail.com>:
You received this message because you are subscribed to a topic in the Google Groups "multi-camera software from the Straw Lab" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/multicams/BidogvoHt-g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to multicams+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/multicams/196df319-cfcd-4c90-8b62-95d3cff135dcn%40googlegroups.com.

Andrew Straw

unread,
Jun 21, 2022, 11:38:08 AM6/21/22
to multi-camera software from the Straw Lab
Dear Remco,

I'm glad to hear the triggering works.

The April Tag file naming feature should be fairly straightforward to implement, I just need a bit of time. I'm deep in teaching at the moment and thus pretty busy for the next 1.5 weeks but will try to get to it somehow during this time but otherwise I'll do it in early July. This would probably be something straightforward to implement if you all there would be interested to work on it.

Best,
Andrew

Reply all
Reply to author
Forward
0 new messages