We are currently experiencing a few issues with the SLAM system and would appreciate your assistance. Please find attached a video and several screenshots illustrating the problems we are encountering.
Localization Issue: We initiated the SLAM with the robot positioned in a corner. As shown in the video, when we rotate the robot by 90 degrees, the localization fails to detect the new pose, continually adjusting the robot to its previous position.
Video Feed: The video feed from the robot is not displaying in RViz.
TF Links: RViz indicates that some links in the TF are missing.
We are following the documentation provided at Quadruped Documentation. We are running qre_go2 on a host PC with ROS2 Foxy on the Unitree GO2.
Your expertise and guidance in resolving these issues would be greatly appreciated. Please let us know how we can proceed to troubleshoot and address these problems.
the minimum travel distance and heading parameter in the slam.yaml file. The sudden movements do not update the map and the 2D scan matcher takes a few seconds to update. The best thing to make it work without changing it is to move slowly.
Use ros2 run teleop_twist_keyboard teleop_twist_keyboard and reduce both the angular and linear velocities!
One option is to tune the SLAM parameters such as reducing the distance and heading parameters but that causes the noise to go out of control.
Another option is to use LIO SLAM as an alternative to SLAM or any other SLAM tool boxes. In the coming months we will either be adding a new SLAM to replace this one and/or optimizing SLAM toolbox because the 2D map is useful for nav2 stuff such planning zones etc.
Please specify which error? The Image stream that is not coming is because it is using the d435i depth camera, you can switch to the other one for the GO2’s front default camera in the left RViz2 menu. For the map, you have to run slam.
Please clone the qre_go2 foxy-nvidia
branch to the go2’s nvidia PC, remove the build install log folder, and rebuild with colcon build --symlink-install
Incase you have the older version of the go2, also do the following once the repository is built
ros2 run robot_upstart uninstall ros2
The new name of the service is qre-platform. Power-cycle the robot, and do sudo service ros2 status. Nothing should come up if uninstalled correctly.
Then run
ros2 run go2_bringup startup_installer.py
Afterwhich, do sudo service qre-platform status and it should show green status.
Hey @Sohail
I’m referring to the issue with map generation in slam. After starting the slam process, there is an issue in map transform “could not transform from [ ] to odom”. Can you please help with this?
I have updated to work with cpp in the repository. There was some bug that the scan was not coming due to the Lidar attaching the timestamp of 30 seconds of delay. Please try this again, the scan should work more reliably then before.
We were able to get the SLAM running successfully with your recent update, and we greatly appreciate your support.
Currently, we are attempting to get the navigation running using the map created during the mapping process. However, we are encountering an issue where the robot does not start at the correct point on the map. The map loads, but the robot appears outside the mapped area. When we attempt to correct the robot’s position using the 2D pose estimate, it does not work. Additionally, the terminal running the navigation displays an error.
We are attaching a video demonstrating the issue for your review. Could you please check it and assist us in resolving this problem to get the navigation running smoothly?