ROBOTIS-GIT / turtlebot3_simulations

Simulations for TurtleBot3
http://turtlebot3.robotis.com/
Apache License 2.0
329 stars 434 forks source link

How to solve 'No transform from [base_footprint] to [map]'? #79

Closed b2220333 closed 5 years ago

b2220333 commented 5 years ago

I install binary ROS2 crystal on ubuntu 18.04 64bits. My installation and run process:

cd ~/ros2_overlay_ws/src/
git clone https://github.com/ROBOTIS-GIT/turtlebot3 -b ros2
git clone https://github.com/ROBOTIS-GIT/turtlebot3_msgs -b ros2
git clone https://github.com/ROBOTIS-GIT/turtlebot3_simulations -b ros2
cd ~/ros2_overlay_ws/
colcon build
sudo cp ~/ros2_overlay_ws/src/turtlebot3_simulations/turtlebot3_gazebo/worlds/turtlebot3_worlds/burger.model /usr/share/gazebo-9/worlds/
sudo cp -r ~/ros2_overlay_ws/src/turtlebot3_simulations/turtlebot3_gazebo/models/turtlebot3_world /usr/share/gazebo-9/models/
sudo cp -r ~/ros2_overlay_ws/src/turtlebot3_simulations/turtlebot3_gazebo/models/turtlebot3_burger /usr/share/gazebo-9/models/
export TURTLEBOT3_MODEL=burger
ros2 launch turtlebot3_gazebo turtlebot3_world.launch.py
ros2 launch turtlebot3_cartographer cartographer.launch.py

However, rviz2 could not show robot model and have TF errors. Screenshot from 2019-06-03 17-13-50 How to solve it? Thank you~

Sam

routiful commented 5 years ago

@b2220333 We have released new version for ROS2 dashing. Please check it :) https://discourse.ros.org/t/tb3-ros-2-dashing-release/10364 If you have any further issues, please feel free to get a new ticket.