Skip to content

Commit d02513c

Browse files
committed
Fix format
1 parent 6eda9a5 commit d02513c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

ur_controllers/src/freedrive_mode_controller.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -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)

ur_controllers/src/freedrive_mode_controller_parameters.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ freedrive_mode_controller:
99
type: int,
1010
default_value: 10,
1111
description: "Amount of retries for checking if setting force_mode was successful"
12-
}
12+
}

0 commit comments

Comments
 (0)