Giter Site home page Giter Site logo

Sorting problem about cpu_tsdf HOT 2 CLOSED

sdmiller avatar sdmiller commented on July 30, 2024
Sorting problem

from cpu_tsdf.

Comments (2)

sdmiller avatar sdmiller commented on July 30, 2024

Hi Billy,

Yes, unfortunately I'm fairly agnostic to input and am only using std::sort
to sort these files -- this is a biprodoct of me not constraining the file
prefix, so it's hard to enforce any pattern like xyz10 > xyz2.

If you're interested in modifying the sorting function, feel free -- that
executable is mainly for testing. Otherwise I'd suggest a simple bash
script to prepend 0's (replacing cloud?.png with cloud0?.png, etc)

On Friday, December 18, 2015, Billy [email protected] wrote:

When i provide the clouds with their poses , lets say clouds1-100
the algorithm runs first for cloud 10 then cloud 1 2-39 etc , i think it
might be a problem with
the sorting function


Reply to this email directly or view it on GitHub
#18.

from cpu_tsdf.

vgalanos avatar vgalanos commented on July 30, 2024

Ok now after some googling i see its more complicated than i thought to use a natural sorting algorithm.
I just save the files in cloud???.pcd format as you suggested and it worked.
This is the code that solved the issue for me:
http://stackoverflow.com/questions/4930492/integer-value-problem
Thank you for your help

from cpu_tsdf.

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.