remove unused static TF

This commit is contained in:
Joe Dong
2024-04-07 11:48:22 +08:00
parent 6ae5628b8d
commit 9a1c6cdec6
2 changed files with 3 additions and 7 deletions
-6
View File
@@ -1514,12 +1514,6 @@ void OBCameraNode::calcAndPublishStaticTransform() {
publishStaticTF(timestamp, trans, Q, camera_link_frame_id_, frame_id_[stream_index]);
publishStaticTF(timestamp, zero_trans, quaternion_optical, frame_id_[stream_index],
optical_frame_id_[stream_index]);
if (depth_registration_ && depth_aligned_frame_id_.count(stream_index) > 0) {
publishStaticTF(timestamp, trans, Q, camera_link_frame_id_,
depth_aligned_frame_id_[stream_index]);
publishStaticTF(timestamp, zero_trans, quaternion_optical,
depth_aligned_frame_id_[stream_index], optical_frame_id_[stream_index]);
}
}
}