Open ljaniec opened 2 years ago
Hello,
I prepared a small set of commands to show, what I think the problem is.
ros2 launch gazebo_ros gazebo.launch.py
ros2 run gazebo_ros spawn_entity.py -file /opt/ros/galactic/share/turtlebot3_gazebo/models/turtlebot3_waffle/model.sdf -entity robot01
It spawns TB3 Waffle normally (visible model and LiDAR).
ros2 launch gazebo_ros gazebo.launch.py
ros2 run gazebo_ros spawn_entity.py -file /opt/ros/galactic/share/nav2_bringup/urdf/turtlebot3_waffle.urdf -entity robot01
Surprisingly, it spawns invisible TB3 Waffle. It is visible only in the 'Collision' view in Gazebo. No LiDAR too.
ros2 launch gazebo_ros gazebo.launch.py
gz sdf -p turtlebot3_waffle.urdf > turtlebot3_waffle.sdf
ros2 run gazebo_ros spawn_entity.py -file ~/Desktop/turtlebot3_waffle.sdf -entity robot01
TB3 is invisible (but it's there, after launching 'Collision' view in Gazebo).
ros2 launch gazebo_ros gazebo.launch.py
ros2 run gazebo_ros spawn_entity.py -file ~/mp_400/mp_400.urdf -entity robot01
Robot is invisible, there are only blobs in the air and a LiDAR.
gz sdf -p mp_400.urdf > mp_400.sdf
ros2 run gazebo_ros spawn_entity.py -file ~/mp_400/mp_400.sdf -entity robot01
Robot is again invisible, there are only blobs in the air and a LiDAR.
Relevant issues and links I have found:
/opt/ros/galactic/share/turtlebot3_gazebo
already
Bug report
Steps to reproduce:
ros2_ws
, installaws-robomaker-small-warehouse-world
ROS2 Galactic package (binary) and the rest fromdeps.repos
(neobotix robot etc.)colcon build --symlink-install
source install/setup.bash
ros2 launch nav2_rosdevday_2021 system_launch.py
Part of my
.bashrc
file:Expected behavior
The simulation with one visible AMR MP 400 rendered and Nav2 stack for starting demo scripts.
Actual behavior
The simulation doesn't have correctly rendered robot (screens below).
Additional information
What I tried:
reinstall Gazebo and Nav2 packages
I have found a similar bug there
I checked URDF like there and it didn't show problems
this bug shows in Simple Commander too (TB3 is invisible, but not in "Collisions" view in Gazebo) - maybe it is something connected with these meshfile changes mentioned in the link above?