test: add modular launch tests for TurtleBot3

オープン
#845 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@Aaravanand00 がすでに取り組んでいます。

2026年11月6日 から。

  • #847 @Aaravanand00 による — オープン

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
68/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python
領域
robotics, testing

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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
  1. Spawning & State :-
    • Launch TurtleBot3 using Launchers/robots/turtlebot3/spawn_robot.launch.py.
    • Verify nodes (robot_state_publisher, simulation bridges) start up correctly.
  2. 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.
  3. Movement & Teleoperation :-
    • Publish geometry_msgs/msg/Twist velocity commands to /cmd_vel.
    • Assert that the robot position changes (delta check on /odom coordinates).
  4. Teardown :-
    • Clean shutdown of nodes and simulation via utils.stop_gazebo().
Acceptance Criteria
  • test/test_turtlebot3.py passes under colcon test and launch_test.
  • Test includes safety length checks to prevent IndexError on 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.

主要言語
Python
スター
69
フォーク
81
平均マージ
1日 9時間
マージ済み PR(30日)
16

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

JdeRobot/RoboticsInfrastructure のほかの issue

JdeRobot/RoboticsInfrastructure の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。