Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rsi_hw_iface: semantics of 'rsi/address' and 'rsi/port' params unclear #57

Closed
gavanderhoorn opened this issue Jul 11, 2016 · 9 comments
Closed

Comments

@gavanderhoorn
Copy link
Member

Perhaps only for me, but because of the structure of the rsi_hw_interface node, rsi/address and rsi/port configure the address and port combination to which the UDP socket created by UDPServer is bound, and thus should correspond to an ip local to the ROS host running the rsi_hw_interface node.

@gavanderhoorn
Copy link
Member Author

I suggest changing these to rsi/local_address and rsi/local_port.

We could perhaps include ros somewhere, but I'm not sure I like rsi/ros_address and rsi/ros_port too much. Maybe rsi/address_ros and rsi/port_ros.

@tingelst, @pgorczak. @bj0rkedal ?

@tingelst
Copy link
Contributor

tingelst commented Jul 15, 2016 via email

@bj0rkedal
Copy link
Contributor

Agreed, rsi/local_address and rsi/local_port is clearer.

@gavanderhoorn
Copy link
Member Author

Another suggestion (and I like this best):

rsi:
   listen_address: "1.2.3.4"
   listen_port: 49152

This more clearly conveys the fact that the node uses these to determine on which IP address and port it should listen for incoming RSI traffic from the controller.

@gavanderhoorn
Copy link
Member Author

See #63 for a PR that renames the parameters to listen_address and listen_port.

@gavanderhoorn
Copy link
Member Author

@tingelst @bj0rkedal: any comments?

@bj0rkedal
Copy link
Contributor

In my opinion it's a good improvement. I think this should make it clear to any user what's configured. With additional input from the expanded documentation it should not take long to get a working system.

@BrettHemes
Copy link
Member

BrettHemes commented Aug 19, 2016

Personally I find this much clearer and vote for the listen_address/port naming (I had renamed them to rsi_listener_ip/port in my launch files).

gavanderhoorn added a commit that referenced this issue Aug 30, 2016
Fix for issue #57: rename RSI parameters to clarify what they configure
@gavanderhoorn
Copy link
Member Author

Fixed in f9224e4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

4 participants