ouster-lidar / ouster-sdk

Ouster, Inc. sample code
Other
468 stars 440 forks source link

SLAM algorithm for Osuter OS1 #129

Closed mrgransky closed 4 years ago

mrgransky commented 4 years ago

Hi,

Does anyone know an open source SLAM algorithm already implemented for Ouster Raw data?

Cheers,

bromeara commented 4 years ago

If you mean the output of this driver then check google cartographer, If you mean raw UDP packets I don't know but I doubt it.

mrgransky commented 4 years ago

I compiled google cartographer but I do not know if online implementation of this also exist? Now I first record a rosbag file and run cartographer. What I want is to run both simultaneously!

bromeara commented 4 years ago

This is more related to cartographer help than ouster help. I'm not sure what you mean run both simultaneously, normally with ros you just run things in multiple terminal instances. There is this page https://google-cartographer-ros.readthedocs.io/en/latest/assets_writer.html but if you want to know more about what cartographer is doing the wiki and the launch files are going to be the best place to look.

mrgransky commented 4 years ago

What I meant was a single file.launch which brings up both os1 and cartographer simultaneously and start mapping online in RVIZ as my cart equipped with os1 is moving in the environment!

bromeara commented 4 years ago

you can just add the os1 code to your cartograther launch file with the xml tags <include file="$(find ouster_ros)/os1.launch> The details of the roslaunch format can be found here http://wiki.ros.org/roslaunch/XML

adityarath302 commented 4 years ago

I tried with Lego-loam .It works but without the IMU just the point clouds.

dmitrig commented 4 years ago

Unfortunately, we currently don't provide a sample SLAM implementation

YiChenCityU commented 4 years ago

I tried with Lego-loam .It works but without the IMU just the point clouds.

Hi, I also use the ouster lidar for lego_loam. However I meet this error about TF. Do you know how to fix it ? Thanks very much. Screenshot 2020-07-28 16:53:42

adityarath302 commented 4 years ago

Yes I am also getting this issue when i want to vizualize lidar data in RVIZ.Can anyone help regarding this.

bromeara commented 4 years ago

http://wiki.ros.org/tf#view_frames use this package. You need to ensure there is a connection between base_link and map