From 8d3a4a8fa1ed6e9a57b6150abd39679b930d5897 Mon Sep 17 00:00:00 2001 From: Hector Cruz <37127013+hect95@users.noreply.github.com> Date: Tue, 26 Nov 2024 11:45:30 +0000 Subject: [PATCH] Set frame rate to 20 fps (#4) Set the `frame_rate` to `20` fps. Previously, the trigger was set to `40` fps, but it was later discovered that the camera was configured to the wrong triggering GPIO, causing the camera FPS to operate at half the defined value. The updated ROS camera driver now ensures the camera FPS is consistent with the trigger frame rate, removing the need to compensate by setting the frame rate to double the desired triggering FPS. --- av_camera_trigger/CHANGELOG.rst | 12 ++++++++++++ av_camera_trigger/config/cam_config.yaml | 2 +- camera_trigger_msgs/CHANGELOG.rst | 11 +++++++++++ 3 files changed, 24 insertions(+), 1 deletion(-) diff --git a/av_camera_trigger/CHANGELOG.rst b/av_camera_trigger/CHANGELOG.rst index 4908769..b26302b 100644 --- a/av_camera_trigger/CHANGELOG.rst +++ b/av_camera_trigger/CHANGELOG.rst @@ -2,6 +2,18 @@ Changelog for package av_camera_trigger ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Forthcoming +----------- +* Set frame rate to 20 fps + - Previously, the trigger was set to 40 fps, but it was later discovered that + the camera was configured to the wrong triggering GPIO, causing the camera FPS to + operate at half the defined value. The updated ROS camera driver now ensures + the camera FPS is consistent with the trigger frame rate, removing the need to + compensate by setting the frame rate to double the desired triggering FPS. + +* Contributors: hect95 + + 1.1.0 (2024-11-20) ------------------ * Fix host - trigger device time synchronisation (`#3 `_) diff --git a/av_camera_trigger/config/cam_config.yaml b/av_camera_trigger/config/cam_config.yaml index 9119b0c..c523bdc 100644 --- a/av_camera_trigger/config/cam_config.yaml +++ b/av_camera_trigger/config/cam_config.yaml @@ -1,6 +1,6 @@ /**: ros__parameters: - frame_rate: 40 + frame_rate: 20 shot_lead_delay_us: 0 pps_active_low: false firmware_serial_device: '/dev/ttyACM0' diff --git a/camera_trigger_msgs/CHANGELOG.rst b/camera_trigger_msgs/CHANGELOG.rst index 83c2822..74ed684 100644 --- a/camera_trigger_msgs/CHANGELOG.rst +++ b/camera_trigger_msgs/CHANGELOG.rst @@ -2,6 +2,17 @@ Changelog for package camera_trigger_msgs ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Forthcoming +----------- +* Set frame rate to 20 fps + - Previously, the trigger was set to 40 fps, but it was later discovered that + the camera was configured to the wrong triggering GPIO, causing the camera FPS to + operate at half the defined value. The updated ROS camera driver now ensures + the camera FPS is consistent with the trigger frame rate, removing the need to + compensate by setting the frame rate to double the desired triggering FPS. + +* Contributors: hect95 + 1.1.0 (2024-11-20) ------------------ * Fix host - trigger device time synchronisation (`#3 `_)