Git Product home page Git Product logo

laser_line_extraction's People

Contributors

avidbots-marc avatar kam3k avatar marine0131 avatar nmerrill67 avatar timple 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

laser_line_extraction's Issues

add example laser scan messages to repo

Could you please add to the repo the laser scan messages from which you created that example gif? If you do not have those messages, then can you please add any laser scan message that produces a nice set of walls given the default parameters? I am playing with your code, and having known working laser scan messages would greatly help debug issues that I am encountering. Thanks!

Extracting a single line

Hi!

I'm using your algorithm to detect lines in a factory environment for a graduation project on robotics. The code works very nice, so my compliments for that! Nevertheless, one problem I have is that I cannot seem to detect a line when only one line is present in the laserscan data. Can you advise me on which settings to change or where to adapt the code?

Best,
Sebas

algorithm doesn't work with a high angular resolution of scans

Hi, when I have an angular increment higher than 0.01 rad, the algorithm publishes the line markers in a circle at the max range of the scan message (I have a resolution of 0.0022 rad from my scanner, with a 270 degrees field of view). This problem can be easily reproduced both in simulation and on actual laser data. I tried all parameters, but apart from getting one small segment converging into line, nothing works. Any idea what I can try?

Could not dealing with rear obstacles

Hi!

I put 2 obstacles (Gazbo box obstacles in the same dimension), one of them in front side of the robot (and its ), the other in the rear side.

Unfortunately the rear one has not been recognized and in my case I need the rear side lines.

Is there any method to deal with it?

How to show lines on Rviz

Hello,

Thank you for sharing the example. I am newbie on ROS. I want to try this algorithm on my project. When i launch "example.launch" there is no error but want to see lines on Rviz. I will be glad how to implement it. I searched files but nothing found about Rviz package.

My system:
Hardware: Nvdia Jetson Nano
OS: Ubuntu 18.4
ROS: Melodic version
Lidar: Slamtec Rplidar S1

Error with rostopic echo /line_segments

Hello!
I managed to run the package and visualize the lines from /marker topic through rviz. But when I am trying to access the topic /line_segments to get the list of lines I get the following error:

ERROR: Cannot load message class for [laser_line_extraction/LineSegmentList]. Are your messages built?

The topic appears in the list of active topics with rostopic lists, but rqt_graph does not include it. When I try to see the published messages with rostopic echo I get the error above. I tried to clean the workspace with catkin_make clean and rebuild it with catkin_make, then source again the environment but still, I get the same error. I think I am missing something here. Can you please provide any hint?

Thanks in advance!

distance between robot and line

Hi,
I want to use your package to create a wall following algorithm where instead of checking directly the distance to the wall through the laserscanner points, I want to just compute the distance to the line. I see that the output of the line_segment topic is the polar coordinates. which angle of the robot does the r value given corresponds to ? Thanks in advance.

Need some debug guide.

Hi!

I am a Msc student in China, and trying to use a UAV, assembled with a 2D-lidar, to flying in a tunnel. Lidar is using to detect the surface of the tunnel ,which can be treated as a line in 2D-lidar data.
By searching, I found your code in the github and it seems works very well. So I download and catkin_make it.
But what confuse me is, I see no segments output data from the /line_segments. I play around the parameters but nothing change, then I trying to use printf to print the data and fail again. I am new to C++ ROS coding, so can you give some advices on how to deal with this problem or usually how you debug the code?

I leave my parameter below, and my rosbag link. By the way, I am using the /scan_filtered topic.

Best,
Lin

bag file:
https://github.com/eleboss/UAV/blob/master/2018-01-22-15-28-43.bag

tunnel:
https://github.com/eleboss/UAV/blob/master/Screenshot%20from%202018-01-22%2015-10-25.png

Changes in max_range parameters

Hello. I just saw that you added the max_range parameter in the example.launch (it was mentioned in the readme but not included in the file). I installed the package yesterday, so I tried to add the parameter in the launch file but it didn't work. Did you make any changes in the other files to make the max_range work? should I install the package from the beginning?

Thanks in advance!

ROS2

Do you plan to migrate the package to ROS2?

Save lines coordinates

Hello!
I'm newbie in ROS, and trying to save lines coordinates, (published in map fixed frame), and export to a dxf file format. But the result got wrong. It looks like lines are in laser frame, so they are "rotating".

I checked frame_id via rostopic echo /line_markers or /line_segments and it says "map" as changed in launch file.

Can you give some tip on how to get the line coordinates correctly?

your29
your28

I can save point cloud coordinates and create a dxf file with this points (add_point), and then draw lines over it; but if I could use line coordinates, I could create lines directly (add_line) and it would give a lot less data (since i would have just 2 points - start|end, and not all the wall points)
your3

The first and second images shows the result using line markers and line coordinates start-end points.
Last image shows the result using point cloud coordinates, transformed to frame "map".

Thank you!

out of range/not a number laser data

not_a_number_laser_data
not_a_number_laser_data_2
I'm using the package with the above parameters to get line segments from laser data. I want to extract my lines as closer to the real length as possible, but the parameters I use don't correspond to the segment I get. I was playing with the parameters for a week and I found out that, maybe because of some reflections, some of the measurements return "nan" instead of a range number. How does the algorithm deals with this "nan" data? Is this why the segment in the image is shorter than the whole length of the measurements? Or maybe there is a better combination of parameters that solves the problem? Any help will be appreciated. Thanks in advance!

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.