Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cfg/amcl_params.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ kld_err: 0.05
kld_z: 0.99
odom_alpha1: 0.2
odom_alpha2: 0.2
## translation std dev, m
## translation std dev, m
odom_alpha3: 0.2
odom_alpha4: 0.2
laser_z_hit: 0.5
Expand All @@ -32,7 +32,7 @@ update_min_a: 0.2

resample_interval: 1

## Increase tolerance because the computer can get quite busy
## Increase tolerance because the computer can get quite busy
transform_tolerance: 1.0
recovery_alpha_slow: 0.001
recovery_alpha_fast: 0.1
6 changes: 1 addition & 5 deletions cfg/carlike/global_costmap_params.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,9 @@ global_costmap:
update_frequency: 1.0
publish_frequency: 0.5
static_map: true

transform_tolerance: 0.5
plugins:
- {name: static_layer, type: "costmap_2d::StaticLayer"}
- {name: obstacle_layer, type: "costmap_2d::VoxelLayer"}
- {name: inflation_layer, type: "costmap_2d::InflationLayer"}




2 changes: 1 addition & 1 deletion cfg/carlike/local_costmap_params.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ local_costmap:
height: 5.5
resolution: 0.1
transform_tolerance: 0.5

plugins:
- {name: static_layer, type: "costmap_2d::StaticLayer"}
- {name: obstacle_layer, type: "costmap_2d::ObstacleLayer"}
20 changes: 10 additions & 10 deletions cfg/carlike/teb_local_planner_params.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
TebLocalPlannerROS:

odom_topic: odom

# Trajectory

teb_autosize: True
dt_ref: 0.3
dt_hysteresis: 0.1
Expand All @@ -16,9 +16,9 @@ TebLocalPlannerROS:
exact_arc_length: False
feasibility_check_no_poses: 2
publish_feedback: False

# Robot

max_vel_x: 0.4
max_vel_x_backwards: 0.2
max_vel_y: 0.0
Expand All @@ -44,29 +44,29 @@ TebLocalPlannerROS:
vertices: [ [0.25, -0.05], [0.18, -0.05], [0.18, -0.18], [-0.19, -0.18], [-0.25, 0], [-0.19, 0.18], [0.18, 0.18], [0.18, 0.05], [0.25, 0.05] ] # for type "polygon"

# GoalTolerance

xy_goal_tolerance: 0.2
yaw_goal_tolerance: 0.1
free_goal_vel: False
complete_global_plan: True

# Obstacles

min_obstacle_dist: 0.27 # This value must also include our robot's expansion, since footprint_model is set to "line".
inflation_dist: 0.6
include_costmap_obstacles: True
costmap_obstacles_behind_robot_dist: 1.0
obstacle_poses_affected: 15

dynamic_obstacle_inflation_dist: 0.6
include_dynamic_obstacles: True
include_dynamic_obstacles: True

costmap_converter_plugin: ""
costmap_converter_spin_thread: True
costmap_converter_rate: 5

# Optimization

no_inner_iterations: 5
no_outer_iterations: 4
optimization_activate: True
Expand Down Expand Up @@ -113,7 +113,7 @@ TebLocalPlannerROS:
visualize_with_time_as_z_axis_scale: False

# Recovery

shrink_horizon_backup: True
shrink_horizon_min_duration: 10
oscillation_recovery: True
Expand Down
1 change: 0 additions & 1 deletion cfg/diff_drive/costmap_common_params.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ obstacle_layer:
observation_sources: laser_scan_sensor
laser_scan_sensor: {data_type: LaserScan, topic: scan, marking: true, clearing: true}


inflation_layer:
enabled: true
cost_scaling_factor: 10.0 # exponential rate at which the obstacle cost drops off (default: 10)
Expand Down
8 changes: 3 additions & 5 deletions cfg/diff_drive/costmap_converter_params.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
###########################################################################################
## NOTE: Costmap conversion is experimental. Its purpose is to combine many point ##
## obstales into clusters, computed in a separate thread in order to improve the overall ##
## obstales into clusters, computed in a separate thread in order to improve the overall ##
## efficiency of local planning. However, the implemented conversion algorithms are in a ##
## very early stage of development. Contributions are welcome! ##
###########################################################################################

TebLocalPlannerROS:

## Costmap converter plugin
## Costmap converter plugin
#costmap_converter_plugin: "costmap_converter::CostmapToPolygonsDBSMCCH"
costmap_converter_plugin: "costmap_converter::CostmapToLinesDBSRANSAC"
#costmap_converter_plugin: "costmap_converter::CostmapToLinesDBSMCCH"
#costmap_converter_plugin: "costmap_converter::CostmapToPolygonsDBSConcaveHull"
costmap_converter_spin_thread: True
costmap_converter_rate: 5



## Configure plugins (namespace move_base/costmap_to_lines or move_base/costmap_to_polygons)
## costmap_converter/CostmapToLinesDBSRANSAC, costmap_converter/CostmapToLinesDBSMCCH, costmap_converter/CostmapToPolygonsDBSMCCH
costmap_converter/CostmapToLinesDBSRANSAC:
Expand All @@ -28,4 +27,3 @@ TebLocalPlannerROS:
ransac_convert_outlier_pts: True
ransac_filter_remaining_outlier_pts: False
convex_hull_min_pt_separation: 0.1

7 changes: 3 additions & 4 deletions cfg/diff_drive/dyn_obst/costmap_converter_params.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
###########################################################################################
## NOTE: Costmap conversion is experimental. Its purpose is to combine many point ##
## obstales into clusters, computed in a separate thread in order to improve the overall ##
## obstales into clusters, computed in a separate thread in order to improve the overall ##
## efficiency of local planning. However, the implemented conversion algorithms are in a ##
## very early stage of development. Contributions are welcome! ##
###########################################################################################

TebLocalPlannerROS:

## Costmap converter plugin
## Costmap converter plugin
costmap_converter_plugin: "costmap_converter::CostmapToDynamicObstacles"
costmap_converter_spin_thread: True
costmap_converter_rate: 5



## Configure plugins (namespace move_base/CostmapToDynamicObstacles)
costmap_converter/CostmapToDynamicObstacles:
alpha_slow: 0.3
Expand Down
6 changes: 1 addition & 5 deletions cfg/diff_drive/dyn_obst/global_costmap_params.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,9 @@ global_costmap:
update_frequency: 1.0
publish_frequency: 0.5
static_map: true

transform_tolerance: 0.5
plugins:
- {name: static_layer, type: "costmap_2d::StaticLayer"}
- {name: obstacle_layer, type: "costmap_2d::VoxelLayer"}
- {name: inflation_layer, type: "costmap_2d::InflationLayer"}




2 changes: 1 addition & 1 deletion cfg/diff_drive/dyn_obst/local_costmap_params.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ local_costmap:
height: 12
resolution: 0.1
transform_tolerance: 0.5

plugins:
- {name: static_layer, type: "costmap_2d::StaticLayer"}
- {name: obstacle_layer, type: "costmap_2d::ObstacleLayer"}
2 changes: 1 addition & 1 deletion cfg/diff_drive/dyn_obst/teb_local_planner_params.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ TebLocalPlannerROS:
selection_cost_hysteresis: 1.0
selection_obst_cost_scale: 1.0
selection_alternative_time_cost: True

roadmap_graph_no_samples: 15
roadmap_graph_area_width: 5
h_signature_prescaler: 0.5
Expand Down
6 changes: 1 addition & 5 deletions cfg/diff_drive/global_costmap_params.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,9 @@ global_costmap:
update_frequency: 1.0
publish_frequency: 0.5
static_map: true

transform_tolerance: 0.5
plugins:
- {name: static_layer, type: "costmap_2d::StaticLayer"}
- {name: obstacle_layer, type: "costmap_2d::VoxelLayer"}
- {name: inflation_layer, type: "costmap_2d::InflationLayer"}




2 changes: 1 addition & 1 deletion cfg/diff_drive/local_costmap_params.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ local_costmap:
height: 5.5
resolution: 0.1
transform_tolerance: 0.5

plugins:
- {name: static_layer, type: "costmap_2d::StaticLayer"}
- {name: obstacle_layer, type: "costmap_2d::ObstacleLayer"}
12 changes: 6 additions & 6 deletions cfg/diff_drive/teb_local_planner_params.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ TebLocalPlannerROS:
type: "point"

# GoalTolerance

xy_goal_tolerance: 0.2
yaw_goal_tolerance: 0.1
free_goal_vel: False
complete_global_plan: True

# Obstacles

min_obstacle_dist: 0.25 # This value must also include our robot radius, since footprint_model is set to "point".
inflation_dist: 0.6
include_costmap_obstacles: True
Expand All @@ -53,7 +53,7 @@ TebLocalPlannerROS:
costmap_converter_rate: 5

# Optimization

no_inner_iterations: 5
no_outer_iterations: 4
optimization_activate: True
Expand Down Expand Up @@ -85,7 +85,7 @@ TebLocalPlannerROS:
selection_prefer_initial_plan: 0.9
selection_obst_cost_scale: 100.0
selection_alternative_time_cost: False

roadmap_graph_no_samples: 15
roadmap_graph_area_width: 5
roadmap_graph_area_length_scale: 1.0
Expand All @@ -100,7 +100,7 @@ TebLocalPlannerROS:
visualize_with_time_as_z_axis_scale: False

# Recovery

shrink_horizon_backup: True
shrink_horizon_min_duration: 10
oscillation_recovery: True
Expand Down
1 change: 0 additions & 1 deletion cfg/omnidir/costmap_common_params.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ obstacle_layer:
observation_sources: laser_scan_sensor
laser_scan_sensor: {data_type: LaserScan, topic: scan, marking: true, clearing: true}


inflation_layer:
enabled: true
cost_scaling_factor: 10.0 # exponential rate at which the obstacle cost drops off (default: 10)
Expand Down
6 changes: 2 additions & 4 deletions cfg/omnidir/costmap_converter_params.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,14 @@

TebLocalPlannerROS:

## Costmap converter plugin
## Costmap converter plugin
#costmap_converter_plugin: "costmap_converter::CostmapToPolygonsDBSMCCH"
costmap_converter_plugin: "costmap_converter::CostmapToLinesDBSRANSAC"
#costmap_converter_plugin: "costmap_converter::CostmapToLinesDBSMCCH"
#costmap_converter_plugin: "costmap_converter::CostmapToPolygonsDBSConcaveHull"
costmap_converter_spin_thread: True
costmap_converter_rate: 5



## Configure plugins (namespace move_base/costmap_to_lines or move_base/costmap_to_polygons)
## costmap_converter/CostmapToLinesDBSRANSAC, costmap_converter/CostmapToLinesDBSMCCH, costmap_converter/CostmapToPolygonsDBSMCCH
costmap_converter/CostmapToLinesDBSRANSAC:
Expand All @@ -28,4 +27,3 @@ TebLocalPlannerROS:
ransac_convert_outlier_pts: True
ransac_filter_remaining_outlier_pts: False
convex_hull_min_pt_separation: 0.1

6 changes: 1 addition & 5 deletions cfg/omnidir/global_costmap_params.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,9 @@ global_costmap:
update_frequency: 1.0
publish_frequency: 0.5
static_map: true

transform_tolerance: 0.5
plugins:
- {name: static_layer, type: "costmap_2d::StaticLayer"}
- {name: obstacle_layer, type: "costmap_2d::VoxelLayer"}
- {name: inflation_layer, type: "costmap_2d::InflationLayer"}




2 changes: 1 addition & 1 deletion cfg/omnidir/local_costmap_params.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ local_costmap:
height: 5.5
resolution: 0.1
transform_tolerance: 0.5

plugins:
- {name: static_layer, type: "costmap_2d::StaticLayer"}
- {name: obstacle_layer, type: "costmap_2d::ObstacleLayer"}
20 changes: 10 additions & 10 deletions cfg/omnidir/teb_local_planner_params.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
TebLocalPlannerROS:

# Trajectory

teb_autosize: True
dt_ref: 0.3
dt_hysteresis: 0.1
Expand All @@ -14,9 +14,9 @@ TebLocalPlannerROS:
exact_arc_length: False
feasibility_check_no_poses: 5
publish_feedback: False

# Robot

max_vel_x: 0.4
max_vel_x_backwards: 0.2
max_vel_y: 0.1
Expand All @@ -30,14 +30,14 @@ TebLocalPlannerROS:
type: "point"

# GoalTolerance

xy_goal_tolerance: 0.2
yaw_goal_tolerance: 0.1
free_goal_vel: False
complete_global_plan: True

# Obstacles

min_obstacle_dist: 0.25 # This value must also include our robot radius, since footprint_model is set to "point".
inflation_dist: 0.6
include_costmap_obstacles: True
Expand All @@ -48,7 +48,7 @@ TebLocalPlannerROS:
costmap_converter_rate: 5

# Optimization

no_inner_iterations: 5
no_outer_iterations: 4
optimization_activate: True
Expand Down Expand Up @@ -82,7 +82,7 @@ TebLocalPlannerROS:
selection_prefer_initial_plan: 0.9
selection_obst_cost_scale: 1.0
selection_alternative_time_cost: False

roadmap_graph_no_samples: 15
roadmap_graph_area_width: 5
roadmap_graph_area_length_scale: 1.0
Expand All @@ -97,7 +97,7 @@ TebLocalPlannerROS:
visualize_with_time_as_z_axis_scale: False

# Recovery

shrink_horizon_backup: True
shrink_horizon_min_duration: 10
oscillation_recovery: True
Expand Down