ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
192.168.1.105
is not the IP of your Odroid (any more).
It could have been earlier, but according to your hostname -I
output, it is now 192.168.1.225
.
You're setting ROS_HOSTNAME=192.168.1.105
, which makes roscore
try and use that to connect to "its own server". This will obviously fail.
Try to set ROS_HOSTNAME
to 192.168.1.225
. Save .bashrc
, open a new terminal and try again.
2 | No.2 Revision |
192.168.1.105
is not the IP of your Odroid (any more).
It could have been earlier, but according to your hostname -I
output, it is now 192.168.1.225
.
You're setting ROS_HOSTNAME=192.168.1.105
, which makes roscore
try and use that to connect to "its own server". This will obviously fail.
Try to set ROS_HOSTNAME
to 192.168.1.225
. Save .bashrc
, open a new terminal and try again.
Note: using ROS_HOSTNAME
like this is actually why things are failing for you. You can avoid this by configuring a static IP for your Odroid (either locally on the device itself, or by making a DHCP "reservation" in your router).
The better alternative would be to make sure you have a working DNS on your network.
That would allow you to use hostnames instead of IP addresses. The IP addresses can then change, but the hostnames stay the same.
A middleground could be to use /etc/hosts
: you configure the mapping IP<->hostname
there manually. You'd still be responsible for keeping that file up-to-date though.
A third alternative could be to use Avahi to do name resolution for you. See wiki/ROS/NetworkSetup: Name resolution - Using machinename.local on the ROS wiki for some more info on that.
And make sure to check the wiki/ROS/NetworkSetup page for more general info about how to configure your network correctly.