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

ボールを敵陣深くにおいてKICKOFFした場合、なんかおかしい #152

Closed
HansRobo opened this issue Feb 20, 2024 · 1 comment · Fixed by #153
Closed

ボールを敵陣深くにおいてKICKOFFした場合、なんかおかしい #152

HansRobo opened this issue Feb 20, 2024 · 1 comment · Fixed by #153

Comments

@HansRobo
Copy link
Member

  • ボールが動いていないのにすぐにINPLAYになる
  • Attackerと身動きしない
  • ReceiverとDefenderが変な動きをする
  • Receiverのtarget_x, target_thetaがNaN
@HansRobo
Copy link
Member Author

原因

原因1 PlaySwitcher内で前回コマンド遷移時の状態記録が抜けていた

  • ボール位置の前回記録値が常に初期値の中心点となる
  • 中心点以外にボールがあると、動かずとも移動した判定になり、すぐにINPLAYに移行してしまう

原因2 Receiverのpasser_idが自分になっていた?

github-merge-queue bot pushed a commit that referenced this issue Feb 20, 2024
PlaySwitcher内で前回コマンド遷移時の状態記録が抜けていたのを修正
@HansRobo HansRobo moved this to Done in 3月動かす会 Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
1 participant