Skip to content

Commit 9e2e146

Browse files
committed
merge conflicts
2 parents 3773aaf + 0a29970 commit 9e2e146

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

velocity_controllers/include/velocity_controllers/integral_sliding_mode_controller.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747

4848
namespace velocity_controllers
4949
{
50-
5150
class IntegralSlidingModeController : public controller_interface::ChainableControllerInterface
5251
{
5352
public:

velocity_controllers/src/integral_sliding_mode_controller.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ auto IntegralSlidingModeController::on_init() -> controller_interface::CallbackR
5454
}
5555
model_ = std::make_unique<hydrodynamics::Params>(out.value());
5656

57+
// Notify users about this. This can be confusing for folks that expect the controller to work without a reference
58+
// or state message.
59+
RCLCPP_INFO(
60+
get_node()->get_logger(),
61+
"Reference and state messages are required for operation - commands will not be sent until both are received.");
62+
5763
return controller_interface::CallbackReturn::SUCCESS;
5864
}
5965

0 commit comments

Comments
 (0)