完善双雷达仿真与自动上坡任务,更新使用文档

加入下置 MID360 前向补盲与双雷达融合,修复北侧走廊导航、坐标适配和数据时效处理。

实现接近坡脚、姿态辅助上坡与平台停车任务,增加独立快模式、命令仲裁及失效停车保护,保留测试与分阶段验收记录。

同步实车尺寸及雷达安装参数,调整 Gazebo 红方默认视角,完善根目录 README、仿真使用和实车迁移说明。
This commit is contained in:
2026-11-12 16:42:07 +08:00
parent cac93cae11
commit 6f1d837b46
95 changed files with 13667 additions and 244 deletions
+3 -2
View File
@@ -71,7 +71,8 @@ class NavProbe(Probe):
return req.xml
def run_goal(p, name, x, y, yaw, timeout=55., obstacle=False, goal_z=None, settle_timeout=0., sample_hook=None):
def run_goal(p, name, x, y, yaw, timeout=55., obstacle=False, goal_z=None, settle_timeout=0., sample_hook=None, sample_interval=.1):
if not 0<sample_interval<=.1:raise ValueError('sample_interval must be in (0,.1]')
first = p.get_state()
old_id = p.status[-1].goal_id if p.status else 0
start_cmd = len(p.commands)
@@ -85,7 +86,7 @@ def run_goal(p, name, x, y, yaw, timeout=55., obstacle=False, goal_z=None, settl
t0, wall_end = p.now(), time.monotonic()+300
samples = []
while p.now()-t0 < timeout and time.monotonic() < wall_end:
p.pump(.1)
p.pump(sample_interval)
truth = p.get_state()
if truth is None:
raise RuntimeError('missing independent Gazebo truth')