mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-05 20:47:46 +08:00
fix: prevent enabling global timestamp for playback devices
This commit is contained in:
@@ -3809,7 +3809,7 @@ void OBCameraNode::getParameters() {
|
||||
if (isOpenNIDevice(pid_)) {
|
||||
time_domain_ = "system";
|
||||
}
|
||||
if (time_domain_ == "global") {
|
||||
if (time_domain_ == "global" && !is_playback_device_) {
|
||||
device_->enableGlobalTimestamp(true);
|
||||
}
|
||||
setAndGetNodeParameter<int>(frames_per_trigger_, "frames_per_trigger", 2);
|
||||
|
||||
Reference in New Issue
Block a user