diff --git a/dynamixel_hardware/src/dynamixel_hardware.cpp b/dynamixel_hardware/src/dynamixel_hardware.cpp index 720db9e..f6f06a3 100644 --- a/dynamixel_hardware/src/dynamixel_hardware.cpp +++ b/dynamixel_hardware/src/dynamixel_hardware.cpp @@ -81,7 +81,7 @@ CallbackReturn DynamixelHardware::on_init(const hardware_interface::HardwareInfo return CallbackReturn::SUCCESS; } - auto usb_port = info_.hardware_parameters.at("usb_port"); + auto usb_port = info_.hardware_parameters.at("port_name"); auto baud_rate = std::stoi(info_.hardware_parameters.at("baud_rate")); const char * log = nullptr;