Yaskawa-Global / motoros2

ROS 2 (rcl, rclc & micro-ROS) node for MotoPlus-compatible Yaskawa Motoman robot controllers
92 stars 15 forks source link

Debug log always broadcast on `LAN2` #58

Open gavanderhoorn opened 1 year ago

gavanderhoorn commented 1 year ago

With motoros2_config.yaml setup to use LAN3 on a YRC1000 (or at least: using an IP address in the range configured on LAN3) it appears debug log messages are only sent to LAN2.

Without LAN2 having a connection, no messages will be received.

gavanderhoorn commented 1 year ago

We have it hard-coded to always only use LAN2 (ie: ROS_USER_LAN1):

https://github.com/Yaskawa-Global/motoros2/blob/8c1a524e8cad8e45e865454bb01678cabc416e38/src/Debug.c#L18-L34

Note: this could be by-design, but I though to report it anyway.

ted-miller commented 1 year ago

Note: this could be by-design, but I though to report it anyway.

I don't think this is by-design. Just an oversight.