-
Notifications
You must be signed in to change notification settings - Fork 21
优化Carla-air文档:补充小白友好说明,略微调整结构,补充操作指南。 #35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
shenxian-6
wants to merge
1
commit into
OpenHUTB:master
Choose a base branch
from
shenxian-6:patch-1
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+15
−15
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -24,17 +24,17 @@ https://github.com/louiszengCN/CarlaAir/commit/6f913ae9efc512b8ceff6bbd82f8c0049 | |
|
|
||
| ## ✨ 核心亮点 <span id="highlights"></span> | ||
|
|
||
| | | | | ||
| |---|---| | ||
| | 🏗️ **单进程组合式集成** | `CARLAAirGameMode` 继承 Carla 并组合 AirSim。仅修改上游 2 个文件(约 35 行)。无桥接,无延迟。 | | ||
| | 🎯 **绝对坐标对齐** | Carla(左手系)与 AirSim(北东地,NED)坐标系之间精确 `0.0000 m` 误差。 | | ||
| | 📸 **多达 18 种传感器模态** | RGB、深度图、语义分割、实例分割、LiDAR、雷达、表面法线、IMU、GNSS、气压计 -- 空地传感器逐帧对齐。 | | ||
| | 🔄 **零修改代码迁移** | 现有 Carla 和 AirSim Python 脚本及 ROS 2 节点可直接在 Carla-Air 上运行,无需任何代码改动。89/89 Carla API 测试全部通过。 | | ||
| | ⚡ **联合负载约 20 FPS** | 中等联合配置(车辆 + 无人机 + 8 个传感器)稳定运行在 19.8 +/- 1.1 FPS。通信开销 < 0.5 ms(对比桥接联合仿真的 1--5 ms)。 | | ||
| | 🛡️ **3 小时稳定性验证** | 357 次生成/销毁循环,零崩溃,零内存累积(R² = 0.11)。 | | ||
| | 🚁 **内置 FPS 无人机控制** | 在视口中使用 WASD + 鼠标直接驾驶无人机 -- 无需编写 Python 脚本。 | | ||
| | 🚦 **逼真城市交通** | 规则驱动的交通流、具有社会行为的行人、13 张城市地图。 | | ||
| | 🧩 **可扩展资产导入管线** | 支持导入自定义机器人平台、无人机配置、车辆模型和环境地图。 | | ||
| |亮点|技术说明|说白了| | ||
| |---|---|---| | ||
| | 🏗️ **单进程组合式集成** | `CARLAAirGameMode` 继承 Carla 并组合 AirSim。仅修改上游 2 个文件(约 35 行)。无桥接,无延迟。 |不用复杂通信,一个程序就能同时跑汽车和无人机,延迟几乎为0,新手部署也容易。| | ||
| | 🎯 **绝对坐标对齐** | Carla(左手系)与 AirSim(北东地,NED)坐标系之间精确 `0.0000 m` 误差。 |车和无人机在同一个真实世界坐标里,不会出现车和无人机错位的情况。| | ||
| | 📸 **多达 18 种传感器模态** | RGB、深度图、语义分割、实例分割、LiDAR、雷达、表面法线、IMU、GNSS、气压计 -- 空地传感器逐帧对齐。 |能同时获取车和无人机的18种传感器数据,做AI训练、仿真实验数据全,满足课程作业需求。| | ||
| | 🔄 **零修改代码迁移** | 现有 Carla 和 AirSim Python 脚本及 ROS 2 节点可直接在 Carla-Air 上运行,无需任何代码改动。89/89 Carla API 测试全部通过。 |如果之前学的Carla/AirSim代码直接就能用,不用重新学,上手零成本,兼容性高。| | ||
| | ⚡ **联合负载约 20 FPS** | 中等联合配置(车辆 + 无人机 + 8 个传感器)稳定运行在 19.8 +/- 1.1 FPS。通信开销 < 0.5 ms(对比桥接联合仿真的 1--5 ms)。 |普通电脑也能流畅跑,做课程实验、写大作业完全够用,不会卡顿。| | ||
| | 🛡️ **3 小时稳定性验证** | 357 次生成/销毁循环,零崩溃,零内存累积(R² = 0.11)。 |平台稳定性强,长时间跑仿真、做实验不会崩溃,数据不会丢失。| | ||
| | 🚁 **内置 FPS 无人机控制** | 在视口中使用 WASD + 鼠标直接驾驶无人机 -- 无需编写 Python 脚本。 |不用写代码,键盘鼠标就能直接操控无人机,新手零门槛上手。| | ||
| | 🚦 **逼真城市交通** | 规则驱动的交通流、具有社会行为的行人、13 张城市地图。 |仿真环境高度还原,真实城市,有红绿灯、行人、车流,做场景实验更真实。| | ||
| | 🧩 **可扩展资产导入管线** | 支持导入自定义机器人平台、无人机配置、车辆模型和环境地图。 |可以自己加新的机器人、无人机、车辆模型,做个性化实验,扩展性强。| | ||
|
|
||
|  | ||
|
|
||
|
|
@@ -305,10 +305,10 @@ CARLA-Air 旨在支持空地一体具身智能的四大研究方向: | |
| | `Mouse` | 偏航转向 | | ||
| | `Scroll` | 调节速度 | | ||
| | `N` | 切换天气 | | ||
| | `P` | 碰撞模式切换 | | ||
| | `H` | 帮助菜单 | | ||
| | `Tab` | 释放 / 捕获鼠标 | | ||
| | `1` / `2` / `3` | 传感器画面 | | ||
| | `P` | 碰撞模式切换(开启或关闭无人机碰撞检测) | | ||
| | `H` | 帮助菜单(忘记按键直接调出所有操作说明) | | ||
| | `Tab` | 释放 / 捕获鼠标(按tab切出鼠标,操作其他窗口) | | ||
| | `1` / `2` / `3` | 传感器画面(一键切换车/无人机/多传感器分屏画面) | | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 优化时需要操作验证,这个有些地方是错的,比如这个地方,3个按键分别是不同传感器(可以细化说明是什么传感器) |
||
|
|
||
| --- | ||
|
|
||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
和技术说明有点重复了,可以完善技术说明就行,而且目前加的明显吹过头了