Skip to content

Conversation

@MagdalenaKotynia
Copy link

@MagdalenaKotynia MagdalenaKotynia commented Feb 26, 2025

Purpose

To write unittests and docstrings for rai_sim package.

Proposed Changes

  • Unit tests for SimulationBridge interface and data models.
  • Unit tests for O3DExROS2Bridge with emphasis on testing compatibility with ROS2ARIConnector
  • Updated README with new naming
  • Docstrings
  • applied some requested changed from review of feat: simulation and benchmark suite #435
  • refactored, fixed and improved _is_ros2_stack_ready method

Issues

Testing

Tests

pytest tests/rai_sim

test _is_ros2_stack_ready method

Follow the instructions in #435 (comment)
BUT use the following content of the o3de_config.yaml:

binary_path: /path/to/your/GameLauncher
robotic_stack_command: ros2 launch examples/manipulation-demo-no-binary.launch.py
required_simulation_ros2_interfaces:
  services:
    - /spawn_entity
    - /delete_entity
  topics:
    - /color_image5
    - /depth_image5
    - /color_camera_info5
  actions: []
required_robotic_ros2_interfaces:
  services:
    - /grounding_dino_classify
    - /grounded_sam_segment
    - /manipulator_move_to
  topics: []
  actions: []

Important info for person merging this PR

Remember about changing o3de_config.yaml in #435 description

@MagdalenaKotynia MagdalenaKotynia marked this pull request as ready for review February 26, 2025 10:30
…ns checking, improved logging of waiting for not yet available services, actions and topics
@maciejmajek maciejmajek merged commit 3fff1b2 into feat/simbench Feb 27, 2025
2 checks passed
@maciejmajek maciejmajek deleted the tests/rai_sim branch February 27, 2025 15:59
maciejmajek pushed a commit that referenced this pull request Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants