Skip to main content
6 of 6
added 218 characters in body
phil
  • 31
  • 8

Cannot find turtlebot3_gazebo on ROS2 humble on 22.04

I am following this tutorial

https://roboticsbackend.com/ros2-nav2-tutorial/

Although I installed the required packages,

sudo apt install ros-humble-navigation2 ros-humble-nav2-bringup ros-humble-turtlebot3*

I get this error

ros2 launch turtlebot3_gazebo turtlebot3_world.launch.py
Package 'turtlebot3_gazebo' not found: "package 'turtlebot3_gazebo' not found, searching: ['/opt/ros/humble']"

here is an excerpt of my variables

ROS_HOSTNAME: rosmaster
ROS_IP: 192.168.1.84
ROS_MASTER_URI: http://rosmaster:11311
ROS_DOMAIN_ID: 1
ROS_LOCALHOST_ONLY: 0
RMW_IMPLEMENTATION: 
TURTLEBOT3_MODEL: waffle
GAZEBO_MODEL_PATH: :/opt/ros/humble/share/turtlebot3_gazebo/models
-----------------------------------------
ROS_VERSION=2
SESSION_MANAGER=local/pi-ros-2:@/tmp/.ICE-unix/2303,unix/pi-ros-2:/tmp/.ICE-unix/2303
ROS_PYTHON_VERSION=3
ROS_DOMAIN_ID=1
ROS_IP=192.168.1.84 
VNCDESKTOP=pi-ros-2:1 (pi)
AMENT_PREFIX_PATH=/opt/ros/humble
PYTHONPATH=/opt/ros/humble/lib/python3.10/site-packages:/opt/ros/humble/local/lib/python3.10/dist-packages
ROS_MASTER_URI=http://rosmaster:11311
ROS_HOSTNAME=rosmaster
LD_LIBRARY_PATH=/opt/ros/humble/opt/rviz_ogre_vendor/lib:/opt/ros/humble/lib/aarch64-linux-gnu:/opt/ros/humble/lib
ROS_LOCALHOST_ONLY=0
GAZEBO_MODEL_PATH=:/opt/ros/humble/share/turtlebot3_gazebo/models

PATH=/opt/ros/humble/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
    ROS_DISTRO=humble

please help me out, this is quiet frustrating as a learning curve

thanks

[edit] from the video tutorial , I try to simply run gazebo, and it is just not there at all

pi@pi-ros2:~/WORK$ gazebo
gazebo: command not found
pi@pi-ros2:~/WORK$ sudo find / -name gazebo
[sudo] password for pi: 
/opt/ros/humble/share/turtlebot3_manipulation_description/gazebo
/home/pi/WORK/bookros2_ws/src/ThirdParty/tiago_robot/tiago_description/gazebo
/home/pi/WORK/bookros2_ws/src/ThirdParty/pmb2_robot/pmb2_description/gazebo
/home/pi/WORK/bookros2_ws/src/ThirdParty/pal_gripper/pal_gripper_description/gazebo
/home/pi/WORK/bookros2_ws/src/ThirdParty/hey5_description/gazebo

[edit] I created an issue on github

https://github.com/ros-planning/navigation2/issues/3774

I created another similar issue, as I follow tutorials from F.M Rico's book(Robot programming with ROS2)

https://github.com/fmrico/book_ros2/issues/23

is humble maintained for gazebo and navigation at all ???

phil
  • 31
  • 8