Code Monkey home page Code Monkey logo

Comments (9)

gglaspell avatar gglaspell commented on May 19, 2024 1

I have a gradient OS1-64, what configuration should I use?

from floam.

masterhui avatar masterhui commented on May 19, 2024

Hi, I have a similar request: I would like to use FLAOM with a Ouster OS0-64 dataset. I can see there are some hard coded angles here:

else if (N_SCANS == 64)
{
if (angle >= -8.83)
scanID = int((2 - angle) * 3.0 + 0.5);
else
scanID = N_SCANS / 2 + int((-8.83 - angle) * 2.0 + 0.5);
if (angle > 2 || angle < -24.33 || scanID > 63 || scanID < 0)
{
continue;
}
}

which seem to match Kitti dataset Velodyne HDL-64E sensor (datasheet) But I am unsure which values I have to change. The Ouster OS0-64 also has 64 scan lines, but a vertical field of view of -45° .. +45°. Your help is appreciated.

from floam.

wh200720041 avatar wh200720041 commented on May 19, 2024

hi @masterhui and @islamtalha01

from ouster website, note that there are several configuration as shown below

Screenshot 2021-10-16 17:54:23

By default, it should be uniform beam spacing. We use uniform beam for example.
else if (N_SCANS == 64)
{
scanID = round((angle + 22.5) * 45.0 / 63.0);
if (scanID > (N_SCANS - 1) || scanID < 0)
continue;

}

However, for those who use OS0 and OS2,
The harware configuration is different, OS2 is 22.5 and OS0 is 90, please change accordingly based on the code above.

Hence, for OS0, it is
else if (N_SCANS == 64)
{
scanID = round((angle + 45) * 90.0 / 63.0);
if (scanID > (N_SCANS - 1) || scanID < 0)
continue;
}

You can leave you question here for different sensor support.

from floam.

masterhui avatar masterhui commented on May 19, 2024

Hello @wh200720041
thank you for your tips. I have followed your advice and replaced the above lines in laserProcessingClass.cpp for use with my Ouster OS0-64, which is configured for uniform 90° vertical field of view. However, after re-compiling the results look much worse than when using the original Velodyne code.

Map with original code:
Screenshot from 2021-10-18 12-52-55

Map with Ouster OS0-64 code:
Screenshot from 2021-10-18 12-41-02

Any ideas why this might be the case?
Regards

from floam.

islamtalha01 avatar islamtalha01 commented on May 19, 2024

from floam.

masterhui avatar masterhui commented on May 19, 2024

Hi, here is a quick update. I managed to get this to work perfectly with data from my Ouster OS0-64. In case someone else is looking for a solution, please see patch below.
Settings-for-Ouster-OS0-64-90.patch.txt

from floam.

islamtalha01 avatar islamtalha01 commented on May 19, 2024

from floam.

masterhui avatar masterhui commented on May 19, 2024

Not sure if I understand your question. One of the features of F-LOAM is that it doesn't require an IMU, am I wrong?

from floam.

masterhui avatar masterhui commented on May 19, 2024

Hi @gglaspell
Check out the patch I posted above for the OS0-64. You will have to modify the values as the OS1 has different vertical opening angles.

from floam.

Related Issues (20)

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.