Commit 947f2c96 authored by Arafat Noureddine's avatar Arafat Noureddine Committed by Sebastien Petitdemange

- add autogain

- update pom.xml (LimaCore changed)
parent f056aa6a
......@@ -142,9 +142,11 @@ class LIBBASLER_API Camera
void setTimeout(int TO);
void reset();
bool isGainAvailable() const;
void setGain(double gain);
void getGain(double& gain) const;
bool isAutoGainAvailable() const;
void setAutoGain(bool auto_gain);
void getAutoGain(bool& auto_gain) const;
......
......@@ -9,7 +9,7 @@
<groupId>fr.soleil.lib.Lima.Camera</groupId>
<artifactId>LimaBasler-${aol}-shared-${mode}</artifactId>
<version>1.3.5</version>
<version>1.3.6</version>
<packaging>nar</packaging>
<name>LimaBasler</name>
......@@ -25,7 +25,7 @@
<dependency>
<groupId>fr.soleil.lib</groupId>
<artifactId>LimaCore-${aol}-shared-${mode}</artifactId>
<version>1.3.4</version>
<version>1.3.5</version>
</dependency>
<dependency>
<groupId>com.basler</groupId>
......
......@@ -1367,6 +1367,27 @@ void Camera::getInterPacketDelay(int& ipd)
}
}
//-----------------------------------------------------
// isGainAvailable
//-----------------------------------------------------
bool Camera::isGainAvailable() const
{
return GenApi::IsAvailable(Camera_->GainRaw);
}
//-----------------------------------------------------
// isAutoGainAvailable
//-----------------------------------------------------
bool Camera::isAutoGainAvailable() const
{
return GenApi::IsAvailable(Camera_->GainAuto);
}
//-----------------------------------------------------
//
//-----------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment