Skip to content

Commit 765b4aa

Browse files
URJalaurfeex
authored andcommitted
Update ur_configuration_controller to use RealtimeThreadSafeBox
1 parent 40db87f commit 765b4aa

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

ur_controllers/include/ur_controllers/ur_configuration_controller.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
#include <memory>
4545

4646
#include <controller_interface/controller_interface.hpp>
47-
#include <realtime_tools/realtime_box.hpp>
47+
#include <realtime_tools/realtime_thread_safe_box.hpp>
4848

4949
#include "ur_msgs/srv/get_robot_software_version.hpp"
5050
#include "ur_controllers/ur_configuration_controller_parameters.hpp"
@@ -85,7 +85,7 @@ class URConfigurationController : public controller_interface::ControllerInterfa
8585
CallbackReturn on_init() override;
8686

8787
private:
88-
realtime_tools::RealtimeBox<std::shared_ptr<VersionInformation>> robot_software_version_{
88+
realtime_tools::RealtimeThreadSafeBox<std::shared_ptr<VersionInformation>> robot_software_version_{
8989
std::make_shared<VersionInformation>()
9090
};
9191
std::atomic<bool> robot_software_version_set_{ false };

ur_controllers/src/ur_configuration_controller.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
//----------------------------------------------------------------------
4040

4141
#include <ur_controllers/ur_configuration_controller.hpp>
42-
#include <realtime_tools/realtime_box.hpp>
4342
namespace ur_controllers
4443
{
4544

0 commit comments

Comments
 (0)