Skip to content

Commit

Permalink
Added n to insertpointcloud
Browse files Browse the repository at this point in the history
  • Loading branch information
danielduberg committed Mar 16, 2020
1 parent f155c99 commit 5db59ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ufomap/src/octree_rgb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ void OctreeRGB::insertPointCloud(const Point3& sensor_origin, const PointCloudRG

void OctreeRGB::insertPointCloudDiscrete(const Point3& sensor_origin,
const PointCloudRGB& cloud, float max_range,
bool super_speed, unsigned int depth)
unsigned int n, unsigned int depth)
{
PointCloud no_color_cloud;

Expand All @@ -91,7 +91,7 @@ void OctreeRGB::insertPointCloudDiscrete(const Point3& sensor_origin,
}

OctreeBase<OccupancyNodeRGB>::insertPointCloudDiscrete(sensor_origin, no_color_cloud,
max_range, super_speed, depth);
max_range, n, depth);

for (const auto& [code, color] : colors)
{
Expand Down

0 comments on commit 5db59ee

Please sign in to comment.