Bringup not working on Turtlebot3
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 :'(
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?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/...
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 :)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...)
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?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)
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