(summary of our conversation from the prior day.. hopefully it posts properly..)
With braid 0.12-alpha5 (and alpha4) I get a lot of broken trajectories, even when tracking a high contrast LED wand. The broken trajectories are not just 3D breaks, but ~25 missing frames of 2D data. This happens at regular intervals.
This is on our big system, running ubuntu 20, 20x 1920x1200 basler ace cameras spread over two machines.
In the braid webui I also see the frames_collected drop from the nominal framerate to much lower for a brief moment at a regular interval, but only when actively saving braid data. The issue seems to be related to the amount of data that is being saved. When running at 100 fps with no objects it happens at a ~5 sec interval, when running at 50 fps with no objects it happens at ~10 sec interval. Running at 100 fps with lots of objects it happens at ~2 sec interval.
Seems likely to be related to how/when data buffers are being written.
My quick fix: since we are already using ROS and publishing braid data to ROS, I wrote a ROS node to save braid data to an h5 file. If anyone needs a quick fix they can use this node:
This requires that the braid_ros_listener node is also running.
Example of loading saved data is here:
- Floris