@@ -90,7 +90,7 @@ controller_server:
90
90
progress_checker_plugin : " progress_checker"
91
91
current_goal_checker : " percise_goal_checker"
92
92
goal_checker_plugins : ["percise_goal_checker"]
93
- controller_plugins : ["FollowPath", "DockMission", "MPPI"]
93
+ controller_plugins : ["FollowPath", "DockMission", "Graceful", " MPPI"]
94
94
95
95
# Progress checker parameters
96
96
progress_checker :
@@ -128,6 +128,25 @@ controller_server:
128
128
use_fixed_curvature_lookahead : false
129
129
curvature_lookahead_dist : 0.25
130
130
131
+ Graceful :
132
+ plugin : nav2_graceful_controller::GracefulController
133
+ transform_tolerance : 0.1
134
+ min_lookahead : 0.25
135
+ max_lookahead : 1.0
136
+ initial_rotation : true
137
+ initial_rotation_threshold : 0.75
138
+ prefer_final_rotation : true
139
+ allow_backward : false
140
+ k_phi : 2.0
141
+ k_delta : 1.0
142
+ beta : 0.4
143
+ lambda : 2.0
144
+ v_linear_min : 0.1
145
+ v_linear_max : 0.5
146
+ v_angular_max : 5.0
147
+ v_angular_min_in_place : 0.25
148
+ slowdown_radius : 1.5
149
+
131
150
MPPI :
132
151
plugin : " nav2_mppi_controller::MPPIController"
133
152
time_steps : 56
@@ -306,8 +325,8 @@ global_costmap:
306
325
map_subscribe_transient_local : True
307
326
inflation_layer :
308
327
plugin : " nav2_costmap_2d::InflationLayer"
309
- cost_scaling_factor : 7 .0
310
- inflation_radius : 0.1
328
+ cost_scaling_factor : 5 .0
329
+ inflation_radius : 0.15
311
330
rival_layer :
312
331
plugin : " custom_path_costmap_plugin::RivalLayer"
313
332
enabled : True
@@ -363,7 +382,6 @@ planner_server:
363
382
smoother_server :
364
383
ros__parameters :
365
384
use_sim_time : False
366
- # smoother_plugins: [""]
367
385
smoother_plugins : ["simple_smoother"]
368
386
simple_smoother :
369
387
plugin : " nav2_smoother::SimpleSmoother"
@@ -421,11 +439,62 @@ velocity_smoother:
421
439
smoothing_frequency : 20.0
422
440
scale_velocities : False
423
441
feedback : " OPEN_LOOP"
424
- max_velocity : [0.5, 0.5 , 0.75]
425
- min_velocity : [-0.5 , -0.5 , -0.75]
442
+ max_velocity : [1.0, 1.0 , 0.75]
443
+ min_velocity : [-1.0 , -1.0 , -0.75]
426
444
max_accel : [1.0, 1.0, 3.0]
427
445
max_decel : [-1.0, -1.0, -3.0]
428
446
odom_topic : " odom"
429
447
odom_duration : 0.1
430
448
deadband_velocity : [0.0, 0.0, 0.0]
431
- velocity_timeout : 1.0
449
+ velocity_timeout : 0.1 # must be less than velocity_smoother_wait in docking_server
450
+
451
+ docking_server :
452
+ ros__parameters :
453
+ controller_frequency : 20.0
454
+ initial_perception_timeout : 5.0
455
+ wait_charge_timeout : 5.0
456
+ dock_approach_timeout : 30.0
457
+ max_retries : 3
458
+ base_frame : " base_link"
459
+ fixed_frame : " map"
460
+ dock_backwards : false
461
+ dock_prestaging_tolerance : 0.02
462
+ velocity_smoother_wait : 0.12
463
+
464
+ # Types of docks
465
+ dock_plugins : ['mission_dock']
466
+ mission_dock :
467
+ plugin : ' opennav_docking::SimpleChargingDock'
468
+ docking_threshold : 0.01
469
+ staging_x_offset : 0.35
470
+ staging_y_offset : 0.0
471
+ staging_yaw_offset : 0.0
472
+ use_battery_status : false
473
+ use_stall_detection : false
474
+
475
+ external_detection_timeout : 1.0
476
+ external_detection_translation_x : 0.0
477
+ external_detection_translation_y : 0.0
478
+ external_detection_rotation_roll : 0.0
479
+ external_detection_rotation_pitch : 0.0
480
+ external_detection_rotation_yaw : 0.0
481
+ filter_coef : 0.1
482
+
483
+ docks : ['home_dock', 'flex_dock1', 'flex_dock2']
484
+ home_dock :
485
+ type : ' mission_dock'
486
+ frame : map
487
+ pose : [0.0, 0.0, 0.0]
488
+ flex_dock1 :
489
+ type : ' mission_dock'
490
+ frame : map
491
+ pose : [2.2, 1.4, 0.0]
492
+ flex_dock2 :
493
+ type : ' mission_dock'
494
+ frame : map
495
+ pose : [1.5, 1.0, 0.0]
496
+
497
+ # dock_database: /my/path/to/dock_database.yaml
498
+
499
+ controller :
500
+ max_linear_vel : 0.5
0 commit comments