Skip to content

Conversation

nkoenig
Copy link
Contributor

@nkoenig nkoenig commented Jan 27, 2021

Noise was not applied to the point cloud generated by the GpuLidarSensor. This change applies noise to the laserBuffer, which then used by both the scan and point cloud topics.

Signed-off-by: Nate Koenig [email protected]

@nkoenig nkoenig requested a review from iche033 January 27, 2021 19:57
@github-actions github-actions bot added the 🏰 citadel Ignition Citadel label Jan 27, 2021
@codecov
Copy link

codecov bot commented Jan 27, 2021

Codecov Report

Merging #86 (2e39abc) into ign-sensors3 (f5a57f1) will decrease coverage by 0.14%.
The diff coverage is 53.33%.

Impacted file tree graph

@@               Coverage Diff                @@
##           ign-sensors3      #86      +/-   ##
================================================
- Coverage         77.54%   77.39%   -0.15%     
================================================
  Files                23       23              
  Lines              2298     2305       +7     
================================================
+ Hits               1782     1784       +2     
- Misses              516      521       +5     
Impacted Files Coverage Δ
src/Lidar.cc 72.87% <30.00%> (-1.86%) ⬇️
src/GpuLidarSensor.cc 88.38% <100.00%> (+0.07%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f5a57f1...5d3be6d. Read the comment docs.

src/Lidar.cc Outdated
{
for (unsigned int i = 0; i < this->RayCount(); ++i)
{
int index = j * this->RangeCount() + i;
Copy link
Contributor

Choose a reason for hiding this comment

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

one more this->RangeCount() to this->RayCount() here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Signed-off-by: Nate Koenig <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🏰 citadel Ignition Citadel

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants