Skip to content

Commit

Permalink
Same defaults for ROS and CPP (#431)
Browse files Browse the repository at this point in the history
* Same defaults everywhere

* Fix black
  • Loading branch information
tizianoGuadagnino authored Jan 27, 2025
1 parent be74a8e commit 922c779
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cpp/kiss_icp/pipeline/KissICP.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ struct KISSConfig {
// map params
double voxel_size = 1.0;
double max_range = 100.0;
double min_range = 5.0;
double min_range = 0.0;
int max_points_per_voxel = 20;

// th parms
Expand All @@ -50,7 +50,7 @@ struct KISSConfig {
int max_num_threads = 0;

// Motion compensation
bool deskew = false;
bool deskew = true;
};

class KissICP {
Expand Down
4 changes: 2 additions & 2 deletions ros/launch/odometry.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
class config:
# Preprocessing
max_range: float = 100.0
min_range: float = 5.0
deskew: bool = False
min_range: float = 0.0
deskew: bool = True

# Mapping parameters
voxel_size: float = max_range / 100.0
Expand Down

0 comments on commit 922c779

Please sign in to comment.