ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I somehow managed to solve the issues. Rather than directly installing the turtlebot3 the package through
sudo apt install ros-ros2-distro-turtlebot3*
I cloned the single repositories from ROBOTICS-GIT and then built them in my workspace. I cloned the following ones:
git clone -b branch-name https://github.com/ROBOTIS-GIT/turtlebot3.git
git clone -b branch-name https://github.com/ROBOTIS-GIT/turtlebot3_msgs.git
git clone -b branch-name https://github.com/ROBOTIS-GIT/turtlebot3_simulations.git
git clone -b branch-name https://github.com/ROBOTIS-GIT/DynamixelSDK.git
git clone -b branch-name https://github.com/ROBOTIS-GIT/hls_lfcd_lds_driver.git
Then still installed the following packages:
apt install -y ros-ros2-distro-navigation2 ros-ros2-distro-navigation-bringup
apt install -y ros-ros2-distro-gazebo-ros-pkgs
Then afterwards run the following two commands in two separate terminal windows and things should work as expcted
ros2 launch turtlebot3_gazebo turtlebot3_world.launch.py
ros2 launch turtlebot3_navigation2 navigation2.launch.py use_sim_time:=true
I hope that helps!