GithubHelp home page GithubHelp logo

shiaoming / stair-perception Goto Github PK

View Code? Open in Web Editor NEW
31.0 31.0 5.0 12.35 MB

A stair detection and modeling implementation using point cloud data with PCL(Point Cloud Library).

License: BSD 3-Clause "New" or "Revised" License

CMake 2.42% C++ 92.84% C 4.74%

stair-perception's Introduction

Hi there 👋

stair-perception's People

Contributors

psunshine avatar shiaoming avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

stair-perception's Issues

Error with own point cloud

Hello, good job!

We are currently using the stair-perception to analyze our own point cloud, but we get the following error:
image

Can you help us here?

Thank you!

A little mistake I found ?

@Shiaoming

I think I found a little mistake in the function StairDetection::computeVectorPlaneInfo

// 4.middle point of principle vector
plane.pcenter.x = (points_max[0].x + points_max[0].x)/2;
plane.pcenter.y = (points_max[0].y + points_max[0].y)/2;
plane.pcenter.z = (points_max[0].z + points_max[0].z)/2;

I guess you want to calculate every plane's principle centre after we get the points_max and points_min. And I think what you want to do is as follow.

plane.pcenter.x = (points_max[0].x + points_min[0].x)/2;
plane.pcenter.y = (points_max[0].y + points_min[0].y)/2;
plane.pcenter.z = (points_max[0].z + points_min[0].z)/2;

I am not sure if I am right or not ?

求教

博主,你好.可以发下那篇文章吗?求帮助.会议论文在网上没刊登

does it work for downstairs ?

hi,
thanks for your work.
Just wondering if this package is also applicable for downstairs. what are your thoughts about it?

A little doubt about the test time

Hi authors,

This stairs-perception project is really interesting and amazing.
My Ubuntu 16.04 equips with an i5-8600K 3.6GHz CPU and I tested the project with the pcd file provided in the "sample" folder.

19

As you can see from the picture, the total consuming time was 200ms around, which is quite different from the test time given in your paper.

image

I am really confused about that because the CPU on my computer seems better than the CPU used in the paper but achieved slower results. I wonder if you used GPU to achieve that speed or some other acceleration techniques?

Thanks anyway.

Two small questions on computing line from 2 planes

Hi @Shiaoming
Sorry to bother you again.
This time I ran into a small question when reading the source code.
In the function

// line : (x-x0)/n1=(y-y0)/n2=(z-z0)/n3=t
// plane: x0*n1+y0*n2+z0*n3=0
// compute cross point between line and plane perpendicular to this line with in origin
float t = -1*(normal_line[0]*x0+normal_line[1]*y0+normal_line[2]*z0)
/ (normal_line[0]*normal_line[0]+normal_line[1]*normal_line[1]+normal_line[2]*normal_line[2]);

you want to compute the intersection line of 2 planes. I am not quite understand why you calculate parameter t in this way.
I know t is the parameter in the vector equation of line, and I just wonder the reason why t is calculated in this way.

Then t is used to calculate another point on the line, whose coordinate is represented by variable x y z .

float x = normal_line[0]*t+x0;
float y = normal_line[1]*t+y0;
float z = normal_line[2]*t+z0;

And another place that puzzles me is that what is the meaning of line.h and line.d ?

line.h = x;
line.d = sqrt(y*y+z*z);

Does it refer to the height and width of the steps , just like the annotation I made in the following picture ?

Selection_001

Thanks !

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.