Skip to content

Commit

Permalink
Update dynamixel_hardware.cpp
Browse files Browse the repository at this point in the history
Change the port name for the serial port from "usb_port" to "port_name" to correspond with the variable name in DynamixelSDK.
  • Loading branch information
Betacrucis authored May 1, 2024
1 parent 8dbf4b9 commit eb259fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dynamixel_hardware/src/dynamixel_hardware.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit eb259fe

Please sign in to comment.