-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Camera synchronization #15
Conversation
Ну-ка живо сделайте |
Чтобы восстановить контекст, я решил пробежаться по коду снова. Нашел вот такой снипет... handy/packages/camera/src/camera.cpp Lines 187 to 195 in 79fec66
Надо бы это исправить, теперь этот параметр не определяется, надо посчитать количество камер в списке и ругать, если их меньше/больше. |
7672019
to
44876a4
Compare
Checking synchronization implemented, frame counters added. Timer callback group (mutually exclusive added) missing nullptr added Redundunt buffer eliminated Camera script for enumerating cameras with IDs done and tested. Shell script added for convenience optimized includes and replaced atoi with stoi Minor changes in camera identifier Revert "Camera script for enumerating cameras with IDs done and tested. Shell script added for convenience" This reverts commit d35905c. cleared files after revert camera srtucture in launch file extended with intrinsics. Migrated camera node from name-based to ID-based approach
Lock-free queue from boost library is used to store images in newly allocated memory StampedImagePtr is changed to be trivially contructable, destructable and copyable -O3 compilation flag added in CMakeLists.txt for performance reasons
Minor changes implemented
Checked with address sanitizer, fixed allocations Added logs in assigning master camera idx fixed bug with assigning master camera idx when flag hardware_trigger is false
added and commented performance data: CPU time and logs related to lock-free queue deleted redundunt static param from CameraNode class
implemented PR requested changes deleted debug code
fix: queue latency changed in order to provide publishing up to 30 FPS
fix: exit code
fix: buffer allocation fixed, tested up to 40 fps
46b0782
to
8ff0060
Compare
Camera node is modified to be able to proceed and synchronise frames from different cameras. Lock-free queue is planned to be used.
Also hardware trigger support implemented