全部改为用Xmake,然后精简一下文档
This commit is contained in:
1 parent
d8f1e2226d
commit
970b16f17f
34 files changed
+1903
-1133
No files matched your search
@@ -12,7 +12,7 @@
|
||||
| `footprint` | `[[0.325,0.270],[0.325,-0.270],[-0.325,-0.270],[-0.325,0.270]]` | 车体 0.578×0.521 实测 |
|
||||
| `inflation_radius` | `0.45`(默认 0.70 会把 12×8 场地填死) | 场地太小 |
|
||||
| `consider_footprint` | `true` | 与矩形 footprint 对齐,否则 MPPI 判碰撞不一致 |
|
||||
| `enable_stamped_cmd_vel` | `false`(7 个节点都关了) | 本版本默认发 TwistStamped,而 ros_gz 桥只认 Twist |
|
||||
| `enable_stamped_cmd_vel` | `false`(**8 处**:bt_navigator / controller_server / behavior_server / route_server / velocity_smoother / collision_monitor / docking_server / following_server) | 本版本默认发 TwistStamped,而 ros_gz 桥只认 Twist |
|
||||
| `default_server_timeout` / `wait_for_service_timeout` | `15000` | 本机启动慢,否则 BT 建树失败 |
|
||||
| local costmap `plugins` | 只有 `inflation_layer` | 2D 雷达会扫到车身自身,参与代价地图会把自己围死 |
|
||||
| global costmap `plugins` | `static_layer` + `inflation_layer` | 场地是静态的,用地图就够 |
|
||||
|
||||
@@ -49,16 +49,23 @@ amcl:
|
||||
|
||||
bt_navigator:
|
||||
ros__parameters:
|
||||
# 本机 DDS 发现偏慢:bond 握手 4 秒(Nav2 默认)不够,实测偶发
|
||||
# "Server xxx was unable to be reached after 4.00s by bond" 导致 bringup 中止。
|
||||
bond_timeout: 30.0
|
||||
enable_stamped_cmd_vel: false
|
||||
global_frame: map
|
||||
robot_base_frame: base_link
|
||||
odom_topic: odom
|
||||
bt_loop_duration: 10
|
||||
filter_duration: 0.3
|
||||
# 本机激活较慢:放宽动作服务等待,避免 bringup 期间 BT 建树失败
|
||||
default_server_timeout: 15000
|
||||
# 本机激活较慢:放宽动作服务等待,避免 bringup 期间 BT 建树失败。
|
||||
# 15000 不够 —— 实测 planner_server 已 active 且 bond 已连,bt_navigator 的
|
||||
# navigate_to_pose_rclcpp_node 仍然 15 秒内等不到 is_path_valid 服务,
|
||||
# 直接 Exception when creating BT tree → bringup 中止。
|
||||
# 这台机器在 Gazebo 满载时 DDS 服务发现要几十秒,放宽到 60 秒。
|
||||
default_server_timeout: 60000
|
||||
default_cancel_timeout: 50
|
||||
wait_for_service_timeout: 15000
|
||||
wait_for_service_timeout: 60000
|
||||
introspection_mode: "disabled"
|
||||
navigators: ["navigate_to_pose", "navigate_through_poses"]
|
||||
navigate_to_pose:
|
||||
@@ -100,6 +107,9 @@ bt_navigator:
|
||||
|
||||
controller_server:
|
||||
ros__parameters:
|
||||
# 本机 DDS 发现偏慢:bond 握手 4 秒(Nav2 默认)不够,实测偶发
|
||||
# "Server xxx was unable to be reached after 4.00s by bond" 导致 bringup 中止。
|
||||
bond_timeout: 30.0
|
||||
enable_stamped_cmd_vel: false # 用普通 Twist(ros_gz 桥只认 Twist)
|
||||
controller_frequency: 20.0
|
||||
costmap_update_timeout: 0.30
|
||||
@@ -391,6 +401,9 @@ map_saver:
|
||||
|
||||
planner_server:
|
||||
ros__parameters:
|
||||
# 本机 DDS 发现偏慢:bond 握手 4 秒(Nav2 默认)不够,实测偶发
|
||||
# "Server xxx was unable to be reached after 4.00s by bond" 导致 bringup 中止。
|
||||
bond_timeout: 30.0
|
||||
allow_partial_planning: false
|
||||
expected_planner_frequency: 20.0
|
||||
planner_plugins: ["GridBased"]
|
||||
@@ -405,6 +418,9 @@ planner_server:
|
||||
|
||||
smoother_server:
|
||||
ros__parameters:
|
||||
# 本机 DDS 发现偏慢:bond 握手 4 秒(Nav2 默认)不够,实测偶发
|
||||
# "Server xxx was unable to be reached after 4.00s by bond" 导致 bringup 中止。
|
||||
bond_timeout: 30.0
|
||||
smoother_plugins: ["simple_smoother", "route_smoother"]
|
||||
simple_smoother:
|
||||
plugin: "nav2_smoother::SimpleSmoother"
|
||||
@@ -425,6 +441,9 @@ smoother_server:
|
||||
|
||||
behavior_server:
|
||||
ros__parameters:
|
||||
# 本机 DDS 发现偏慢:bond 握手 4 秒(Nav2 默认)不够,实测偶发
|
||||
# "Server xxx was unable to be reached after 4.00s by bond" 导致 bringup 中止。
|
||||
bond_timeout: 30.0
|
||||
enable_stamped_cmd_vel: false # 用普通 Twist(ros_gz 桥只认 Twist)
|
||||
local_costmap_topic: local_costmap/costmap_raw
|
||||
global_costmap_topic: global_costmap/costmap_raw
|
||||
@@ -460,6 +479,9 @@ behavior_server:
|
||||
|
||||
waypoint_follower:
|
||||
ros__parameters:
|
||||
# 本机 DDS 发现偏慢:bond 握手 4 秒(Nav2 默认)不够,实测偶发
|
||||
# "Server xxx was unable to be reached after 4.00s by bond" 导致 bringup 中止。
|
||||
bond_timeout: 30.0
|
||||
loop_rate: 20
|
||||
stop_on_failure: false
|
||||
introspection_mode: "disabled"
|
||||
@@ -495,6 +517,9 @@ route_server:
|
||||
|
||||
velocity_smoother:
|
||||
ros__parameters:
|
||||
# 本机 DDS 发现偏慢:bond 握手 4 秒(Nav2 默认)不够,实测偶发
|
||||
# "Server xxx was unable to be reached after 4.00s by bond" 导致 bringup 中止。
|
||||
bond_timeout: 30.0
|
||||
enable_stamped_cmd_vel: false # 用普通 Twist(ros_gz 桥只认 Twist)
|
||||
smoothing_frequency: 20.0
|
||||
scale_velocities: false
|
||||
@@ -510,6 +535,9 @@ velocity_smoother:
|
||||
|
||||
collision_monitor:
|
||||
ros__parameters:
|
||||
# 本机 DDS 发现偏慢:bond 握手 4 秒(Nav2 默认)不够,实测偶发
|
||||
# "Server xxx was unable to be reached after 4.00s by bond" 导致 bringup 中止。
|
||||
bond_timeout: 30.0
|
||||
enable_stamped_cmd_vel: false # 用普通 Twist(ros_gz 桥只认 Twist)
|
||||
enabled: true
|
||||
base_frame_id: "base_link"
|
||||
@@ -543,6 +571,9 @@ collision_monitor:
|
||||
|
||||
docking_server:
|
||||
ros__parameters:
|
||||
# 本机 DDS 发现偏慢:bond 握手 4 秒(Nav2 默认)不够,实测偶发
|
||||
# "Server xxx was unable to be reached after 4.00s by bond" 导致 bringup 中止。
|
||||
bond_timeout: 30.0
|
||||
enable_stamped_cmd_vel: false
|
||||
controller_frequency: 50.0
|
||||
initial_perception_timeout: 5.0
|
||||
@@ -613,4 +644,7 @@ loopback_simulator:
|
||||
# 本工程补充:following_server 默认会发 TwistStamped,和 ros_gz 桥的 Twist 冲突
|
||||
following_server:
|
||||
ros__parameters:
|
||||
# 本机 DDS 发现偏慢:bond 握手 4 秒(Nav2 默认)不够,实测偶发
|
||||
# "Server xxx was unable to be reached after 4.00s by bond" 导致 bringup 中止。
|
||||
bond_timeout: 30.0
|
||||
enable_stamped_cmd_vel: false
|
||||
Reference in new issue
Block a user