diff --git a/src/gc_navigation2_slamtoolbox/config/nav_through_poses_ackermann.xml b/src/gc_navigation2_slamtoolbox/config/nav_through_poses_ackermann.xml
new file mode 100644
index 0000000..30531ad
--- /dev/null
+++ b/src/gc_navigation2_slamtoolbox/config/nav_through_poses_ackermann.xml
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/gc_navigation2_slamtoolbox/config/nav_to_pose_ackermann.xml b/src/gc_navigation2_slamtoolbox/config/nav_to_pose_ackermann.xml
index 5b2cc52..8746cd1 100644
--- a/src/gc_navigation2_slamtoolbox/config/nav_to_pose_ackermann.xml
+++ b/src/gc_navigation2_slamtoolbox/config/nav_to_pose_ackermann.xml
@@ -1,16 +1,14 @@
-
-
-
-
+
@@ -20,15 +18,7 @@
-
-
-
-
-
-
-
-
diff --git a/src/gc_navigation2_slamtoolbox/params/gc_navigation_slam.yaml b/src/gc_navigation2_slamtoolbox/params/gc_navigation_slam.yaml
index 4d4e494..1b9ce2c 100644
--- a/src/gc_navigation2_slamtoolbox/params/gc_navigation_slam.yaml
+++ b/src/gc_navigation2_slamtoolbox/params/gc_navigation_slam.yaml
@@ -10,6 +10,7 @@ bt_navigator:
bt_loop_duration: 50
default_server_timeout: 20
default_nav_to_pose_bt_xml: /home/sunrise/yiliao_ws/install/gc_navigation2_slamtoolbox/share/gc_navigation2_slamtoolbox/config/nav_to_pose_ackermann.xml
+ default_nav_through_poses_bt_xml: /home/sunrise/yiliao_ws/install/gc_navigation2_slamtoolbox/share/gc_navigation2_slamtoolbox/config/nav_through_poses_ackermann.xml
plugin_lib_names:
- nav2_compute_path_to_pose_action_bt_node
- nav2_compute_path_through_poses_action_bt_node
@@ -82,11 +83,11 @@ controller_server:
cost_scaling_gain: 1.0
regulated_linear_scaling_min_radius: 0.35
regulated_linear_scaling_min_speed: 0.1
- use_rotate_to_heading: True
+ use_rotate_to_heading: False
rotate_to_heading_min_angle: 0.5
max_robot_pose_search_dist: 10.0
use_interpolation: False
- allow_reversing: False
+ allow_reversing: True
controller_server_rclcpp_node:
ros__parameters:
use_sim_time: False
@@ -110,7 +111,7 @@ local_costmap:
- inflation_layer
inflation_layer:
plugin: nav2_costmap_2d::InflationLayer
- cost_scaling_factor: 3.0
+ cost_scaling_factor: 5.0
inflation_radius: 0.3
voxel_layer:
plugin: nav2_costmap_2d::VoxelLayer
@@ -177,7 +178,7 @@ global_costmap:
map_subscribe_transient_local: True
inflation_layer:
plugin: nav2_costmap_2d::InflationLayer
- cost_scaling_factor: 3.0
+ cost_scaling_factor: 5.0
inflation_radius: 0.3
always_send_full_costmap: True
global_costmap_client:
@@ -247,18 +248,11 @@ behavior_server:
footprint_topic: local_costmap/published_footprint
cycle_frequency: 10.0
behavior_plugins:
- - spin
- backup
- - wait
- spin:
- plugin: nav2_behaviors/Spin
backup:
plugin: nav2_behaviors/BackUp
backup_dist: 0.8
backup_speed: 0.18
- wait:
- plugin: nav2_behaviors/Wait
- wait_duration: 0.5
global_frame: odom
robot_base_frame: base_link
transform_tolerance: 2.0