Ask Your Question
0

how to set ROS_MASTER_URI to the wireless address instead of IP

asked 2012-07-26 12:53:27 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I am trying to stablish bi-directional connection between workstation and a netbook of a Turtlebot robot. The netbook uses the school wireless network and I can not get an static IP for it however it is accessible through a wireless address like turtle.dynamic.blabla.edu. The instructions to set the ROS_HOSTNAME and ROS_MASTER_URI are based on using IP address, is ti possible to use wireless name/address instead of IP and if yes, how should I do it?

Thank you

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-07-26 15:15:30 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Yes. You can use a resolvable wireless address as well, as long as both the workstation and the turtlebot can run something like ping turtle.dynamic.blabla.edu successfully.

If you followed the instructions here: http://ros.org/wiki/Robots/TurtleBot/Network%20Setup, you can simply replace the IP_OF_TURTLEBOT with your resolvable address and re-run the instructions. This might cause duplicate entries in your ~/.bashrc file which you can manually edit to retain only the relevant entries.

Once you have done so, follow the instructions at the end of the Network setup page to verify connectivity.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-07-26 12:53:27 -0500

Seen: 1,050 times

Last updated: Jul 26 '12