41 #ifndef YOCTO_REFFRAME_H 42 #define YOCTO_REFFRAME_H 55 #ifndef _Y_FUSIONMODE_ENUM 56 #define _Y_FUSIONMODE_ENUM 66 #ifndef _Y_MOUNTPOSITION 67 #define _Y_MOUNTPOSITION 79 #ifndef _Y_MOUNTORIENTATION 80 #define _Y_MOUNTORIENTATION 90 #define Y_MOUNTPOS_INVALID (YAPI_INVALID_UINT) 91 #define Y_BEARING_INVALID (YAPI_INVALID_DOUBLE) 92 #define Y_CALIBRATIONPARAM_INVALID (YAPI_INVALID_STRING) 107 #pragma option push -w-8022 176 int get_mountPos(
void);
179 {
return this->get_mountPos(); }
181 int set_mountPos(
int newval);
183 {
return this->set_mountPos(newval); }
207 int set_bearing(
double newval);
209 {
return this->set_bearing(newval); }
220 double get_bearing(
void);
223 {
return this->get_bearing(); }
225 string get_calibrationParam(
void);
228 {
return this->get_calibrationParam(); }
230 int set_calibrationParam(
const string& newval);
232 {
return this->set_calibrationParam(newval); }
237 {
return this->get_fusionMode(); }
241 {
return this->set_fusionMode(newval); }
270 static YRefFrame* FindRefFrame(
string func);
361 virtual int get_calibrationState(
void);
376 virtual int get_measureQuality(
void);
378 virtual int _calibSort(
int start,
int stopidx);
396 virtual int start3DCalibration(
void);
408 virtual int more3DCalibration(
void);
410 virtual int more3DCalibrationV1(
void);
412 virtual int more3DCalibrationV2(
void);
420 virtual string get_3DCalibrationHint(
void);
428 virtual int get_3DCalibrationProgress(
void);
436 virtual int get_3DCalibrationStage(
void);
444 virtual int get_3DCalibrationStageProgress(
void);
452 virtual string get_3DCalibrationLogMsg(
void);
461 virtual int save3DCalibration(
void);
463 virtual int save3DCalibrationV1(
void);
465 virtual int save3DCalibrationV2(
void);
472 virtual int cancel3DCalibration(
void);
487 {
return this->nextRefFrame();}
static const string CALIBRATIONPARAM_INVALID
YRefFrame * yFirstRefFrame(void)
static YRefFrame * FirstRefFrame(void)
int setMountPos(int newval)
vector< double > _calibDataAccY
string calibrationParam(void)
int setCalibrationParam(const string &newval)
#define YAPI_INVALID_UINT
vector< int > _calibOrient
vector< double > _calibDataAccZ
virtual int _parseAttr(YJSONObject *json_val)
int setBearing(double newval)
void(* YRefFrameValueCallback)(YRefFrame *func, const string &functionValue)
static YRefFrame * First(void)
virtual int registerValueCallback(YFunctionValueCallback callback)
YRefFrame * yFindRefFrame(const string &func)
static YRefFrame * Find(string func)
YRefFrameValueCallback _valueCallbackRefFrame
#define YOCTO_CLASS_EXPORT
Y_FUSIONMODE_enum _fusionMode
static const double BEARING_INVALID
Y_FUSIONMODE_enum fusionMode(void)
static YRefFrame * FindRefFrame(string func)
vector< double > _calibDataAcc
int setFusionMode(Y_FUSIONMODE_enum newval)
vector< double > _calibDataAccX
virtual int _invokeValueCallback(string value)