From 8a412643caae07bef216c046bc9ac5b1a11c1ede Mon Sep 17 00:00:00 2001 From: walunt5 Date: Thu, 29 Oct 2026 21:41:33 +0800 Subject: [PATCH] =?UTF-8?q?feat(rviz):=20=E6=96=B0=E5=A2=9E=E6=9C=AA?= =?UTF-8?q?=E8=86=A8=E8=83=80=E9=9A=9C=E7=A2=8D=E5=9B=BE=E5=B1=82=EF=BC=8C?= =?UTF-8?q?=E5=8C=BA=E5=88=86=E3=80=8C=E9=9A=9C=E7=A2=8D=E5=BD=A2=E7=8A=B6?= =?UTF-8?q?=E3=80=8D=E4=B8=8E=E3=80=8C=E8=BD=A6=E4=B8=AD=E5=BF=83=E7=A6=81?= =?UTF-8?q?=E5=8C=BA=E3=80=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit occupancy_inflate 里的体素半径 = 膨胀半径 = 车的等效半径,它表达的是 「机器人**中心**的禁入区」,天然比障碍粗一大圈(粗多少 = 膨胀半径)。 容易误读成「障碍被放大了」,进而误以为膨胀参数设错而去调小它——那会直接导致撞障。 新增 Occupancy (raw) 图层(绿色、Boxes)显示 /grid_map/occupancy, 即障碍原样,用于判断障碍在哪、多大。两个图层配合使用: raw → 障碍形状 inflate → 车能不能过(两块之间有无空隙) --- .../src/scan/plan_manage/rviz/vehicle.rviz | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/minco_ws/src/scan/plan_manage/rviz/vehicle.rviz b/minco_ws/src/scan/plan_manage/rviz/vehicle.rviz index 6dc86ee..6481665 100644 --- a/minco_ws/src/scan/plan_manage/rviz/vehicle.rviz +++ b/minco_ws/src/scan/plan_manage/rviz/vehicle.rviz @@ -120,6 +120,40 @@ Visualization Manager: Use Fixed Frame: true Use rainbow: true Value: true + - Alpha: 1 + Autocompute Intensity Bounds: true + Autocompute Value Bounds: + Max Value: 10 + Min Value: -10 + Value: true + Axis: Z + Channel Name: intensity + Class: rviz_default_plugins/PointCloud2 + Color: 0; 255; 0 + Color Transformer: FlatColor + Decay Time: 0 + Enabled: true + Invert Rainbow: false + Max Color: 0; 255; 0 + Max Intensity: 4096 + Min Color: 0; 0; 0 + Min Intensity: 0 + Name: Occupancy (raw) + Position Transformer: XYZ + Selectable: true + Size (Pixels): 3 + Size (m): 0.05000000074505806 + Style: Boxes + Topic: + Depth: 5 + Durability Policy: Volatile + Filter size: 10 + History Policy: Keep Last + Reliability Policy: Best Effort + Value: /grid_map/occupancy + Use Fixed Frame: true + Use rainbow: true + Value: true - Alpha: 1 Autocompute Intensity Bounds: true Autocompute Value Bounds: