fixed baseline params

This commit is contained in:
Joe Dong
2024-04-16 20:37:29 +08:00
parent 9ad7b9f133
commit cdf9123990
5 changed files with 49 additions and 32 deletions
@@ -160,6 +160,8 @@ class OBCameraNode {
void setupProfiles();
void selectBaseStream();
void getParameters();
void setupTopics();
@@ -168,7 +170,7 @@ class OBCameraNode {
void setupDiagnosticUpdater();
void onTemperatureUpdate(diagnostic_updater::DiagnosticStatusWrapper &status);
void onTemperatureUpdate(diagnostic_updater::DiagnosticStatusWrapper& status);
void setupCameraCtrlServices();
@@ -359,7 +361,7 @@ class OBCameraNode {
std::map<stream_index_pair, std::vector<std::shared_ptr<ob::VideoStreamProfile>>>
supported_profiles_;
std::map<stream_index_pair, std::shared_ptr<ob::StreamProfile>> stream_profile_;
const stream_index_pair base_stream_ = DEPTH;
stream_index_pair base_stream_ = DEPTH;
std::map<stream_index_pair, uint32_t> seq_;
std::map<stream_index_pair, cv::Mat> images_;
std::map<stream_index_pair, std::string> encoding_;