mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-02 02:51:42 +00:00
artf4107: Uniform initialization syntax introduced
Change-Id: I452b4794d757a0817589ec62b75eda7fbdd74904
This commit is contained in:
@@ -43,21 +43,7 @@ static const std::string kRotationStrings[] = {
|
||||
* @param cameraHost The host to find the camera at, typically an IP address
|
||||
*/
|
||||
AxisCamera::AxisCamera(std::string const &cameraHost)
|
||||
: m_cameraHost(cameraHost),
|
||||
m_cameraSocket(-1),
|
||||
m_freshImage(false),
|
||||
m_brightness(50),
|
||||
m_whiteBalance(kWhiteBalance_Automatic),
|
||||
m_colorLevel(50),
|
||||
m_exposureControl(kExposureControl_Automatic),
|
||||
m_exposurePriority(50),
|
||||
m_maxFPS(0),
|
||||
m_resolution(kResolution_640x480),
|
||||
m_compression(50),
|
||||
m_rotation(kRotation_0),
|
||||
m_parametersDirty(true),
|
||||
m_streamDirty(true),
|
||||
m_done(false) {
|
||||
: m_cameraHost(cameraHost) {
|
||||
m_captureThread = std::thread(&AxisCamera::Capture, this);
|
||||
}
|
||||
|
||||
|
||||
@@ -11,10 +11,6 @@
|
||||
|
||||
using namespace std;
|
||||
|
||||
BinaryImage::BinaryImage() : MonoImage() {}
|
||||
|
||||
BinaryImage::~BinaryImage() {}
|
||||
|
||||
/**
|
||||
* Get then number of particles for the image.
|
||||
* @returns the number of particles found for the image.
|
||||
|
||||
@@ -10,8 +10,6 @@
|
||||
|
||||
ColorImage::ColorImage(ImageType type) : ImageBase(type) {}
|
||||
|
||||
ColorImage::~ColorImage() {}
|
||||
|
||||
/**
|
||||
* Perform a threshold operation on a ColorImage.
|
||||
* Perform a threshold operation on a ColorImage using the ColorMode supplied
|
||||
|
||||
@@ -19,5 +19,3 @@ HSLImage::HSLImage(const char *fileName) : ColorImage(IMAQ_IMAGE_HSL) {
|
||||
int success = imaqReadFile(m_imaqImage, fileName, nullptr, nullptr);
|
||||
wpi_setImaqErrorWithContext(success, "Imaq ReadFile error");
|
||||
}
|
||||
|
||||
HSLImage::~HSLImage() {}
|
||||
|
||||
@@ -11,8 +11,6 @@ using namespace std;
|
||||
|
||||
MonoImage::MonoImage() : ImageBase(IMAQ_IMAGE_U8) {}
|
||||
|
||||
MonoImage::~MonoImage() {}
|
||||
|
||||
/**
|
||||
* Look for ellipses in an image.
|
||||
* Given some input parameters, look for any number of ellipses in an image.
|
||||
|
||||
@@ -19,5 +19,3 @@ RGBImage::RGBImage(const char *fileName) : ColorImage(IMAQ_IMAGE_RGB) {
|
||||
int success = imaqReadFile(m_imaqImage, fileName, nullptr, nullptr);
|
||||
wpi_setImaqErrorWithContext(success, "Imaq ReadFile error");
|
||||
}
|
||||
|
||||
RGBImage::~RGBImage() {}
|
||||
|
||||
Reference in New Issue
Block a user