ros-drivers / flir_camera_driver

168 stars 157 forks source link

[Humble] Acquisition and Trigger #213

Open li-dahua opened 1 month ago

li-dahua commented 1 month ago

How can I adjust these parameters in sync launch code? Thank you

There are three acquisition modes:

Continuous - acquires images continuously. This is the default mode.

Multi Frame - acquires a specified number of images before stopping acquisition.

Single Frame - acquires 1 image before stopping acquisition.

System details

berndpfrommer commented 1 month ago

Changing the acquisition mode is not directly supported for the blackfly S cameras. However, you can implement it easily yourself by modifying the blackfly_s.yaml configuration file. Follow the instructions in the README on how to add your own ros parameters, e.g. call it "acquistion_mode". Then you should be able to specify it at launch time by setting your newly created ROS parameter. The other alternative is defining a user set with SpinView, and then loading that parameter set in your launch file by setting the correct ROS parameters. I personally would choose the first option.