test: add modular launch tests for Roomba / vacuum cleaner robot
维护者通常 1 天内回复
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 70/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- python
- 领域
- embedded-iot, robotics, testing
调研方向
Read CustomRobots/vacuum_cleaner/launch/vacuum_cleaner.launch.py and the existing launch tests to follow the project’s ROS 2 launch_testing setup. Add test/test_roomba.py to check spawning, bridge startup, sensor and bumper topics, movement from velocity commands, and clean teardown. Run the test with colcon test and launch_test; done means the launch test passes in the stated Docker setup.
由索引模型根据 Issue 内容生成。
描述
Context
As part of the roadmap discussed in organization discussion #827 (moving from legacy world-centric tests to modular, robot-centric tests), each robot needs automated launch tests to verify headless spawning, sensors, teleoperation, and bridge topics.
Description
Create a modular launch test test/test_roomba.py (or test/test_vacuum_cleaner.py) using ROS 2 launch_testing to validate the Roomba / Vacuum Cleaner robot (CustomRobots/vacuum_cleaner/launch/vacuum_cleaner.launch.py) in headless simulation.
Proposed Test Scope
- Spawning & Bridge Initialization :-
- Launch the robot via
CustomRobots/vacuum_cleaner/launch/vacuum_cleaner.launch.py. - Verify
robot_state_publisher, simulation entity spawning, andros_gz_bridgestartup.
- Launch the robot via
- Sensor & Bumper Event Topics :-
- Assert active message reception on
/{namespace}/odom(nav_msgs/msg/Odometry). - Assert active message reception on
/{namespace}/laser/scan(sensor_msgs/msg/LaserScan). - Assert availability of bumper event topics:
/{namespace}/events/center_bumper(ros_gz_interfaces/msg/Contacts)/{namespace}/events/left_bumper/{namespace}/events/right_bumper
- Assert active message reception on
- Teleoperation & Movement :-
- Publish velocity commands (
geometry_msgs/msg/Twist) to/{namespace}/cmd_vel. - Assert coordinate displacement in odometry messages.
- Publish velocity commands (
- Clean Teardown :-
- Ensure graceful node shutdown and simulation termination via
utils.stop_gazebo().
- Ensure graceful node shutdown and simulation termination via
Acceptance Criteria
test/test_roomba.pypasses undercolcon testandlaunch_test.- Verified using a Custom RADI Docker image without volume mounts (
-v). - Screen recording demonstrating discovery and test execution will be attached to the PR.
I would like to work on this and submit a PR following the contribution guidelines.
- 主要语言
- Python
- 星标
- 69
- 派生
- 81
- 平均合并
- 1 天 9 小时
- 30 天内合并 PR
- 16
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
JdeRobot/RoboticsInfrastructure 的其他 Issue
-
Remove robot plugin from palletizing world可能已有人在做 @aroraanushri 于 71 天前认领。 未关闭enhancement humble
难度 2/5 1-3 小时 新手友好度 72/100
JdeRobot/RoboticsInfrastructure#793 · 4 条评论 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 55/100
JdeRobot/RoboticsInfrastructure#856 · 1 条评论 ·
维护者通常 1 天内回复
-
test: add modular launch tests for TurtleBot3可能已有人在做 @Aaravanand00 于 17 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 68/100
JdeRobot/RoboticsInfrastructure#845 ·
维护者通常 1 天内回复
-
Walking gait for Unitree G1 humanoid robot可能重新可做 @dlopezm17 于 32 天前认领,目前没有进行中的 PR。 未关闭
JdeRobot/RoboticsInfrastructure#833 · 已指派 2 人 ·
维护者通常 1 天内回复
-
Add support for microduck可能重新可做 @coder-Yash886 于 41 天前认领,目前没有进行中的 PR。 未关闭
难度 5/5 一周以上 新手友好度 30/100
JdeRobot/RoboticsInfrastructure#807 · 3 条评论 ·
维护者通常 1 天内回复
查看 JdeRobot/RoboticsInfrastructure 的全部 Issue
相似的 Issue
-
flaky: test_fire_returns_thread_per_http_entry_on_head waits 5 s per dispatch worker on busy shards未关闭status/accepted type/bug
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
bug vector-store
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
EverMind-AI/Raven#1413 ·
维护者通常 1 天内回复
-
Tests: parallel pyinstallcheck runs oversubscribe the machine through nested TBB and BLAS pools可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 86/100
ACCESS-NRI/containerised-environments-infra#143 ·
维护者通常 2 天内回复