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.
I TRIED TO UNINSTALL AND REINSTALL ROS TOO BUT NO SUCCESS WITH BRINGUP.
CodePudding user response:
That package does not come directly with a ros install; you have to install it yourself either via apt or from source.
The easiest way is to run sudo apt install ros-<your_distro>-turtlebot3-bringup
. Then just source /opt
and run the command.
CodePudding user response:
Did you forget to run source devel/setup.bash
?
You need to run it every time you launch a new terminal.