Closed michelalbonico closed 9 months ago
Simulated SLAM'ing is not currently supported, though it is something we plan to add in the future.
Hi, I understand. The point is that we are bying a few Locobots for our research, and it is important that we have a simulated environment, such as for Turtlebots.
I will be plaing with this in the next weeks, and probably will come out with some solution.
This was a camera simulation issue. The rtabmap
package uses the camera.
It worked with SLAM_toolbox after the following commands:
$ ros2 launch interbotix_xslocobot_sim xslocobot_gz_classic.launch.py robot_model:=locobot_wx250s use_rviz:=true use_lidar:=true use_camera:=false
$ ros2 launch interbotix_xslocobot_nav xslocobot_slam_toolbox.launch.py robot_model:=locobot_wx250s use_lidar:=true use_camera:=false slam_mode:=online_async use_sim:=true
What happened?
Hi all, I have been trying to run SLAM mapping on a simulated
wx250s
mobile robot.However, it keeps reporting unconnected trees for
odom
andbase_link
, and therefore, no map is provided.It seems that linking the
odom
tobase_link
in the robot's model should solve the problem. However, I could not manage it.Robot Model
simulated wx250s robot
Operating System
Ubuntu 22.04
ROS Distro
ROS 2 Humble
Steps To Reproduce
I have installed the necessary Interbotics packages for
humble
distro from source:Other dependency packages have been installed via
apt-get
.I run the simulated robot with the following command:
The simulated world and
rviz
run smoothly.However, when I try slam mapping, it does not work properly (does not provide any map):
Relevant log output
Additional Info
Here is the graph containing the frame trees. frames.pdf.pdf