fix: remove redundant condition in static transform calculation

This commit is contained in:
ob-yalian
2025-12-15 14:08:10 +08:00
parent 765394f260
commit 72f3ce9378
+1 -1
View File
@@ -3543,7 +3543,7 @@ void OBCameraNode::calcAndPublishStaticTransform() {
}
if ((pid == FEMTO_BOLT_PID || pid == FEMTO_MEGA_PID) && enable_stream_[DEPTH] &&
enable_stream_[COLOR] && enable_publish_extrinsic_) {
enable_stream_[COLOR]) {
// calc depth to color
CHECK_NOTNULL(stream_profile_[COLOR]);