Repository navigation
同步屋顶光伏项目最终实现与中文文档到 master - #5
Merged
Merged
Conversation
…#614) * Add files via upload feat(ground): 新增 twist_to_control 包,把 Twist 速度指令转换为车辆转向角与轮速 * Update mkdocs.yml * Add files via upload docs: 首页同步上游最新版本,移除过时的单行改动 * Add files via upload test: 移除针对上传目录的布局断言,并让 pytest 每种分组真正断言 * Add files via upload docs: 首页同步上游最新版本,移除过时的单行改动 * Add files via upload docs: mkdocs.yml 同步上游最新版本并保留「扭转控制」导航条目
…lization feat(ground): 新增基于 2D 激光雷达的蒙特卡洛定位(MCL)模块
1. main.launch 引用的 car_two_cam.urdf.xacro 改为实际文件 car_cam.xacro;2. 清理 docs/ground/web_remote_car.md 未解决的 git 冲突标记;3. 文档补充前端静态页面需 python3 -m http.server 8000 单独启动,说明 launch 不含网页服务;4. 相机话题统一为 /front_camera/image_raw(与 xacro、index.html 一致);5. index.html 去掉硬编码的 192.168.220.130,改为按 location.hostname 自动拼接;6. README 构建路径修正为 src/ground/web_remote_car;7. 删除不存在的 params.yaml 与 run_tests_web_remote_car 引用,参数表改为指向真实文件与真实取值;8. 文档改用仓库内本地演示动图,删除重复的 camera_demo1 - 副本.gif;9. 清除 100 余处反斜杠转义下划线;10. package.xml maintainer 占位符 xxx 改为实际作者,docs/index.md 目录条目补上星号后空格
同一 CartPole 环境对比 DQN 与 REINFORCE、以及单层/双层 MLP;纯 NumPy 手写网络与训练,含学习曲线、评估指标与推理动图。
用单侧轮毂拖滞模拟驱动失效,风险网络提前 1 s 预测跑偏并按比例减速,配合左右轮差速补偿;含 49 项单测、三档拖滞场景与两个闭环工况验证。
- main.launch / offline.launch 改用 args 把 <arg> 拼成命令行参数。原来只写 <param> / <rosparam>,而 main.py 不 import rospy,一个都读不到 - main.launch 补 --carla:之前 roslaunch 起来实际走的是离线分支 - 参数文件改由 --params 显式传入,装包后能从 share 目录读到 - package.xml 删掉 rospy / std_msgs / geometry_msgs,代码里没有用到 - 新增 tests/test_launch.py,4 个用例锁住上面几条 - 导航注册行改插在「ROS Scenario Runner」之后:段尾是各 PR 反复追加的位置, 插在那里每次 master 更新都要重新解冲突 - 分支重建到最新 master
* feat(air): record mission status and export offline statistics * docs(air): record mission logging AirSim validation
* feat(mjc_rov_current_teleop): 新增动态洋流ROV MuJoCo仿真与MLP巡航控制 - 6-DOF ROV MuJoCo物理仿真,代码层施加浮力/阻尼/姿态自稳/时变洋流扰动 - 键盘遥操作节点(w/s/a/d/q/e) + MLP行为克隆巡航策略(6->64->32->2) - 完全自包含包,MJCF仅用基本几何体,不依赖仓库其他包 - 离线链路: collect->train->test 打印MAE/航点到达率 - ROS launch一键启动,odom 50Hz / image 10Hz * 新增侧扫声呐图像仿真与CNN海底目标分类 * 文档页加入声呐样例图 * 加入GIF动图演示 * 新增手写PPO强化学习ROV轨迹跟踪与PID对比 * docs: PR3 模块接入导航栏与首页链接 * docs: PR3 首页链接补充 * docs: PR3 导航与首页标题统一为H1表述 * docs: PR3补齐运行环境章节、代码块标注、同步上游master导航 * docs: PR3补充实测轨迹截图PNG * docs: 修改行内公式写法
6.2 mrobot激光雷达SLAM建图
* docs: 补充自平衡小车演示动图、控制框图,并修复导航路径 * docs: 补充控制框图与调参经验正文 * feat: 完善 pid 积分限幅机制,并调试参数 * docs: 修正调参经验描述及积分限幅作用说明
- 新增编码器(wheel/encoders)与 IMU(imu/data)话题发布,带可配置噪声 - 多摩擦场景调度:按 scenario_duration 轮切地面摩擦系数,发布 scenario/friction 与 scenario/episode_id - 修复审核中发现的问题:simulator.py 重复定义的 step/reset、main.py 缺失的 TransformBroadcaster 初始化
- 修复 demo 随机种子在目标创建之后才设置、截图不可复现的问题 - 修复撞墙时 theta 不更新导致 auto/manual 卡死;手动模式允许贴墙转向 - 减速距离 120 -> 60,能追上 60 px/s 的移动目标 - 新增 --headless/--seed/--duration/--save-frame/--quiet,输出 metrics.json - demo 截图写到 --outdir,第二个场景改为实际穿过障碍物空隙 - 新增 12 个单元测试、模块 README、requirements.txt;更新文档与截图
基础页 2.1 提到肌腱是串联弹性成分,但版块内已有的 Hill 模块把肌腱当成刚性。 本提交把这一步补上: - 单关节 + 拮抗肌的 MTU 模型:Hill 肌纤维 + 线性弹性肌腱,二分法解串联力平衡 - 三组实验:等长传力损失、肌腱刚度-储能权衡、松手释放 - 28 个单元测试;main.py 直接运行,输出 PNG/CSV;支持 roslaunch - 更新基础页 2.1、版块内容表、首页与导航
* feat(ground): 新增无动力被动行走(轮辐式 Rimless Wheel)MuJoCo 演示模块 * passive_walker: 增加终端截图与离屏渲染画面、节点到时长自动退出 - docs/ground/passive_walker.md 新增第 7 节:3 张终端截图(构建/仿真/ROS 2)与 2 张离屏渲染拼图 + 1 个滚动 GIF,并说明截图是在 Xvfb + xterm 里真实执行后抓取的 - docs/img/ground/passive_walker/ 存放上述图片 - sim_node.py:用 spin_once 轮询 finished 标志,跑满 seconds 后节点自行退出, ros2 run / ros2 launch 不再需要手动 Ctrl-C - assets/passive_walker.xml:地面加棋盘格纹理(仅渲染),物理参数未改, --seconds 20 输出仍为 23.76 m / 95 步 / 1.25 m/s * Update passive_walker.md * Delete docs/img/ground/car1.gif * Delete docs/img/ground/car2.gif * Delete docs/img/ground/passive_walker directory * Add files via upload * Update passive_walker.md * fix(ground): 恢复误删的 car1.gif/car2.gif,演示图归档到 passive_walker/ 目录 * docs(ground): 压缩仿真演示 GIF(9.3MB -> 2.3MB)并修正截图章节引用 * docs(ground): 同步 master 的 mkdocs 导航,并把 passive_walker 放到地面载具段末尾 * docs(ground): 对齐 master a6b9bba 的 mkdocs 导航,并保留 passive_walker 条目 * docs(ground): 暂缓 mkdocs 导航改动,先让 GitHub 合并 master(随后加回) * docs(ground): 补上 passive_walker 的 mkdocs 导航与首页入口 * docs(passive_walker): 填真实 maintainer,并注明 20.04 下 Humble 为源码编译 * fix(passive_walker): 补 README/requirements/render,并按 review 修正测试、launch 与参数解析 * chore(passive_walker): 恢复 package.xml 的 maintainer,删除误提交的 pytest 缓存 * docs(ground): 文档代码块改为裸围栏(去掉语言标记) * docs(passive_walker): README 代码块改裸围栏,并删掉教程页末尾多余空行
纯新增 gesture_dataset.py + 67 条离线回归:关键点归一化(42 维)、npz 数据集读写与合并、分层划分(单样本类整类留训练集)、弱标签提取;合成手与规则法 7/7 一致。 CMakeLists 用 install(FILES) 安装辅助模块;docs §7 补用法与证据图。
* 增加运行成功截图 * 规范格式 * 删去不必要的字符 * 1
…uide and faq (OpenHUTB#901) Co-authored-by: 你的github用户名 <你的github邮箱>
针对 review 的 13 条 + 小问题逐条处理: 必须改 - DESCEND_STALL 不再依赖桥接层根本没有的 "DESCEND" 字样,改成"指令消失 + 高度不再下降 + 仍未到目标"的可观测组合;状态串判据改为可选参数 status_descend_keywords - CMD_NO_EFFECT 的期望位移改成窗口内指令积分 ∫|−vz|dt(只累计向下部分), 指令变化(暂停后恢复 / 变速 / 重新接管)会重置观察窗;宽限期结束后才开始观察 - z_up 半实现修掉:core 新增 to_enu(),节点对高度 / 速度指令 / 目标高度三处统一换算; 参数用 parse_bool() 解析("false" 不再变 True) - OVERSHOOT 增加 phase 门(只在下降阶段、宽限期后)+ 改为可重复触发(不再一次性失效) - 增加 reset() 与自动复位(重新爬升 > 1 m 或目标变化),常驻节点可连续监控多次降落; 一次性事件与告警历史都随复位清理 建议改 - 落地语义拆开:Z_REACHED(高度到位置,稳定 N 秒)与 LANDED(+上游释放指令)分离, 上游不松手时报 CMD_NOT_RELEASED,不再整次判成超时失败 - core 内加 RLock,on_*/tick/report 全部进出锁,修掉 deque 并发修改风险 - 告警改上升沿触发 + 冷却,90 s 持续故障只报 1 条,不再刷屏 - plot_report 画全部告警并标注次数(CMD_NO_EFFECT ×7),LEVEL_OF 从 core import - 目标高度来源:goal_offset 明确为约定值并打日志;迟迟拿不到目标高度报 TARGET_UNKNOWN - 未知阈值键不再静默忽略(unknown_keys + 启动 WARN),并打印整份生效阈值 - catkin 接入:catkin_add_nosetests + 只把真入口装成可执行 + tools/scripts 走 share; package.xml 换真实 maintainer、加 python3-nose;CI workflow 增加本包测试与字节编译 - 新增 tools/replay_csv.py:把真机录的 CSV 回放进当前判据,可确定性复现(评审要的复现方式) - 文档把"因果"降级为"现象 + 可核对事实",并列出 API 超时进 hover 保护的线索 小问题 - CSV 时间列用 t_first is None 判断;use_sim_time 无 /clock 时自动改用单调时钟并报错日志 - 宽限期不再清空高度历史,宽限期内掉高仍能报 FREE_FALL - 去掉 on_goal/on_landing 里的死条件;README 图片改相对路径 测试从 33 条扩到 67 条,新增覆盖评审点名的场景(暂停/恢复、变速、低高度启动、 第二次降落、到位置不松手、NED 换算、并发、未知参数、回放工具)。
- 重写源码安装/快速入门:去掉与“避免 Conda”矛盾的 conda activate, 按仓库实际包路径给出稀疏克隆和 colcon 命令,补充 catkin_pkg 处理 - 参数表补 draw_waypoints,并说明 scenario_path 不能为空 - 补 SetControlMode / AgentCommand / SensorCommand / DesiredCommand 字段 - 增加启动后的 topic/service 验证、无头模式、常见问题表和引用信息 - 修正翻译用语与图片双斜杠路径 - 新增 tests/test_holoocean_docs.py:用 AST 检查文档是否漏掉节点声明
- 抽出 circle_path.py 纯数学模块,支持 radius / period / rate 参数 - trajectory_node.py 按周期和频率计算位姿,补 Odometry twist 与 TF 参数 - launch 暴露参数;CMake 安装 circle_path;rviz 改为 exec_depend - 新增 10 个纯 Python 测试、模块 README 与离线自检 CLI - 文档补参数、无 ROS 自检和测试,修正起点为 (radius, 0)
* running effect 人形机器人 - 基于 ZMP 的步行轨迹规划 ROS 2 封装模块running effect * Rename capture_3.png to docs/img/capture_3.png * Add capture_3.png image file * Delete img directory * feat (water): 新增水下ROV AprilTag视觉定位与定点巡航仿真模块 - 新增 rov_apriltag_cruise 功能包:Gazebo 水下场景(3块AprilTag标牌)、ArUco检测节点(C++)、状态机巡航控制器(Python) - 文档 docs/water/rov_apriltag_cruise.md:概述背景/运行环境/代码清单/运行步骤/效果图,含导航链接 - 素材符合规范:图片<=3MB、GIF<=5MB、截图非拍照、大模型声明 * fix (water): 按评审意见修正 OpenCV 依赖、环境版本与文档描述 * fix (water): 按评审意见修正 OpenCV 依赖、环境版本与文档描述 * fix (water): 按评审意见修正 OpenCV 依赖、环境版本与文档描述 * fix (water): 按评审意见修正 OpenCV 依赖、环境版本与文档描述 * fix (water): 按评审意见修正 OpenCV 依赖、环境版本与文档描述 * fix (water): 按评审意见修正 OpenCV 依赖、环境版本与文档描述 * fix (water): 按评审意见修正 OpenCV 依赖、环境版本与文档描述 * docs: 首页水域章节加入 ROV AprilTag 巡航模块入口
* docs(air_teleop): add troubleshooting guide * feat(air_teleop): add configurable flight speed * fix(air_teleop): reject non-finite speeds
- 椭圆环绕巡检与定点悬停采样,RViz 绘制轨迹和采样点 - 单目距离明确为估计值,修正视觉确认计时和图像编码处理 - 测距与确认参数统一由 config/inspection.yaml 提供,配置缺失时降级内置参数
新增可选飞行事件记录:状态迁移、任务里程碑与 FAILSAFE 原因写入有界环形缓冲,支持 CSV/JSON 导出、dump_log 服务和退出自动落盘。
This script verifies installed ROS subscriptions and safety transitions for the UAV rooftop PV coverage survey. It launches the ROS2 controller and checks the system's response to commands and reports.
Updated README to enhance clarity and detail in module descriptions, scenarios, and usage instructions.
Expanded DAY2 documentation with detailed training, control, and evaluation procedures for the MuJoCo rooftop PV coverage survey, including system requirements, simulation steps, and performance metrics.
Updated project documentation to enhance clarity and organization, including sections on project objectives, scenes and routes, reproducible runs, data and ROS interfaces, synchronized labels, and expert control.
Updated the document to reflect changes in the system and operational conditions for the MuJoCo rooftop PV coverage survey. Added sections on simulation, training steps, keyboard control, and ROS 2 installation.
Added image command prediction functionality using TinyImageController. Updated TrackingCore to include end-to-end model and modified command logic to utilize image model when available.
This launch file allows the execution of a pipeline mode with configurable arguments for mode, output, and scenario.
Added tests for live controller image handling and state management.
Added numpy import and set_image method call in test.
Updated images and descriptions in the documentation for the UAV rooftop PV coverage survey. Added details about the ROS 2 launch parameters and improved clarity on the testing results.
Updated the documentation for DAY2, including changes to image and keyboard event descriptions, ROS node parameters, and test results.
Updated README to reflect changes in control node parameters, workflow launch options, and test results.
This test verifies that the ROS context and node cleanup occurs correctly upon various exit scenarios, including normal shutdown and keyboard interrupts.
Updated the number of tests passed in the Ubuntu/Humble container from 51 to 55, while keeping the rest of the content intact.
Updated the number of tests passed in the Ubuntu/Humble container from 51 to 55 and provided additional details about the testing process and results.
Updated test results and documentation details in README.
Remove unnecessary blank lines in test assertions.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
将已验证的屋顶光伏最终实现与中文文档同步到个人仓库默认分支。Ubuntu 22.04 / ROS 2 Humble Docker 内 55 项测试通过,完整 Compose、安装后的 workflow launch、传感器控制、训练权重推理和端到端图像控制通过;保留上游五个贡献 PR 的独立状态。