-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't launch SLAM, NAV2, or RVIZ2 for multiple Turtlebot4's #411
Comments
I'm not too sure about the slam problem, but I will say that RVIZ2 (as well as any launch and run command in tb4) also needs namespacing. For example, you might want to run Also, if you are trying to run SLAM specifically, try with only one robot as that's all you really need for mapping! |
Hello @Robo52 , If not, would it be possible to provide the full terminal outputs when launching SLAM and NAV2 (particularly the ones where you mentioned it reached using JACOBI-PRECONDITIONER). We'll take a look at the terminal output and see what we can determine. Looking forward to hearing from you soon. |
Hello @WallerJonathan , Looking forward to hearing from you soon. |
Hi @smatarCPR, I have been working with 2 physical turtlebot4s for the past week or so, and I have experienced inconsistencies seemingly with the launch files. Sometimes, using the launch files works, but sometimes it doesn't. For example, earlier today I typed the commands However, later in the day I typed in the exact same commands and it would not load the tfs. Even after rebooting my computer and the robot twice and trying again it did not work; this has happened to me before with other launches such as nav2.launch.py, and the same problem happens on my coworker's laptop. It is not a problem with the computer as my CPU is only at about 5% load when I run rviz, so I am unsure what the problem could be. In addition, I tried addressing some of the problems in this conversation but was eventually redirected back to this forum. Thanks for the help! |
Hello @WallerJonathan , Would it be possible to perform the following for us so we can help determine what may be causing this occasional failure:
Looking forward to hearing from you soon. |
Hello, |
Robot Model
Turtlebot4 Standard
ROS distro
Humble
Networking Configuration
Simple Discovery
OS
Ubuntu 22.04
Built from source or installed?
Installed
Package version
Version: 1.0.4-1jammy.20240407.042255
Type of issue
Navigation (SLAM, Nav2 etc.)
Expected behaviour
I namespaced the two turtlebot4's I have according to the turtlebot4 user manual and the create3 documentation. I expect to be able to launch SLAM for both of these robots separately and then launch RVIZ2 and see both of the robots in the window.
Actual behaviour
In reality, SLAM does not fully launch for either bot, even when I run them one at a time. The SLAM script makes it to the point where it displays (using JACOBI-PRECONDITIONER) in the terminal and then does not output anything else. When I launch RVIZ2 while the robots are in this state, I get the map error: "no map received".
Error messages
No response
To Reproduce
1: Undock one robot with command: ros2 action send_goal /GIOVANNI/undock irobot_create_msgs/action/Undock "{}"
2: Undock second robot with command: ros2 action send_goal /HUMBOLDT/undock irobot_create_msgs/action/Undock "{}"
3 Launch slam for one robot: ros2 launch turtlebot4_navigation slam.launch.py namespace:=/GIOVANNI params:=/opt/ros/humble/share/turtlebot4_navigation/config/slam.yaml
4: Launch slam for other robot: ros2 launch turtlebot4_navigation slam.launch.py namespace:=/HUMBOLDT params:=/opt/ros/humble/share/turtlebot4_navigation/config/slam.yaml
5: Launch RVIZ2: ros2 launch turtlebot4_viz view_robot.launch.py
Other notes
No response
The text was updated successfully, but these errors were encountered: