Added simple translation behavior

This commit is contained in:
2026-03-04 19:28:49 +01:00
parent aaaf8cf495
commit cfba1f948d
7 changed files with 169 additions and 1 deletions

View File

@@ -22,7 +22,7 @@ behavior_server:
local_footprint_topic: local_costmap/published_footprint
global_footprint_topic: global_costmap/published_footprint
cycle_frequency: 50.0
behavior_plugins: ["backup", "spin", "drive_on_heading", "assisted_teleop", "wait", "rotate"]
behavior_plugins: ["backup", "spin", "drive_on_heading", "assisted_teleop", "wait", "rotate", "translateX"]
spin:
plugin: "nav2_behaviors::Spin"
backup:
@@ -37,6 +37,8 @@ behavior_server:
plugin: "toid::SimpleRotateBehavior"
max_angular_accel: 4.0
max_angular_decel: 1.0
translateX:
plugin: "toid::SimpleTranslateXBehavior"
local_frame: map
global_frame: map
robot_base_frame: base_footprint