webots_ros2 icon indicating copy to clipboard operation
webots_ros2 copied to clipboard

Tiago example:Slam can't work

Open discleave opened this issue 3 years ago • 1 comments

Describe the Bug 'TIAGo SLAM' in 'TIAGo Example' can't build the map

Steps to Reproduce

  1. execute 'ros2 launch webots_ros2_tiago robot_launch.py rviz:=true slam:=true'
  2. See error 'No map recieived' in rviz
  3. execute 'ros2 run teleop_twist_keyboard teleop_twist_keyboard'
  4. See error. I can control TIAGo by keyboard, but the map can't be built

Expected behavior I could control TIAGo to build a map.

**Screens 2022-03-29 09-05-28屏幕截图 error2

System

  • Webots Version: 2022a
  • ROS Version:foxy
  • Operating System: Ubuntu 20.04.3

discleave avatar Mar 29 '22 01:03 discleave

Personally it appears to be working for me, the map topic is published for me, but I do have the LaserRangeScan warning you mention. Did you follow the install procedure described here? https://github.com/cyberbotics/webots_ros2/wiki/Build-and-Install

ad-daniel avatar Mar 29 '22 07:03 ad-daniel