Closed pauldeee closed 2 years ago
[src/camera.cpp] code shoud be add parameter setting code
[src/camera.cpp] line 86 below add code as
setProperty(nodemap, "TriggerOverlap", config.trigger_overlap_mode);
and then after cmake enjoy streaming same as ouster trigger!
A+
Hi all, I'm running ROS Noetic on Ubuntu 20.04. I'm using an Ouster lidar sensor as an external camera trigger for a FLIR BlackFly S USB3 camera. However, it seems when I launch the node the camera FPS is not what it should be.
If I start the Ouster sensor then I launch the spinnaker camera.launch, the frame rate is about 20 fps, but I have the lidar set to trigger at 40 fps.
When I open spinview it shows the camera at 20 Hz. However, if I switch the Trigger Overlap to ReadOut inside of SpinView it starts to work and shows 40 Hz as it should.
So basically I am stuck doing this: (1) open SpinView manually set the Trigger Overlap to ReadOut (2) close SpinView (3) roslaunch spinnaker_camera_driver camera.launch. And everything works as it should.
Is there someway to successfully apply the Trigger Overlap when I roslaunch? I've tried to add it to my launch file:
<param name="trigger_overlap_mode" value="ReadOut" />
It seems that ReadOut is set as default in the Spinnaker.cfg:
gen.add("trigger_overlap_mode", str_t, SensorLevels.RECONFIGURE_RUNNING, "Trigger Overlap Modes", "ReadOut", edit_method = trigger_overlap_modes)
If anyone has any ideas or suggestions, please let me know. Maybe I've missed some other setting I should be using.
Thanks
More Info: