3030 save_pose_rate : 0.5
3131 sigma_hit : 0.2
3232 tf_broadcast : true
33- transform_tolerance : 1 .0
33+ transform_tolerance : 2 .0
3434 update_min_a : 0.2
3535 update_min_d : 0.25
3636 z_hit : 0.5
@@ -47,6 +47,7 @@ amcl_rclcpp_node:
4747 ros__parameters :
4848 use_sim_time : True
4949
50+
5051bt_navigator :
5152 ros__parameters :
5253 use_sim_time : True
@@ -62,6 +63,9 @@ bt_navigator:
6263 # nav2_bt_navigator/navigate_to_pose_w_replanning_and_recovery.xml
6364 # nav2_bt_navigator/navigate_through_poses_w_replanning_and_recovery.xml
6465 # They can be set here or via a RewrittenYaml remap from a parent launch file to Nav2.
66+ #
67+ # Note: Not quite correct, params that are not mentioned can not be substituted!
68+ plugin_lib_names :
6569 plugin_lib_names :
6670 - nav2_compute_path_to_pose_action_bt_node
6771 - nav2_compute_path_through_poses_action_bt_node
@@ -107,35 +111,33 @@ controller_server:
107111 min_x_velocity_threshold : 0.001
108112 min_y_velocity_threshold : 0.5
109113 min_theta_velocity_threshold : 0.001
114+ failure_tolerance : 0.1
115+ # speed_limit_topic : "speed_limit"
110116 progress_checker_plugin : " progress_checker"
111- goal_checker_plugin : " goal_checker"
117+ goal_checker_plugins : [ "goal_checker"]
112118 controller_plugins : ["FollowPath"]
113119
114120 # Progress checker parameters
115121 progress_checker :
116122 plugin : " nav2_controller::SimpleProgressChecker"
117123 required_movement_radius : 0.5
118124 movement_time_allowance : 10.0
119- # Goal checker parameters
120125 goal_checker :
121126 plugin : " nav2_controller::SimpleGoalChecker"
122127 xy_goal_tolerance : 0.25
123- yaw_goal_tolerance : 0.25
128+ yaw_goal_tolerance : 0.15
124129 stateful : True
125- # DWB parameters
126130 FollowPath :
127131 plugin : " dwb_core::DWBLocalPlanner"
128132 debug_trajectory_details : True
129133 min_vel_x : 0.0
130134 min_vel_y : 0.0
131- max_vel_x : 0.26
135+ max_vel_x : 2.5
132136 max_vel_y : 0.0
133137 max_vel_theta : 1.0
134138 min_speed_xy : 0.0
135- max_speed_xy : 0.26
139+ max_speed_xy : 2.5
136140 min_speed_theta : 0.0
137- # Add high threshold velocity for turtlebot 3 issue.
138- # https://github.com/ROBOTIS-GIT/turtlebot3_simulations/issues/75
139141 acc_lim_x : 2.5
140142 acc_lim_y : 0.0
141143 acc_lim_theta : 3.2
@@ -153,26 +155,27 @@ controller_server:
153155 trans_stopped_velocity : 0.25
154156 short_circuit_trajectory_evaluation : True
155157 stateful : True
156- critics : ["RotateToGoal", "Oscillation", "BaseObstacle", "GoalAlign", "PathAlign", "PathDist", "GoalDist"]
158+ critics : ["RotateToGoal", "Oscillation", "BaseObstacle", "GoalAlign", "PathAlign", "PathDist", "GoalDist", "ObstacleFootprint" ]
157159 BaseObstacle.scale : 0.02
158- PathAlign.scale : 32.0
159- PathAlign.forward_point_distance : 0.1
160- GoalAlign.scale : 24.0
161160 GoalAlign.forward_point_distance : 0.1
161+ GoalAlign.scale : 24.0
162+ PathAlign.scale : 32.0
163+ PathAlign.forward_point_distance : 0.325
162164 PathDist.scale : 32.0
163165 GoalDist.scale : 24.0
164- RotateToGoal.scale : 32.0
165- RotateToGoal.slowing_factor : 5.0
166+ RotateToGoal.scale : 24.0
167+ RotateToGoal.xy_goal_tolerance : 0.25
168+ RotateToGoal.slowing_factor : 2.0
166169 RotateToGoal.lookahead_time : -1.0
167-
170+
168171controller_server_rclcpp_node :
169172 ros__parameters :
170173 use_sim_time : True
171174
172175local_costmap :
173176 local_costmap :
174177 ros__parameters :
175- update_frequency : 10 .0
178+ update_frequency : 5 .0
176179 publish_frequency : 2.0
177180 global_frame : odom
178181 robot_base_frame : base_link
@@ -181,12 +184,15 @@ local_costmap:
181184 width : 3
182185 height : 3
183186 resolution : 0.05
184- robot_radius : 0.5
187+ # offset: front / back from base_link
188+ # footprint: '[ [front, width/2], [back, width/2], [-back, -width/2], [front, -width/2] ]'
189+ footprint : ' [ [0.5, 0.25], [-0.4, 0.25], [-0.4, -0.25], [0.5, -0.25] ]'
190+ footprint_padding : 0.01
185191 plugins : ["voxel_layer", "inflation_layer"]
186192 inflation_layer :
187193 plugin : " nav2_costmap_2d::InflationLayer"
194+ inflation_radius : 0.55
188195 cost_scaling_factor : 3.0
189- inflation_radius : 0.8
190196 voxel_layer :
191197 plugin : " nav2_costmap_2d::VoxelLayer"
192198 enabled : True
@@ -203,6 +209,11 @@ local_costmap:
203209 clearing : True
204210 marking : True
205211 data_type : " LaserScan"
212+ raytrace_max_range : 3.0
213+ raytrace_min_range : 0.0
214+ obstacle_max_range : 2.5
215+ obstacle_min_range : 0.0
216+ expected_update_rate : 0.0
206217 static_layer :
207218 map_subscribe_transient_local : True
208219 always_send_full_costmap : True
@@ -221,27 +232,41 @@ global_costmap:
221232 global_frame : map
222233 robot_base_frame : base_link
223234 use_sim_time : True
224- robot_radius : 0.5
225- resolution : 0.05
235+ # offset: front / back from base_link
236+ # footprint: '[ [front, width/2], [back, width/2], [-back, -width/2], [front, -width/2] ]'
237+ footprint : ' [ [0.5, 0.25], [-0.4, 0.25], [-0.4, -0.25], [0.5, -0.25] ]'
238+ footprint_padding : 0.01
226239 track_unknown_space : true
227240 plugins : ["static_layer", "obstacle_layer", "inflation_layer"]
228241 obstacle_layer :
229242 plugin : " nav2_costmap_2d::ObstacleLayer"
230243 enabled : True
231244 observation_sources : scan
245+ footprint_clearing_enabled : true
246+ max_obstacle_height : 2.0
247+ combination_method : 1
232248 scan :
233249 topic : /scan
250+ obstacle_max_range : 2.5
251+ obstacle_min_range : 0.0
252+ raytrace_max_range : 3.0
253+ raytrace_min_range : 0.0
234254 max_obstacle_height : 2.0
255+ min_obstacle_height : 0.0
235256 clearing : True
236257 marking : True
237258 data_type : " LaserScan"
259+ inf_is_valid : false
238260 static_layer :
239261 plugin : " nav2_costmap_2d::StaticLayer"
240262 map_subscribe_transient_local : True
241263 inflation_layer :
242264 plugin : " nav2_costmap_2d::InflationLayer"
265+ enabled : true
266+ inflation_radius : 0.55
243267 cost_scaling_factor : 3.0
244- inflation_radius : 0.8
268+ inflate_unknown : false
269+ inflate_around_unknown : true
245270 always_send_full_costmap : True
246271 global_costmap_client :
247272 ros__parameters :
@@ -258,10 +283,10 @@ map_server:
258283map_saver :
259284 ros__parameters :
260285 use_sim_time : True
261- save_map_timeout : 5000
286+ save_map_timeout : 5.0
262287 free_thresh_default : 0.25
263288 occupied_thresh_default : 0.65
264- map_subscribe_transient_local : False
289+ map_subscribe_transient_local : True
265290
266291planner_server :
267292 ros__parameters :
@@ -271,7 +296,7 @@ planner_server:
271296 GridBased :
272297 plugin : " nav2_navfn_planner/NavfnPlanner"
273298 tolerance : 0.5
274- use_astar : false
299+ use_astar : true
275300 allow_unknown : true
276301
277302planner_server_rclcpp_node :
0 commit comments