fixed imu frame id.

This commit is contained in:
lixiaobin
2024-01-15 11:53:14 +08:00
parent 573cf4e6e0
commit 75b6b6f8e6
2 changed files with 13 additions and 10 deletions
@@ -311,6 +311,8 @@ class OBCameraNode {
std::unique_ptr<ob::Pipeline> imuPipeline_ = nullptr;
std::atomic_bool pipeline_started_{false};
std::string camera_name_ = "camera";
const std::string imu_optical_frame_id_ = "camera_gyro_accel_optical_frame";
const std::string imu_frame_id_ = "camera_gyro_accel_frame";
std::shared_ptr<ob::Config> pipeline_config_ = nullptr;
std::map<stream_index_pair, std::shared_ptr<ob::Sensor>> sensors_;
std::map<stream_index_pair, ob_camera_intrinsic> stream_intrinsics_;