mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-08 05:47:45 +08:00
remove unused static TF
This commit is contained in:
@@ -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]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user