Skip to content

Commit

Permalink
The period of sync_host_time is changed to 60s
Browse files Browse the repository at this point in the history
  • Loading branch information
jjiszjj committed Dec 30, 2024
1 parent 17adc35 commit b6b8eb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ob_camera_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ void OBCameraNode::getParameters() {
device_->timerSyncWithHost();
if (time_domain_ != "global") {
sync_host_time_timer_ =
nh_private_.createTimer(ros::Duration(1800.0), [this](const ros::TimerEvent&) {
nh_private_.createTimer(ros::Duration(60.0), [this](const ros::TimerEvent&) {
if (device_) {
device_->timerSyncWithHost();
}
Expand Down

0 comments on commit b6b8eb8

Please sign in to comment.