Software
Software copied to clipboard
Investigate whether using custom acceleration and max velocity parameters for the goalie improves its performance
Description of the task
Currently, all of our robots share acceleration and max velocity constraints (found here).
It may make sense to increase these values for the goalie robot to improve its goalkeeping ability.
Approach:
- Create some field tests for the goalie robot
- Evaluate whether higher acceleration and/or higher max velocities improve goalkeeping performance
- If it does, create new
RobotConstantswith the updated max velocity and acceleration constraints for the goalie. - Update
RobotFilterto keep track of theRobotConstantsto use for each robot. The goalie robot should have the goalieRobotConstants. - We should associate the
RobotConstantsto each robot throughSensorFusionby updatingfriendly_team_filterand therobot_filter.
Acceptance criteria
- [ ] Add field tests for the goalie robot
- [ ] Test if goalie performs better with higher acceleration and max velocity
- [ ] If per-tactic acceleration and velocity constraints are beneficial, implement a way of setting
RobotConstantsfor robots when they are initialized inSensorFusion - [ ] If per-tactic acceleration and velocity constraints are beneficial, add unit tests to
sensor_fusion_test.cppfor the new behaviour introduced for installing newRobotConstantsfor goalie robots
Blocked By
potentially have a movement mode that cares more about speed than accuracy for things like making blocks or taking close pivot shots
@mkhlb Maybe it could be like the function of BALLSTEALMODE cause thats just kind of sitting there we could use it