sweep-ros icon indicating copy to clipboard operation
sweep-ros copied to clipboard

SLAM with sweep best practices?

Open sevenbitbyte opened this issue 7 years ago • 9 comments

I expect that SLAM will be the primary ROS use case with the sweep. I've had some fairly mixed experiences between the major SLAM packages. I think that the sweep should have at least one approach that is well documented and can work. There are to my knowledge 4 stable SLAM approaches in ROS.

  1. gmapping - currently crashing #14
  2. slam_karto - currently crashing, but easy work around #15 then works very well
  3. hector - works out of the box with no major config changes
  4. rtabmap - works alright with substantial configuration

Have others gotten gmapping working? @kent-williams is it possible to get a test process that ensures the scanse sweep will work with atleast one of the slam approaches?

sevenbitbyte avatar Jun 16 '17 15:06 sevenbitbyte

@utkarshjp7 hey, created an issue to track SLAM support. I got rtabmap to work(not particularly well but OK) I'll share that config with you as soon as I dig it up again.

sevenbitbyte avatar Jun 16 '17 15:06 sevenbitbyte

I trying to use google cartographer library now, struggling to get it work. I will post my config if i get it worked.

vssli avatar Jun 22 '17 20:06 vssli

@vssli I think that it is fantastic!!!

jabrena avatar Jun 22 '17 20:06 jabrena

@jabrena It is actually easy to use sweep with cartographer.I have done the work.

vssli avatar Jul 04 '17 20:07 vssli

Many @vssli, I am waiting for my unit. I suppose that I will receive it in some weeks.

This week, I am creating some ROS Nodes to connect with Cartographer. Are you combining with an IMU sensor or only with the info from the laser topic? https://github.com/ev3dev-lang-java/ev3dev-lang-java/issues/343

@vssli Do you know if Cartographer support multiple robots to generate the Map?

jabrena avatar Jul 04 '17 20:07 jabrena

I only use info from /scan to build the map i think. sorry, I don't know if it supports multiple robots.

vssli avatar Jul 05 '17 18:07 vssli

Don´t worry @vssli :) In the beginning, I will try to create the map. Later I will research if it is possible to reuse with more robots. :)

jabrena avatar Jul 05 '17 18:07 jabrena

Has anyone gotten the hector_slam package for ROS working with sweep_ros?

I'm able to see the sweep data points in RViz, but I can't for the life of me transport this information to the hector_slam node. Been editing the tutorial.launch file that comes with hector_slam and have set the scan topic to the same as the frame_id in sweep2scan.launch but that doesn't seem to be the way to go. (It might, but in any case I'm not able to visualize it).

Any help appreciated.

DiAvisoo avatar Aug 23 '17 11:08 DiAvisoo

@vssli hi, able to post your config for sharing? thanks

xl94 avatar Jan 02 '18 01:01 xl94