--
Luca Longinotti (llongi) Head of Embedded Platforms iniVation AG - https://inivation.com/ Zurich, Switzerland Office: +41 44 500 32 14
--
Luca Longinotti (llongi) Head of Embedded Platforms iniVation AG - https://inivation.com/ Zurich, Switzerland Office: +41 44 500 32 14
Hello,sorry for the late reply.
That code is correct to enable the trigger detection, you can also put it in the ROS driver itself since there is a deviceConfigSet() function that is available to CameraCapture class users.I've attached a patch for that. You have to then recompile the ROS driver.
Then you also have to enable triggers in the ROS settings, this should already be the case by default in config/settings.yaml and it should print "Triggers enabled: yes" when you start your ROS node.
I've just fixed a small bug that didn't properly set the CameraDiscovery.msg publishingTriggers variable.
Hope this helps, have a nice day!
--
Luca Longinotti (llongi) Head of Embedded Platforms iniVation AG - https://inivation.com/Zurich, Switzerland Office: +41 44 500 32 14
--
Luca Longinotti (llongi) Head of Embedded Platforms iniVation AG - https://inivation.com/ Zurich, Switzerland Office: +41 44 500 32 14
Hi Luca!
Thanks very much for your answer (✿◕‿◕✿)!
We git pull and recompile the dv-ros-capture node.
But we don't think the time increment parameter is the answer to the time latency
After some deeper investigations, below we show a time comparison record between the Trigger record time and the Driver msg receive time.

There are three observations:
1. First is the fixed time delay magnitude during one capturing thread and the different fixed time delay magnitude in different capturing threads
which implies the fixed time delay between different time systems.
2. Second I am really confused about the source of the trigger time (@_@;),
I guess the Trigger record time must come from Ubuntu system time since sometimes the Trigger record time is even ahead of the Driver msg receive time.
3. Finally there are some bugs in the ros driver, the Trigger record time sometimes has significant changes.
So, I am interested in
1. the theoretical time delay between Trigger record time and Driver msg receive time.
2. whether it is possible to align the time system of Trigger record time to ros system time.
best,
Bangyan Liao
Nail Lab, Hunan University
best,
Bangyan Liao
Nail Lab, Hunan University