-
Notifications
You must be signed in to change notification settings - Fork 1
our_sideに相手ロボットが多いときPlayを切り替える #501
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
Conversation
|
test_scenario_force_start.py failed. Failure logs: https://github.com/SSL-Roots/consai_ros2/actions/runs/16825847494/artifacts/3717952722 |
|
test_scenario_free_kick.py failed. Failure logs: https://github.com/SSL-Roots/consai_ros2/actions/runs/16825847494/artifacts/3717954007 |
|
test_scenario_obstacle_avoidance.py failed. Failure logs: https://github.com/SSL-Roots/consai_ros2/actions/runs/16825847494/artifacts/3717954140 |
|
yellow_invert/test_scenario_yellow_invert_kickoff.py failed. Failure logs: |
|
test_scenario_kickoff.py failed. Failure logs: https://github.com/SSL-Roots/consai_ros2/actions/runs/16825847494/artifacts/3717955994 |
|
test_scenario_penalty.py failed. Failure logs: https://github.com/SSL-Roots/consai_ros2/actions/runs/16825847494/artifacts/3717959956 |
|
test_scenario_ball_placement.py failed. Failure logs: https://github.com/SSL-Roots/consai_ros2/actions/runs/16825847494/artifacts/3717963721 |
|
test_scenario_ball_placement2.py failed. Failure logs: https://github.com/SSL-Roots/consai_ros2/actions/runs/16825847494/artifacts/3717964073 |
|
test_scenario_force_start.py failed. Failure logs: https://github.com/SSL-Roots/consai_ros2/actions/runs/16825847494/artifacts/3717985328 |
|
test_scenario_obstacle_avoidance.py failed. Failure logs: https://github.com/SSL-Roots/consai_ros2/actions/runs/16825847494/artifacts/3717985944 |
|
test_scenario_free_kick.py failed. Failure logs: https://github.com/SSL-Roots/consai_ros2/actions/runs/16825847494/artifacts/3717986715 |
|
yellow_invert/test_scenario_yellow_invert_kickoff.py failed. Failure logs: |
|
test_scenario_kickoff.py failed. Failure logs: https://github.com/SSL-Roots/consai_ros2/actions/runs/16825847494/artifacts/3717988932 |
|
test_scenario_penalty.py failed. Failure logs: https://github.com/SSL-Roots/consai_ros2/actions/runs/16825847494/artifacts/3717991585 |
|
test_scenario_ball_placement2.py failed. Failure logs: https://github.com/SSL-Roots/consai_ros2/actions/runs/16825847494/artifacts/3717995554 |
|
test_scenario_ball_placement.py failed. Failure logs: https://github.com/SSL-Roots/consai_ros2/actions/runs/16825847494/artifacts/3717996106 |
|
@agich073 https://github.com/SSL-Roots/consai_ros2/actions/runs/16825847494/job/47662427145#step:11:74 consai | [main.py-4] Traceback (most recent call last):
consai | [main.py-4] File "/root/ros2_ws/install/consai_game/lib/consai_game/main.py", line 62, in <module>
consai | [main.py-4] play_node = PlayNode(update_hz=UPDATE_HZ, book_name=args.playbook)
consai | [main.py-4] File "/root/ros2_ws/install/consai_game/local/lib/python3.10/dist-packages/consai_game/core/play/play_node.py", line 56, in __init__
consai | [main.py-4] self.playbook = self.load_playbook(book_name)
consai | [main.py-4] File "/root/ros2_ws/install/consai_game/local/lib/python3.10/dist-packages/consai_game/core/play/play_node.py", line 96, in load_playbook
consai | [main.py-4] spec.loader.exec_module(module)
consai | [main.py-4] File "<frozen importlib._bootstrap_external>", line 883, in exec_module
consai | [main.py-4] File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
consai | [main.py-4] File "/root/ros2_ws/src/consai_ros2/consai_game/consai_game/play/books/playbook_default.py", line 27, in <module>
consai | [main.py-4] running_plays.outside_defense_area_1(),
consai | [main.py-4] AttributeError: module 'consai_game.play.factory.running_plays' has no attribute 'outside_defense_area_1'. Did you mean: 'outside_defense_area_their_in'? |
ShotaAk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
動作OKです!
気になるところコメントしました〜
|
|
||
|
|
||
| class RobotConditions: | ||
| """ロボットに関連する条件をまとめたクラス.""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ここのコメント修正お願いします〜
| """ | ||
|
|
||
| def condition(world_model: WorldModel) -> bool: | ||
| """ボールの速度が閾値より小さいかを判定する条件関数.""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ここのコメントも修正お願いします〜
| """ロボットに関連する条件をまとめたクラス.""" | ||
|
|
||
| @staticmethod | ||
| def their_robots_in_our_area() -> PlayCondition: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
判定条件もわかるような名前にしたいです。
例えば half をいれるとよいかな
| def their_robots_in_our_area() -> PlayCondition: | |
| def are_half_of_their_robots_in_our_area() -> PlayCondition: |
ShotaAk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTMです
概要
関連チケット
変更内容
動作確認内容
確認したReferee Command
補足