-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Problem with making maps using Turtlebot3 #960
Comments
I have the same issue using Ubuntu 22.04 on both Pi and dev-Pc. With ROS2 Humble and the turtlebot3-burger. I guess the issues may be some error with inverted positional values. I assume this should lead to that type of error., but just a guess of mine, I couldn't already find that out. |
I frequently get this warn-message aswell. So maybe something with the communication?: |
I'm also experiencing the same issue as @GitHubGM - I tried to get Cartographer working last year with Ubuntu 20.04 and ROS 2 Foxy, but couldn't figure out how to fix it. The problem may have been related to the following debug message that I received at the time:
I'm now trying again with Ubuntu 22.04 and ROS 2 Humble and observing a similar issue, but getting the same debug message as @Lorenzuser:
A similar issue has been reported on the Cartographer GitHub repo (cartographer-project/cartographer_ros#1303), which suggested that it might be a time sync problem, so I followed the instructions on the ROBOTIS wiki to sync time between the PC and the robot using I've tried flashing the OpenCR board with various different firmware versions. I initially followed the OpenCR setup instructions on the wiki for Humble to flash firmware version 0.2.1 (latest) from the OpenCR-Binaries GitHub repo. The
I then tried following the instructions on flashing the OpenCR board from a PC using the Arduino IDE, which seems to use the code from this separate GitHub repo: https://github.com/ROBOTIS-GIT/OpenCR. I tried the latest version (1.5.2), as well as (1.5.0) based on the suggestion in #940, but this didn't seem to make any difference to using the 0.2.1 binary. The instructions on the wiki for Humble suggest using "File > Examples > turtlebot3 > turtlebot3_burger > turtlebot3_core", but there is also an option for "File > Examples > TurtleBot3 ROS2 > turtlebot3_burger" - I had to install the Dynamixel2Arduino library (0.6.3) to get this to compile, but it doesn't seem to make a difference either. I'm not sure how these GitHub repositories relate to each other - presumably the OpenCR repo is the source code for the OpenCR-Binaries repo, but the version numbering is confusing. Version 1.5.2 of the source code was released on 13th October 2022, but the version 0.2.1 binary was released on 27th January 2023, which suggests that it is newer. The OpenCR-Binaries repo appears to be specific to the turtlebot3, while the OpenCR repo contains code for several different applications, which perhaps explains the different version numbering. However, there are various version numbers in the turtlebot3 code that don't seem to match up with the releases in OpenCR-Binaries. There are at least two other (seemingly unresolved) issues that describe the same problem as the one detailed in this thread:
I'm not sure if this is even an issue with the OpenCR board firmware - By following these instructions on the ROBOTIS wiki I was able to confirm that Cartographer accurately performs SLAM when used in conjunction with the Gazebo simulator, just not with the physical robot. If the robot remains stationary after starting Cartographer, it is able to produce a stable map of the surrounding area, but once it starts moving (either translation or rotation, or both) the Is it just that the Cartographer configuration file https://google-cartographer-ros.readthedocs.io/en/latest/tuning.html I have tried switching the RMW from the default Fast DDS to Cyclone DDS (on the robot and the PC), as described here: https://roboticsbackend.com/ros2-nav2-tutorial/, but this didn't help. I'm also not clear on which version of the turtlebot3 ROS drivers should be used for Humble. The setup instructions for the Raspberry Pi on the ROBOTIS wiki tell you to clone the @ROBOTIS-Will could you please help with this? Given that the instructions on the wiki do not seem to produce reliable results, it would be useful to have a definitive set of instructions that work for Humble, in terms of:
|
ISSUE TEMPLATE ver. 0.4.0
Which TurtleBot3 platform do you use?
Which ROS is working with TurtleBot3?
Which SBC(Single Board Computer) is working on TurtleBot3?
Which OS you installed on SBC?
Which OS you installed on Remote PC?
Specify the software and firmware version(Can be found from Bringup messages)
Specify the commands or instructions to reproduce the issue.
Copy and Paste the error messages on terminal.
Please describe the issue in detail.
My map is moving with turtlebot3 in cartographer, when I'm standing in place, I'm getting this kind of maps:
Same problem in nav2, I made map little without moving turtlebot3, but in nav2 map is moving with robot and it's colliding with an obstacle
The text was updated successfully, but these errors were encountered: