Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dashing fixes #307

Merged
merged 6 commits into from
Nov 6, 2019
Merged

Conversation

clalancette
Copy link
Contributor

This PR has a bunch of fixes that I needed to make the current Dashing actually work with my VLP-16. With all of these in place, I'm now able to make this produce pointclouds as before. @JWhitleyAStuff please take a look, thanks!

This lets us get rid of calls to 'new', and is the more
modern way to store unique pointers.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
This really puts it back to what it used to be, which seems
to fix a bug where the scans would be intermittent.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
Since we are doing a std::move of the scan, we can't access
the stamp afterwards to get the stamp.  Store the stamp before
we std::move it so we can use it later.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
Without this, the published pointclouds get slower and slower.
Just recalculate the row_step every time, which isn't really
expensive anyway.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
This has side-effects for the class, so we can't just eliminate
it.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
@JWhitleyWork JWhitleyWork self-requested a review November 6, 2019 15:03
@JWhitleyWork
Copy link
Contributor

@clalancette - Everything in this MR looks fine. Do you know if it solves the problem that @pjreed brought up in #298?

@JWhitleyWork JWhitleyWork merged commit 80777a1 into ros-drivers:dashing-devel Nov 6, 2019
@clalancette
Copy link
Contributor Author

@clalancette - Everything in this MR looks fine. Do you know if it solves the problem that @pjreed brought up in #298?

I believe it should, but a confirmation would be great.

@clalancette clalancette deleted the dashing-fixes branch November 6, 2019 15:18
@pjreed
Copy link

pjreed commented Nov 6, 2019

Yep, I just tested it out and it looks much better now. Thanks!

@clalancette
Copy link
Contributor Author

Yep, I just tested it out and it looks much better now. Thanks!

Fantastic, thanks for testing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants