Skip to content

Commit

Permalink
Update spot_driver/src/interfaces/rclcpp_parameter_interface.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Brian Jin <[email protected]>
  • Loading branch information
mschweig and bjin-bdai authored Jan 14, 2025
1 parent aa7f8ed commit b0c0ac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spot_driver/src/interfaces/rclcpp_parameter_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ bool RclcppParameterInterface::getGripperless() const {
}

std::chrono::seconds RclcppParameterInterface::getTimeSyncTimeout() const {
int timeout_seconds = declareAndGetParameter<int>(node_, kParameterTimeSyncTimeout, kDefaultTimeSyncTimeout.count());
int timeout_seconds = declareAndGetParameter<int>(node_, kParameterTimeSyncTimeout, std::chrono::duration_cast<std::chrono::seconds>(kDefaultTimeSyncTimeout).count());
return std::chrono::seconds(timeout_seconds);
}

Expand Down

0 comments on commit b0c0ac0

Please sign in to comment.