Melodic network setup: invalid ROS_IP (protocol should not be included)
I have one workspace in Raspberry Pi with Xubuntu and one in Ubuntu PC. I am running ROS Melodic on both. I am able to access Raspberry Pi through Ubuntu PC using ssh
.The roscore
is running in Raspberry Pi. My ~/.bashrc
file settings are as below (Reference: Here):
Raspberry Pi:
source /opt/ros/melodic/setup.bash
source ~/catkin_ws/devel_isolated/setup.bash
export ROS_MASTER_URI=http://192.168.2.111:11311
export ROS_IP=http://192.168.2.111
Ubuntu PC:
source /opt/ros/melodic/setup.bash
source ~/DKOBDR_WS/temp_ws/devel_isolated/setup.bash
export ROS_MASTER_URI=http://192.168.2.111:11311
export ROS_IP=http://192.168.2.70
The roscore
runs in Raspberry Pi correctly, but I am getting the following output with roslaunch
in Raspberry Pi:
shaunak@Xubuntu-RPi:~$ roslaunch mobile_robot_pkg keyboard_teleop.launch
... logging to /home/shaunak/.ros/log/ed3361e8-ea1a-11e8-a91e-b827ebd68f79/roslaunch-Xubuntu-RPi-2380.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
invalid ROS_IP (protocol should not be included)
invalid ROS_IP (protocol should not be included)
RLException: Unable to contact my own server at [http://http://192.168.2.111:39657/].
This usually means that the network is not configured properly.
A common cause is that the machine cannot ping itself. Please check
for errors by running:
ping http
For more tips, please see
http://www.ros.org/wiki/ROS/NetworkSetup
The traceback for the exception was written to the log file
I kindly request for some precise guideline for Network Setup as I have gone through http://wiki.ros.org/ROS/NetworkSetup and http://wiki.ros.org/ROS/Tutorials/MultipleMachines, but can not get much out of them.