Parameters for MYNT EYE initialization. More...
Public Member Functions | |
InitParameters () | |
Constructor. More... | |
InitParameters (const std::string &name, const CalibrationParameters *clib_params=nullptr) | |
Constructor. More... | |
InitParameters (const std::string &name, const Rate &rate, const CalibrationParameters *clib_params=nullptr) | |
Constructor. More... | |
~InitParameters () | |
Destructor. More... | |
ErrorCode | Load (const std::string &filename) |
Loads the values of the parameters contained in a file. More... | |
ErrorCode | Save (const std::string &filename) |
Saves the current bunch of parameters into a file. More... | |
Public Attributes | |
std::string | name |
Camera name or index. More... | |
Rate | rate |
Camera framerate & IMU frequency. More... | |
const CalibrationParameters * | clib_params |
Calibration parameters. More... | |
Parameters for MYNT EYE initialization.
mynteye::InitParameters::InitParameters | ( | ) |
Constructor.
mynteye::InitParameters::InitParameters | ( | const std::string & | name, |
const CalibrationParameters * | clib_params = nullptr |
||
) |
Constructor.
mynteye::InitParameters::InitParameters | ( | const std::string & | name, |
const Rate & | rate, | ||
const CalibrationParameters * | clib_params = nullptr |
||
) |
Constructor.
mynteye::InitParameters::~InitParameters | ( | ) |
Destructor.
ErrorCode mynteye::InitParameters::Load | ( | const std::string & | filename | ) |
Loads the values of the parameters contained in a file.
filename | the path to the file from which the parameters will be loaded. |
ErrorCode mynteye::InitParameters::Save | ( | const std::string & | filename | ) |
Saves the current bunch of parameters into a file.
filename | the path to the file in which the parameters will be stored. |
const CalibrationParameters* mynteye::InitParameters::clib_params |
Calibration parameters.
If not specified, we will download from our server by serial number.
default: nullptr
std::string mynteye::InitParameters::name |