Skip to content

Commit 82c46ac

Browse files
authored
[ForwardCommandController] Fix the duplicate command interface types when reconfiguring the controller (#1568)
1 parent 0fb4fc6 commit 82c46ac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

forward_command_controller/src/forward_command_controller.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ controller_interface::CallbackReturn ForwardCommandController::read_parameters()
4545
return controller_interface::CallbackReturn::ERROR;
4646
}
4747

48+
command_interface_types_.clear();
4849
for (const auto & joint : params_.joints)
4950
{
5051
command_interface_types_.push_back(joint + "/" + params_.interface_name);

0 commit comments

Comments
 (0)