28 #ifndef CAMERAMOBILE_H_ 29 #define CAMERAMOBILE_H_ 39 #include <boost/thread/mutex.hpp> 48 virtual std::string
getClassName()
const {
return "CameraInfoEvent";}
50 const std::string &
key()
const {
return key_;}
84 virtual bool init(
const std::string & calibrationFolder =
".",
const std::string & cameraName =
"");
86 virtual std::string
getSerial()
const {
return "CameraMobile";}
90 virtual bool isCalibrated()
const;
92 void poseReceived(
const Transform & pose);
98 void setGPS(
const GPS & gps);
108 virtual void mainLoopBegin();
109 virtual void mainLoop();
const std::string & value() const
virtual std::string getClassName() const
void setSmoothing(bool enabled)
ScreenRotation colorCameraToDisplayRotation_
const Transform & getOriginOffset() const
def init(descriptorDim, matchThreshold, iterations, cuda, model_path)
const Transform & pose() const
virtual std::string getClassName() const
Transform deviceTColorCamera_
virtual std::string getSerial() const
UTimer spinOnceFrameRateTimer_
UTimer cameraStartedTime_
CameraInfoEvent(int type, const std::string &key, const std::string &value)
EnvSensors lastEnvSensors_
static const float bilateralFilteringSigmaS
virtual void capturePoseOnly()
virtual void setScreenRotationAndSize(ScreenRotation colorCameraToDisplayRotation, int width, int height)
PoseEvent(const Transform &pose)
static const rtabmap::Transform opticalRotation
static const float bilateralFilteringSigmaR
const CameraModel & getCameraModel() const
const Transform & getDeviceTColorCamera() const
double spinOncePreviousStamp_
std::map< EnvSensor::Type, EnvSensor > EnvSensors
static const rtabmap::Transform opticalRotationInv
const std::string & key() const