cps_loki_bringup/config/slam.yaml

74 lines
2.5 KiB
YAML
Raw Normal View History

2023-06-07 09:44:38 +00:00
slam_toolbox:
ros__parameters:
# Plugin params
solver_plugin: solver_plugins::CeresSolver
ceres_linear_solver: SPARSE_NORMAL_CHOLESKY
ceres_preconditioner: SCHUR_JACOBI
ceres_trust_strategy: LEVENBERG_MARQUARDT
ceres_dogleg_type: TRADITIONAL_DOGLEG
ceres_loss_function: None
# ROS Parameters
odom_frame: odom
map_frame: map
2023-12-07 10:51:59 +00:00
base_frame: base_link
2023-12-11 10:11:00 +00:00
scan_topic: /scan_filtered
2023-11-24 10:34:22 +00:00
mode: mapping #localization
2023-06-07 09:44:38 +00:00
# if you'd like to immediately start continuing a map at a given pose
# or at the dock, but they are mutually exclusive, if pose is given
# will use pose
2023-11-20 09:13:22 +00:00
#map_file_name: /home/bjorn/Documents/ros-projects/cps_bot_mini_ws/my_map_serial
2023-06-07 09:44:38 +00:00
# map_start_pose: [0.0, 0.0, 0.0]
map_start_at_dock: true
debug_logging: false
throttle_scans: 1
transform_publish_period: 0.02 #if 0 never publishes odometry
2023-06-14 06:59:22 +00:00
map_update_interval: 1.0 #was 5.0
2023-06-07 09:44:38 +00:00
resolution: 0.05
2023-12-07 10:51:59 +00:00
max_laser_range: 12.0 #for rastering images, standard was 20
2023-06-07 09:44:38 +00:00
minimum_time_interval: 0.5
transform_timeout: 0.2
tf_buffer_duration: 30.
stack_size_to_use: 40000000 #// program needs a larger stack size to serialize large maps
2023-12-07 10:51:59 +00:00
enable_interactive_mode: false
2023-06-07 09:44:38 +00:00
# General Parameters
use_scan_matching: true
use_scan_barycenter: true
2023-12-07 10:51:59 +00:00
minimum_travel_distance: 0.0 # was 0.5
minimum_travel_heading: 0.0 # was 0.5
scan_buffer_size: 20 # was 10
scan_buffer_maximum_scan_distance: 12.0 # was 10.0
2023-06-07 09:44:38 +00:00
link_match_minimum_response_fine: 0.1
link_scan_maximum_distance: 1.5
loop_search_maximum_distance: 3.0
do_loop_closing: true
loop_match_minimum_chain_size: 10
loop_match_maximum_variance_coarse: 3.0
loop_match_minimum_response_coarse: 0.35
loop_match_minimum_response_fine: 0.45
# Correlation Parameters - Correlation Parameters
correlation_search_space_dimension: 0.5
correlation_search_space_resolution: 0.01
correlation_search_space_smear_deviation: 0.1
# Correlation Parameters - Loop Closure Parameters
loop_search_space_dimension: 8.0
loop_search_space_resolution: 0.05
loop_search_space_smear_deviation: 0.03
# Scan Matcher Parameters
distance_variance_penalty: 0.5
angle_variance_penalty: 1.0
fine_search_angle_offset: 0.00349
coarse_search_angle_offset: 0.349
coarse_angle_resolution: 0.0349
minimum_angle_penalty: 0.9
minimum_distance_penalty: 0.5
use_response_expansion: true