Skip to content

Commit 0dcea6f

Browse files
committed
fix typo
1 parent d2fdd9a commit 0dcea6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

controller_interface/src/chainable_controller_interface.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,14 @@ ChainableControllerInterface::export_state_interfaces()
6868
}
6969
auto state_interface = std::make_shared<hardware_interface::StateInterface>(interface);
7070
const auto interface_name = state_interface->get_name();
71-
auto [it, succ] = exported_state_interfaces_.insert({inteface_name, state_interface});
71+
auto [it, succ] = exported_state_interfaces_.insert({interface_name, state_interface});
7272
// either we have name duplicate which we want to avoid under all circumstances since interfaces
7373
// need to be uniquely identify able or something else really went wrong. In any case abort and
7474
// inform cm by throwing exception
7575
if (!succ)
7676
{
7777
std::string error_msg =
78-
"Could not insert StateInterface<" + inteface_name +
78+
"Could not insert StateInterface<" + interface_name +
7979
"> into exported_state_interfaces_ map. Check if you export duplicates. The "
8080
"map returned iterator with interface_name<" +
8181
it->second->get_name() +

0 commit comments

Comments
 (0)