Giter Site home page Giter Site logo

lego-loam's Introduction

LeGO-LOAM

How to use OS0-128 with LeGO-LOAM

Upper file is LeGO-LOAM forked file.

First of all, you have to edit the utility.h in include file. Change topic name of pointcloud2 type message.

// extern const string pointCloudTopic = "/velodyne_points";
extern const string pointCloudTopic = "/os_cloud_node/points";

Modify useCloudRing value.

extern const bool useCloudRing = false; // if true, ang_res_y and ang_bottom are not used

Add parameters of OS1-128.

// Ouster OS0-128
extern const string LIDAR_TYPE = "Ouster OS0-128";
extern const int N_SCAN = 128;
extern const int Horizon_SCAN = 1024; //2048
extern const float ang_res_x = 360.0/float(Horizon_SCAN);
extern const float ang_res_y = 90.0/float(N_SCAN-1); //45
extern const float ang_bottom = 22.5+0.1; //22.5
extern const int groundScanInd = 30;

Lastly, you have to edit ImageProjection.cpp in source file. uncomment the line of 166.

cloudHeader.stamp = ros::Time::now(); // Ouster lidar users may need to uncomment this line

With ROS bag file, Ouster launch, and LeGO-LOAM run.launch file, you can use LeGO-LOAM with your OS1-128 dataset.


  • Add parameters of HDL-64E for KITTI dataset.
// HDL-64E
extern const int N_SCAN = 64;
extern const int Horizon_SCAN = 1800;
extern const float ang_res_x = 360.0/float(Horizon_SCAN);
extern const float ang_res_y = 26.9/float(N_SCAN-1);
extern const float ang_bottom = 25;
extern const int groundScanInd = 30;

lego-loam's People

Contributors

kimdaebeom avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.