Kevin
ca61aa63b5
fix(sim): clean up interrupted runs and document usage and migration
...
Prevent ROS cleanup errors from skipping owned Gazebo process teardown.
Reject occupied master ports before launching nodes and stop the stack when
its GUI closes. Add --gui to the automatic LIO navigation checks.
Expand the root README and add a beginner guide covering manual goals,
automatic tests, restart troubleshooting, MID360 assumptions and staged
migration to real hardware. Preserve lifecycle and GUI validation evidence.
Validation: three navigation restart cycles, two busy-port rejection cases,
SIGINT/SIGHUP cleanup and a GUI straight-route check. Current source hashes,
Python syntax, documentation shell syntax and local links verified. Hardware
migration remains unverified; no push performed.
2026-11-08 22:44:02 +08:00
Kevin
664eaa81e5
feat(sim): integrate Gazebo Classic with Point-LIO and SCAN navigation
...
Import the complete field and a simplified omnidirectional robot in sim_ws.
Reuse original Point-LIO, SCAN and controller implementations with isolated
simulation profiles, timed MID360/IMU data, readiness and command guards.
Support known-corridor terrain paths, optional sensor stress profiles and
separate physics/algorithm launch processes.
Remove retired Fortress resources and operating instructions; add build,
usage, scope and durable validation documentation.
Validation: full build script; 8 adapter tests and 4 SCAN CTest targets;
8 continuous mild-noise routes; red/blue terrain 4 cases each; noise 9/9;
visibility characterization 9/9; default sensors 16/16; loss-stop and
post-build straight navigation. Real wheels/network remain unverified.
2026-11-08 19:04:32 +08:00
Kevin
764d02db4a
Merge branch 'main' of https://github.com/Keviniscoding666/RC2027_BR_code
2026-10-29 20:32:10 +08:00
Kevin
ae6042aa86
fix(minco_ws): body_height 回到 0.41——0.25 在 15° 坡上必被膨胀判碰撞
...
上一提交把 body_height 定成 0.25(与 body_pose 输出的 z 同基准)。实测场地
斜坡 15° 之后才发现这个值不够:碰撞膨胀是「xy 半径 R 内全部标记 + z 向上
z_up」,坡是斜的,前方坡面比脚下高 R·tanθ,轨迹点要避开前方坡面的膨胀顶
必须满足
h > R·tanθ + z_up = 0.62×0.268 + 0.15 = 0.316
0.25 差 0.07,坡中段必被判碰撞;0.41 余量 0.09。代价是坡上矮于 0.26 m 的
障碍漏检,这是「上坡能过」与「矮障碍灵敏」之间的折中。
改动:
- body_height 三处回到 0.41(planner_vehicle.yaml + 两个 launch);
planner_vehicle.yaml 的注释改写为这套几何推导,并写明判据与代价
- ground_height 注释换成实测推算(雷达 z=+0.064、body z=-0.164 ⇒ 地面
-0.414),值仍保持 -0.55 不变(低于地面 13.6 cm)
- reference_path.map.yaml 由仿真示例换成实车坡道:坡底 world (1.0, 0)
(车在原点、停在坡底前 1 m)、坡顶 (2.5, 0)、终点在平台 (3.0, 0),
5 点间隔 0.5 m(保证 applyLinearZReference 的线性 z 贴合坡面)
平地避障行为不变:double_cylinder_radius 0.62、inflation 0.15/0.05、
ground_height -0.55、max_vel 0.50、max_acc 0.60、控制器参数全部未动;
body_height 也只在 navi_mode=3 的参考路径上生效。
2026-10-29 20:23:05 +08:00
Kevin
6180109d27
fix(minco_ws): body_height 0.41→0.25——它是参考路径 z 抬升量,不是车体物理高度
...
body_height 全仓只有一个消费者:reference_path_utils.h:119 的
z_traj = waypoint.z(地面高度) + body_height。抬完的 z 成为轨迹 z,
也就是 getInflateOccupancy 的查询高度,必须与 body_pose 输出的 z
同基准——body_odom 给的是「地面 + 0.25」(雷达离地 0.48、offset_z -0.23)。
填物理车高 0.41 时,同一条轨迹起点 z=0.25、终点 z=0.41,两端基准
不一致,applyLinearZReference 会把这段虚假爬升铺满轨迹,碰撞检测点
整体偏高 0.16 m,坡面上 0.16 m 以内的凸起与台阶沿漏检。
改动:
- planner_vehicle.yaml:0.41→0.25,注释写清参数语义、z 基准与等价写法
- run_vehicle.launch.py / vehicle_bringup.launch.py:默认值同步 0.25
(launch 用 ParameterValue 覆盖 yaml,只改 yaml 不生效)
- reference_path.map.yaml:注释 0.4→0.25,并注明 waypoint z 必须是
world 系地面高度(实车平地约 -0.513)
实测数据:h_lidar=0.48、h_ref=0.25 ⇒ offset_z=-0.23,body_odom.yaml
原值即为 -0.23,未改。ground_height=-0.55 待现场测 z_body_static 后再定。
2026-10-27 09:29:28 +08:00
Kevin
e21f726545
docs(minco_ws): 说明仓库内 PCD/先验图均为北理工场地数据,换场地后无效
...
- SCAN_VEHICLE §7.5:逐项列出 6 个 PCD(159 MB)与 2025/2026/first_floor 栅格图的
来源、体积、引用情况;区分 SCAN 无图 / ICP 重定位 / PCT 有图三种用途
- 标注 sentry1.yaml 默认指向 rmuc2026_prior11.yaml 的风险(会在别人场地上定位)
- 补自建点云的方法:pcd_save.pcd_save_en,输出到 Point-LIO 源码目录 PCD/scans.pcd
- 修正 .gitignore 里"5 个文件 155 MB"的过时注释
2026-10-20 11:02:31 +08:00
Kevin
a2947065b3
feat(minco_ws): MID360 + Point-LIO + SCAN/MINCO 导航工作区(19 个包)
...
- scan/: SCAN 无图局部规划(6 包)+ step_blocker(台阶封堵)+ body_odom(雷达→车体中心)
- navigation/: MINCO + Nav2 有图方案;perception/: Livox 驱动 + Point-LIO + rog_map
- chassis/: R2 底盘串口桥
- docs/: QUICKSTART(上机流程)/ SCAN_VEHICLE(方案与限制)/ DEPLOY_ROBOT(双机部署)
- scripts/: setup_deps.sh(依赖体检/安装)+ deploy_to_robot.sh(rsync 同步/远程编译)
排除 build/ install/ log/、PCD 地图(155 MB,单独 rsync)。
2026-10-20 10:51:18 +08:00