Skip to content

Commit daa9ce7

Browse files
Lennart Nachtigallsaikishor
authored andcommitted
forgot to run pre-commit
1 parent 7b07afc commit daa9ce7

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

controller_manager/test/test_controller_failed_activate/test_controller_failed_activate.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,22 +44,20 @@ TestControllerFailedActivate::on_configure(const rclcpp_lifecycle::State & /*pre
4444
return rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn::SUCCESS;
4545
}
4646

47-
4847
rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn
4948
TestControllerFailedActivate::on_activate(const rclcpp_lifecycle::State & /*previous_state&*/)
5049
{
51-
//Simply simulate a controller that can not be activated
50+
// Simply simulate a controller that can not be activated
5251
return rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn::FAILURE;
5352
}
5453

55-
5654
rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn
5755
TestControllerFailedActivate::on_cleanup(const rclcpp_lifecycle::State & /*previous_state*/)
5856
{
5957
return rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn::SUCCESS;
6058
}
6159

62-
} // namespace test_controller_with_interfaces
60+
} // namespace test_controller_failed_activate
6361

6462
#include "pluginlib/class_list_macros.hpp"
6563

controller_manager/test/test_controller_failed_activate/test_controller_failed_activate.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,11 @@ class TestControllerFailedActivate : public controller_interface::ControllerInte
6565
rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn on_activate(
6666
const rclcpp_lifecycle::State & previous_state) override;
6767

68-
6968
CONTROLLER_MANAGER_PUBLIC
7069
rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn on_cleanup(
7170
const rclcpp_lifecycle::State & previous_state) override;
7271
};
7372

74-
} // namespace test_controller_with_interfaces
73+
} // namespace test_controller_failed_activate
7574

7675
#endif // TEST_CONTROLLER_WITH_INTERFACES__TEST_CONTROLLER_WITH_INTERFACES_HPP_

0 commit comments

Comments
 (0)