test: add modular launch tests for TurtleBot3
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 68/100
Research direction
Start by reading the existing robot launchers in Launchers/robots/turtlebot3/ and the repository’s current launch_testing tests, then inspect test/test_turtlebot3.py conventions if that file exists. Run the TurtleBot3 Burger spawn launcher in headless simulation and check how the project starts and stops Gazebo. Done means the modular test covers startup, /odom and /scan data, movement after a /cmd_vel command, safe message length checks, and clean teardown under colcon test and launch_test.
Written by the indexing model from the issue text.
Description
Context
As discussed in organization discussion #827, the repository is moving from world-based tests to robot-centric launch tests. TurtleBot3 (Launchers/robots/turtlebot3/) has been decoupled with dedicated spawn and state publisher launchers, but currently lacks automated launch tests to verify spawning and topic functionality.
Description
Create a modular launch test test/test_turtlebot3.py using ROS 2 launch_testing to validate TurtleBot3 Burger in headless simulation.
Proposed Test Scope
- Spawning & State :-
- Launch TurtleBot3 using
Launchers/robots/turtlebot3/spawn_robot.launch.py. - Verify nodes (
robot_state_publisher, simulation bridges) start up correctly.
- Launch TurtleBot3 using
- Sensor & State Topics :-
- Assert that
/odom(nav_msgs/msg/Odometry) is actively publishing valid pose data. - Assert that
/scan(sensor_msgs/msg/LaserScan) is receiving range readings.
- Assert that
- Movement & Teleoperation :-
- Publish
geometry_msgs/msg/Twistvelocity commands to/cmd_vel. - Assert that the robot position changes (delta check on
/odomcoordinates).
- Publish
- Teardown :-
- Clean shutdown of nodes and simulation via
utils.stop_gazebo().
- Clean shutdown of nodes and simulation via
Acceptance Criteria
test/test_turtlebot3.pypasses undercolcon testandlaunch_test.- Test includes safety length checks to prevent
IndexErroron topic message arrays. - A step-by-step video verification inside the RADI container will be attached to the pr.
I want to work on this and submit a pr following the 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 Roomba / vacuum cleaner robotPossibly taken @Aaravanand00 claimed this 17 days ago. Open
Difficulty 4/5 3-5 days Newbie friendliness 70/100
JdeRobot/RoboticsInfrastructure#848 ·
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