Skip to content

Commit 9793557

Browse files
saikishormergify[bot]
authored andcommitted
[ForwardCommandController] Fix the duplicate command interface types when reconfiguring the controller (#1568)
(cherry picked from commit 82c46ac)
1 parent 44a6f17 commit 9793557

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

forward_command_controller/src/forward_command_controller.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ controller_interface::CallbackReturn ForwardCommandController::read_parameters()
5353
return controller_interface::CallbackReturn::ERROR;
5454
}
5555

56+
command_interface_types_.clear();
5657
for (const auto & joint : params_.joints)
5758
{
5859
command_interface_types_.push_back(joint + "/" + params_.interface_name);

0 commit comments

Comments
 (0)