Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: requested changes to rai_bench #438

Closed
wants to merge 7 commits into from

Conversation

jmatejcz
Copy link

Purpose

Changes to rai_bench package requested in #435

Proposed Changes

Style changes
Added package descriptions and fixed dependencies
Unnecessary code removed
Moved main.py to examples/ folder
Saving results to file now after every Scenario

Issues

Testing

Instructions for running a single benchmark:

  1. Setup the repository
poetry install --with openset
colcon build --symlink-install
source setup_shell.sh
  1. Download GameLauncher binary: humble or jazzy

  2. Populate src/rai_bench/rai_bench/o3de_test_bench/configs/o3de_config.yaml with:

binary_path: /path/to/your/GameLauncher
robotic_stack_command: ros2 launch examples/manipulation-demo-no-binary.launch.py
required_services:
  - /grounding_dino_classify
  - /grounded_sam_segment
  - /manipulator_move_to
  - /spawn_entity
  - /delete_entity
required_topics:
  - /color_image5
  - /depth_image5
  - /color_camera_info5
required_actions: []
  1. Run the benchmark
python src/rai_bench/rai_bench/examples/o3de_test_benchmark.py
  1. What to look for:
  • If simulation starts
  • If all 4 Scenarios run
  • If results are saved after every scenario to src/rai_bench/rai_bench/results.csv

@jmatejcz jmatejcz requested a review from maciejmajek February 26, 2025 16:09
@jmatejcz jmatejcz changed the title Jm/feat/rai bench refactor: requested changes to rai_bench Feb 26, 2025
@jmatejcz jmatejcz closed this Feb 26, 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.

1 participant