Software icon indicating copy to clipboard operation
Software copied to clipboard

Implement a slight backwards movement to kill momentum on ball reception

Open zuperzane opened this issue 9 months ago • 1 comments

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 avatar Mar 29 '25 19:03 zuperzane

Alanna says mech is working on some sort of dribbler dampening project, so if we move backwards slightly while receiving, that might cause problems. We'll temporarily hold off on this idea for now until we get more details from mech

williamckha avatar Oct 25 '25 22:10 williamckha