Skip to content

Commit

Permalink
Merge branch 'borongyuan-master'
Browse files Browse the repository at this point in the history
  • Loading branch information
matlabbe committed May 30, 2023
2 parents ae3fda3 + 5b1c9e7 commit d88c816
Show file tree
Hide file tree
Showing 4 changed files with 232 additions and 190 deletions.
8 changes: 7 additions & 1 deletion corelib/include/rtabmap/core/camera/CameraDepthAI.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ class RTABMAP_CORE_EXPORT CameraDepthAI :
void setOutputDepth(bool enabled, int confidence = 200);
void setIMUFirmwareUpdate(bool enabled);
void setIMUPublished(bool published);
void publishInterIMU(bool enabled);
void setLaserDotBrightness(float dotProjectormA = 0.0f);
void setFloodLightBrightness(float floodLightmA = 200.0f);

virtual bool init(const std::string & calibrationFolder = ".", const std::string & cameraName = "");
virtual bool isCalibrated() const;
Expand All @@ -76,12 +79,15 @@ class RTABMAP_CORE_EXPORT CameraDepthAI :
int resolution_;
bool imuFirmwareUpdate_;
bool imuPublished_;
bool publishInterIMU_;
float dotProjectormA_;
float floodLightmA_;
std::shared_ptr<dai::Device> device_;
std::shared_ptr<dai::DataOutputQueue> leftQueue_;
std::shared_ptr<dai::DataOutputQueue> rightOrDepthQueue_;
std::shared_ptr<dai::DataOutputQueue> imuQueue_;
std::map<double, cv::Vec3f> accBuffer_;
std::map<double, cv::Vec3f> gyroBuffer_;
UMutex imuMutex_;
#endif
};

Expand Down
Loading

0 comments on commit d88c816

Please sign in to comment.