ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

RLException Error in TurtleBot3 [closed]

asked 2022-09-07 07:29:45 -0600

madangt gravatar image

updated 2022-09-07 23:11:31 -0600

ravijoshi gravatar image

I am using ROS Noetic in Ubuntu 20.04. I followed each and every step given in robotis e-manual. However, when I run the following command

roslaunch turtlebot3_bringup turtlebot3_robot.launch

I receive the following message:

RLException: ERROR: unable to contact ROS master at [http://192.168.0.123:11311] The traceback for the exception was written to the log file

I have checked the connections, the IP addresses, the bashrc files of both the robot and the remote PC. I have redone the entire setup process for at least 6 times as of now but no solution has been found.

Kindly help me.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by madangt
close date 2023-03-01 22:13:29.302953

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-09-07 23:16:25 -0600

ravijoshi gravatar image

It seems that you are running turtlebot on a remote PC. The turtlebot is unable to find ROS master thus throws the error.

  1. Please set the ROS_MASTER_URI on remote machine.
  2. Please set the ROS_IP on every machine.

Please check the following page for more info: http://wiki.ros.org/robotican/Tutoria...

You may have to set /etc/hosts file in every machine. Please check.

edit flag offensive delete link more

Comments

I checked the ROS_Master URI in the turtlebot3 and also the Host IP. Still, the same issue.

I will check the /etc/hosts and get back to you

madangt gravatar image madangt  ( 2022-09-07 23:58:36 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2022-09-07 07:29:45 -0600

Seen: 345 times

Last updated: Sep 07 '22