File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 4141#ifndef UR_CONTROLLERS__UR_CONFIGURATION_CONTROLLER_HPP_
4242#define UR_CONTROLLERS__UR_CONFIGURATION_CONTROLLER_HPP_
4343
44- // TODO(fmauch): Currently, the realtime_box_best_effort doesn't include this
45- #include < functional>
46- #include < realtime_tools/realtime_box_best_effort.h> // NOLINT
47-
4844#include < memory>
4945
5046#include < controller_interface/controller_interface.hpp>
47+ #include < realtime_tools/realtime_box.h>
5148
5249#include " ur_msgs/srv/get_robot_software_version.hpp"
5350#include " ur_configuration_controller_parameters.hpp"
@@ -88,7 +85,7 @@ class URConfigurationController : public controller_interface::ControllerInterfa
8885 CallbackReturn on_init () override ;
8986
9087private:
91- realtime_tools::RealtimeBoxBestEffort <std::shared_ptr<VersionInformation>> robot_software_version_{
88+ realtime_tools::RealtimeBox <std::shared_ptr<VersionInformation>> robot_software_version_{
9289 std::make_shared<VersionInformation>()
9390 };
9491
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ bool URConfigurationController::getRobotSoftwareVersion(
114114 ur_msgs::srv::GetRobotSoftwareVersion::Response::SharedPtr resp)
115115{
116116 std::shared_ptr<VersionInformation> temp;
117- return robot_software_version_.tryGet ([resp](const std::shared_ptr<VersionInformation> ptr) {
117+ return robot_software_version_.try_get ([resp](const std::shared_ptr<VersionInformation> ptr) {
118118 resp->major = ptr->major ;
119119 resp->minor = ptr->minor ;
120120 resp->build = ptr->build ;
You can’t perform that action at this time.
0 commit comments