mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 17:40:23 +08:00
add xvImu
This commit is contained in:
@@ -17,8 +17,26 @@ public:
|
||||
static bool available();
|
||||
|
||||
public:
|
||||
CameraSeerSense();
|
||||
CameraSeerSense(
|
||||
float imageRate=0.0f,
|
||||
const Transform & localTransform = Transform::getIdentity()
|
||||
);
|
||||
virtual ~CameraSeerSense();
|
||||
|
||||
void setIMU(bool imuPublished, bool publishInterIMU);
|
||||
|
||||
virtual bool init(const std::string & calibrationFolder = ".", const std::string & cameraName = "");
|
||||
|
||||
private:
|
||||
#ifdef RTABMAP_XVSDK
|
||||
Transform imuLocalTransform_;
|
||||
bool imuPublished_;
|
||||
bool publishInterIMU_;
|
||||
std::shared_ptr<xv::Device> device_;
|
||||
std::map<double, cv::Vec3f> accBuffer_;
|
||||
std::map<double, cv::Vec3f> gyroBuffer_;
|
||||
UMutex imuMutex_;
|
||||
#endif
|
||||
};
|
||||
|
||||
} // namespace rtabmap
|
||||
|
||||
Reference in New Issue
Block a user