feat: add disparity params load file.
This commit is contained in:
@@ -204,15 +204,6 @@ class MYNTEYE_API API {
|
||||
* Get the intrinsics base of stream.
|
||||
*/
|
||||
std::shared_ptr<IntrinsicsBase> GetIntrinsicsBase(const Stream &stream) const;
|
||||
/**
|
||||
* Get the intrinsics of stream.
|
||||
*/
|
||||
template <typename T>
|
||||
T GetDisparityParams() const;
|
||||
/**
|
||||
* Get the intrinsics base of stream.
|
||||
*/
|
||||
std::shared_ptr<DisparityParamsBase> GetDisparityParamsBase() const;
|
||||
/**
|
||||
* Get the extrinsics from one stream to another.
|
||||
*/
|
||||
@@ -368,6 +359,11 @@ class MYNTEYE_API API {
|
||||
*/
|
||||
std::shared_ptr<struct CameraROSMsgInfoPair> GetCameraROSMsgInfoPair();
|
||||
|
||||
/**
|
||||
* Load disparity config from file.
|
||||
*/
|
||||
bool ConfigDisparityFromFile(const std::string& config_file);
|
||||
|
||||
private:
|
||||
std::shared_ptr<Device> device_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user