Open csukuangfj opened 6 years ago
See the config file https://github.com/magazino/pylon_camera/blob/ea4d9438b8351b6577dc1fd2bd29d961c21415db/config/default.yaml#L31-L34
and the code https://github.com/magazino/pylon_camera/blob/ea4d9438b8351b6577dc1fd2bd29d961c21415db/src/pylon_camera/pylon_camera_node.cpp#L331-L348
When the framerate is less than maxPossibleFramerate, it is ignored!
maxPossibleFramerate
There should be another if to set the desired framerate when it is a valid value, i.e., in the range [1, maxPossibleFramerate].
if
See the config file https://github.com/magazino/pylon_camera/blob/ea4d9438b8351b6577dc1fd2bd29d961c21415db/config/default.yaml#L31-L34
and the code https://github.com/magazino/pylon_camera/blob/ea4d9438b8351b6577dc1fd2bd29d961c21415db/src/pylon_camera/pylon_camera_node.cpp#L331-L348
When the framerate is less than
maxPossibleFramerate
, it is ignored!There should be another
if
to set the desired framerate when it is a valid value, i.e., in the range [1,maxPossibleFramerate
].