@@ -84,7 +84,7 @@ ur_controllers::FreedriveModeController::on_configure(const rclcpp_lifecycle::St
8484{
8585
8686 // Subscriber definition
87- enable_freedrive_mode_sub_ = get_node ()->create_subscription <std_msgs::msg::Bool>(
87+ enable_freedrive_mode_sub_ = get_node ()->create_subscription <std_msgs::msg::Bool>(
8888 " ~/freedrive_mode_active" , 10 ,
8989 std::bind (&FreedriveModeController::readFreedriveModeCmd, this , std::placeholders::_1));
9090
@@ -186,7 +186,7 @@ controller_interface::return_type ur_controllers::FreedriveModeController::updat
186186
187187 // Set command interface to enable
188188 enable_command_interface_->get ().set_value (1.0 );
189-
189+
190190 async_success_command_interface_->get ().set_value (ASYNC_WAITING);
191191 async_state_ = ASYNC_WAITING;
192192 }
@@ -237,7 +237,7 @@ rclcpp_action::CancelResponse FreedriveModeController::goal_cancelled_callback(
237237 const std::shared_ptr<rclcpp_action::ServerGoalHandle<ur_msgs::action::EnableFreedriveMode>> goal_handle)
238238{
239239 bool success;
240-
240+
241241 // Check that cancel request refers to currently active goal (if any)
242242 const auto active_goal = *rt_active_goal_.readFromNonRT();
243243 if (active_goal && active_goal->gh_ == goal_handle) {
@@ -331,4 +331,4 @@ bool FreedriveModeController::waitForAsyncCommand(std::function<double(void)> ge
331331
332332#include " pluginlib/class_list_macros.hpp"
333333
334- PLUGINLIB_EXPORT_CLASS (ur_controllers::FreedriveModeController, controller_interface::ControllerInterface)
334+ PLUGINLIB_EXPORT_CLASS (ur_controllers::FreedriveModeController, controller_interface::ControllerInterface)
0 commit comments