Problem with rviz map display when using the SLAMTEC Mapper M2M2 with ROS
I am working on a project using the SLAMTEC Mapper M2M2 with ROS to map an area of interest. I am using Oracle Virtualbox to run ROS Noetic with Ubuntu 20.04, and my host machine is running on Windows 10. However, when running rviz, there seems to be a problem with the map display. Below is what I did from the beginning.
After downloading the Slamware ROS SDK (GCC 9) from the SLAMTEC website, I moved the folders to the src folder in my catkinws. I connected the device to a power bank, and then connected my PC to its built-in WiFi. After that, I launched the relevant nodes in the 'slamwareros_sdk' package as follows.
roslaunch slamware_ros_sdk slamware_ros_sdk_server_node.launch ip_address:=192.168.11.1
roslaunch slamware_ros_sdk view_slamware_ros_sdk_server_node.launch
Everything seems to be working fine, the map of the area of interest can be viewed, however, there is a status error in the map display under transform. The error is as follows.
No transform from [/slamwaremap] to [slamwaremap].
Because of this, I am unable to view the location of the device within the map generated (the axes are located outside of the map). I also cannot save the map in a pgm file via the map_server package. Maybe this is due to the map not being generated properly.
I am just using the SLAMTEC Mapper on its own, without any other devices or robots, as I just require the map to work with.
Would appreciate any help and support I can get. Apologies as I am still new to ROS, so I might not know a lot of things.
Asked by troytanck on 2022-12-07 08:36:13 UTC
Comments