mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-06 13:07:47 +08:00
fix: remove redundant condition in static transform calculation
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user