Add gain control support to IDS uEye camera driver

- Added 'gain' property to gstidsueyesrc element (0-100, 0=auto)
- Implemented hardware gain control using is_SetHardwareGain() API
- Added --gain/-g command-line argument to launch-ids.py
- Added SET_GAIN and GET_GAIN UDP control commands
- Updated STATUS command to include gain value
- Added get-gain and set-gain commands to camera_control.py test client
- Gain can be set at startup or adjusted dynamically during runtime
This commit is contained in:
yair
2025-11-16 03:54:29 +02:00
parent e09938a5a1
commit acbd8ec416
4 changed files with 107 additions and 4 deletions

View File

@@ -57,6 +57,7 @@ struct _GstIdsueyeSrc
gint timeout;
gdouble exposure;
gdouble framerate;
gint gain;
GstClockTime acq_start_time;
guint32 last_frame_count;