Skip to content
New issue

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

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

Already on GitHub? # to your account

Implement a slight backwards movement to kill momentum on ball reception #3453

Open
2 tasks
zuperzane opened this issue Mar 29, 2025 · 0 comments
Open
2 tasks
Labels
Difficulty - 7 Well-defined tasks that requires some understanding about the relevant system and tools Gameplay

Comments

@zuperzane
Copy link
Contributor

zuperzane commented Mar 29, 2025

Description of the task

When a ball hits our dribbler it has a habit of bouncing off, if the ball is traveling at the receiver it would be ideal if the receiver was traveling at roughly (0.1 to 0.9)ball_speed in the same direction as the ball, it will kill some of the momentum of the ball and prevent the bounce, it would be ideal if this speed could be changed but if it's confirmed in real life testing then it doesn't need to be changed, the lower the speed the less momentum you will kill but the higher the speed it is slightly more difficult to time when you should start reversing any amount would help with bounce though as long as it reaches the target speed before impact. Another thing is to just make sure the receiver is in position already to receive the pass before assigning it an arbitrary speed and direction and maybe that nobody is nearby not sure. Another thing that is cool is that if you go at 0.5ball_speed it should stop the ball right where the collision happened

receiver_fsm.h and .cpp is probably where to start

Acceptance criteria

  • Confirm in real life would most likely be sufficient or
  • Write a test that you think would make sense for a task like this just checking if a receiver is moving away from the ball on a reception
@zuperzane zuperzane added Difficulty - 7 Well-defined tasks that requires some understanding about the relevant system and tools Gameplay labels Mar 29, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Difficulty - 7 Well-defined tasks that requires some understanding about the relevant system and tools Gameplay
Projects
None yet
Development

No branches or pull requests

1 participant