Skip to content

[Feature] Added intensities to laser scan plugin#23

Merged
josephduchesne merged 6 commits into
avidbots:masterfrom
marbosjo:master
Oct 11, 2017
Merged

[Feature] Added intensities to laser scan plugin#23
josephduchesne merged 6 commits into
avidbots:masterfrom
marbosjo:master

Conversation

@marbosjo

Copy link
Copy Markdown
Contributor

Now laser filters returns intensities if:

  • layer called "reflectance" is available.
  • if "reflectance" layer is available, ray traces that collides with an element of this layer, the intensity is then 255. Otherwise is 0.

Code has been checked by clang and passes all tests.

Now laser filters returns intensities if:

    a layer called "reflectance" is available.
    if "reflectance" layer is available, ray traces that collides
with an element of this layer, intensity is then 255. Otherwise is 0.
uint16_t layers_bits_; ///< for setting the layers where laser will function
uint16_t reflectance_layers_bits_; ///< for setting reflectance layers. if
///laser hits those layers, intensity will
///be high

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these two lines are the ones causing the travis-ci to fail. It wants them to not be intented. Maybe move to a block quote before the definition?

Check with

git ls-files | grep -E ".ch?$" | grep -v "thirdparty/" | xargs clang-format-3.8 --style=file -i && git diff --exit-code

@josephduchesne josephduchesne merged commit 31d3b3e into avidbots:master Oct 11, 2017
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.

2 participants