File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
lbr_ros2_control/src/controllers Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,18 @@ AdmittanceController::state_interface_configuration() const {
37
37
}
38
38
39
39
controller_interface::CallbackReturn AdmittanceController::on_init () {
40
+ RCLCPP_ERROR (
41
+ this ->get_node ()->get_logger (),
42
+ " The admittance controller currently requires custom lbr_system_config.yaml configurations. "
43
+ " Therefore, only experienced users should use it, then remove this error and strictly "
44
+ " follow "
45
+ " https://lbr-stack.readthedocs.io/en/latest/lbr_fri_ros2_stack/lbr_demos/"
46
+ " lbr_demos_advanced_cpp/doc/lbr_demos_advanced_cpp.html#admittance-controller. "
47
+ " This error can be removed when a) the controller works with default system configurations "
48
+ " and b) the "
49
+ " controller checks that load data was successfully calibrated." );
50
+ return controller_interface::CallbackReturn::ERROR;
51
+
40
52
try {
41
53
if (!this ->get_node ()->has_parameter (" robot_description" )) {
42
54
this ->get_node ()->declare_parameter (" robot_description" , " " );
You can’t perform that action at this time.
0 commit comments