Bringup not working on Turtlebot3

asked 2022-02-14 15:14:41 -0500

samana gravatar image

updated 2022-02-15 15:39:35 -0500

I am trying to bring up turtlebot3 but every time i run $ roslaunch turtlebot3_bringup turtlebot3_robot.launch on Turtlebot i get this error:

[RLException: [turtlebot3_robot.launch] is neither a launch file in package [turtlebot3_bringup] nor is [turtlebot3_bringup] a launch file name The traceback for the exception was written to the log file.]

I did run roscore on a remote PC and it worked before running the above-mentioned command on turtlebot3. I have tried many solutions but none worked for me. Any help will be greatly appreciated. Thanks.

update: I TRIED TO UNINSTALL AND REINSTALL ROS TOO BUT NO SUCCESS WITH BRINGUP :'(

edit retag flag offensive close merge delete

Comments

Is it ROS 2 or ROS1? There are both in the tags, but you are using roslaunch, so I assume ROS 1 Noetic. Do you set correct ROS_MASTER_URI?

ljaniec gravatar image ljaniec  ( 2022-02-14 17:53:18 -0500 )edit

Sorry i am a newbie . Not sure what version am i using, i just followed Turtlebot3 official website and i got stuck at section 3.5(https://emanual.robotis.com/docs/...

samana gravatar image samana  ( 2022-02-14 18:25:52 -0500 )edit

Use env | grep ROS in terminal and copy/paste the answer. You can read more about ROS_MASTER_URI in the link above, maybe it could be the source of your problems. You can check if you can see every package on your TB3 too. Maybe it's missing on the robot if you mistakenly did setup on the PC only. It will be helpful if you can write down every step of setup you have done - then we could find what's went wrong :)

ljaniec gravatar image ljaniec  ( 2022-02-14 18:37:12 -0500 )edit

i got this output for env | grep ROS

output:

gsu@gsu-ThinkPad-P71:~$ env | grep ROS ROS_ROOT=/opt/ros/kinetic/share/ros ROS_PACKAGE_PATH=/home/gsu/catkin_ws/src:/opt/ros/kinetic/share ROS_MASTER_URI=http://10.49.198.134:11311 ROS_PYTHON_VERSION=2 ROS_VERSION=1 ROS_HOSTNAME=10.49.198.134 ROSLISP_PACKAGE_DIRECTORIES=/home/gsu/catkin_ws/devel/share/common-lisp ROS_DISTRO=kinetic ROS_ETC_DIR=/opt/ros/kinetic/etc/ros

So I followed every step on the turtlebot3 official website (https://emanual.robotis.com/docs/en/p...). I implemented all the steps on my remote PC but whenever it use to connect with ssh I use to implement the following steps on my pi. But this bringup part seems to be the most problematic one despite all the steps before it working perfectly. (https://emanual.robotis.com/docs/en/p...)

samana gravatar image samana  ( 2022-02-15 08:55:45 -0500 )edit

Can you check if your computer and Pi can see each other topics on the ROS network? Your env | grep ROS was on the PC, I think? What about Pi?

ljaniec gravatar image ljaniec  ( 2022-02-16 07:16:33 -0500 )edit

On my PI it gives me this output: ROS_MASTER_URI=http://10.49.198.134:11311 (remote PC ip) ROS_HOSTNAME=10.49.198.230 (pi's ip)

samana gravatar image samana  ( 2022-02-16 08:35:58 -0500 )edit

Is there the standard rest with ROS_ROOT etc.? Could you add your log file with the traceback for the exception? It's in /home/$USER/.ros/log

ljaniec gravatar image ljaniec  ( 2022-02-16 08:53:32 -0500 )edit