Skip to content

Commit

Permalink
FIX: Using the correct port (backport #195)
Browse files Browse the repository at this point in the history
Co-authored-by: Giuseppe Monetti <giuseppe.monetti@kuka.com>
  • Loading branch information
Svastits and MonettiGiuseppe committed Oct 24, 2024
1 parent f398ee9 commit b2a0b3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kuka_sunrise_fri_driver/src/hardware_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ CallbackReturn KukaFRIHardwareInterface::on_init(
CallbackReturn KukaFRIHardwareInterface::on_configure(const rclcpp_lifecycle::State &)
{
// Set up UDP connection (UDP replier on client)
if (!client_application_.connect(30200, controller_ip_.c_str()))
if (!client_application_.connect(client_port_, controller_ip_.c_str()))
{
RCLCPP_ERROR(rclcpp::get_logger("KukaFRIHardwareInterface"), "Could not set up UDP connection");
return CallbackReturn::FAILURE;
Expand Down

0 comments on commit b2a0b3e

Please sign in to comment.