Skip to content

Commit

Permalink
Forget to push the default config
Browse files Browse the repository at this point in the history
  • Loading branch information
tizianoGuadagnino committed Dec 3, 2024
1 parent 45c1b2b commit 9859082
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cpp/kinematic_icp/local_map/SparseVoxelGrid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ static constexpr std::array<Bonxai::CoordT, 27> shifts{
Bonxai::CoordT{1, 0, -1}, Bonxai::CoordT{1, 0, 0}, Bonxai::CoordT{1, 0, 1},
Bonxai::CoordT{1, 1, -1}, Bonxai::CoordT{1, 1, 0}, Bonxai::CoordT{1, 1, 1}};

static constexpr uint8_t inner_grid_log2_size = 2;
static constexpr uint8_t leaf_grid_log2_size = 2;
static constexpr uint8_t inner_grid_log2_dim = 2;
static constexpr uint8_t leaf_grid_log2_dim = 3;
} // namespace

namespace kinematic_icp {
Expand All @@ -57,7 +57,7 @@ SparseVoxelGrid::SparseVoxelGrid(const double voxel_size,
: voxel_size_(voxel_size),
clipping_distance_(clipping_distance),
max_points_per_voxel_(max_points_per_voxel),
map_(voxel_size, inner_grid_log2_size, leaf_grid_log2_size),
map_(voxel_size, inner_grid_log2_dim, leaf_grid_log2_dim),
accessor_(map_.createAccessor()) {}

std::tuple<Eigen::Vector3d, double> SparseVoxelGrid::GetClosestNeighbor(
Expand Down

0 comments on commit 9859082

Please sign in to comment.