test: add modular launch tests for Roomba / vacuum cleaner robot
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 70/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- python
- Domain
- embedded-iot, robotics, testing
Research direction
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.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Python
- Stars
- 69
- Forks
- 81
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 16
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from JdeRobot/RoboticsInfrastructure
-
Remove robot plugin from palletizing worldPossibly taken @aroraanushri claimed this 71 days ago. Openenhancement humble
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
JdeRobot/RoboticsInfrastructure#793 · 4 comments ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 55/100
JdeRobot/RoboticsInfrastructure#856 · 1 comment ·
Maintainers usually reply within 1 day
-
test: add modular launch tests for TurtleBot3Possibly taken @Aaravanand00 claimed this 17 days ago. Open
Difficulty 4/5 3-5 days Newbie friendliness 68/100
JdeRobot/RoboticsInfrastructure#845 ·
Maintainers usually reply within 1 day
-
Walking gait for Unitree G1 humanoid robotMay be free again @dlopezm17 claimed this 32 days ago, and no pull request is open. Open
JdeRobot/RoboticsInfrastructure#833 · 2 assignees ·
Maintainers usually reply within 1 day
-
Add support for microduckMay be free again @coder-Yash886 claimed this 41 days ago, and no pull request is open. Open
Difficulty 5/5 Over a week Newbie friendliness 30/100
JdeRobot/RoboticsInfrastructure#807 · 3 comments ·
Maintainers usually reply within 1 day
All issues in JdeRobot/RoboticsInfrastructure
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
UKGovernmentBEIS/inspect_ai#6733 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
ProyectoRespira/respira-webapp#334 ·
Maintainers usually reply within 1 day
-
bug security-alert
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
spectrayan/carefold#391 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Jakeschincariol/instagram-agent-skill#83 ·
Maintainers usually reply within 10 days
-
Difficulty 1/5 Under an hour Newbie friendliness 64/100