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

加入下置 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
+2 -2
View File
@@ -69,7 +69,7 @@ def check_phase(probe, out, yaw):
pr, pw = pr[good], pw[good]
c, sn = math.cos(truth['yaw']), math.sin(truth['yaw'])
R = np.array([[c, -sn, 0], [sn, c, 0], [0, 0, 1]])
expected = (pr + [0, 0, .30]) @ R.T + truth['pos']
expected = (pr + [.015, 0, .33]) @ R.T + truth['pos']
error = float(np.max(np.linalg.norm(expected - pw, axis=1)))
floor = int(np.count_nonzero(np.abs(pw[:, 2]) < .005))
north = int(np.count_nonzero((np.abs(pw[:, 1]-5.5) < .005) & (pw[:, 2] >= -.005)
@@ -90,7 +90,7 @@ def check_phase(probe, out, yaw):
west_wall_correct=west > 2,
odom_frames=body.header.frame_id == 'world' and body.child_frame_id == 'base_link'
and sensor.header.frame_id == 'world' and sensor.child_frame_id == 'lidar',
sensor_mount=abs(shift-.30) < .001)
sensor_mount=abs(shift-.33) < .001)
np.savez_compressed(out / ('cloud_yaw_%d.npz' % round(yaw*180/math.pi)),
raw=pr, world=pw, expected=expected)
return dict(yaw=yaw, checks=checks, ok=all(checks.values()), settle=settle,