HULKs / hulk

All your base are belong to us!
https://hulks.de/hulk
GNU General Public License v3.0
49 stars 49 forks source link

Penalty Shootout Striker #546

Open oleflb opened 1 year ago

oleflb commented 1 year ago

Our shootout performance at the robocup 2023 competition ... leaves room for improvement. The focus here is the defending capabilities of the robot, especially jumping in the right direction at the right time.

Estimated time: 4 weeks

Ideas:

MaikRe commented 2 months ago

node.rs

  Role::Striker => match filtered_game_state {
                None
                | Some(FilteredGameState::Playing {
                    ball_is_free: true, ..
                }) => {
                    actions.push(Action::Dribble);
                }

It may be worth considering having a different/specific action other than dribbling for the striker, so that we don't just walk through the ball/it doesn't modify/interfere with out current dribbling behavior.

It also may be as simple as tuning the in walk kick parameters, specifically the position so that the robot doesn't double touch

"in_walk_kicks": {
    "forward": {
      "position": [-0.16, -0.02],
      "orientation": 0.0,
      "reached_thresholds": [0.06, 0.03, 0.15],
      "shot_distance": 4.0,
      "enabled": true
    }
MaikRe commented 1 month ago

After more clear reading of the the rules it seems that the widestance penalty also applies to the goal keeper during the penalty shootout. Therefore it is of interest of us:

Also the new kick targets have made kicking better, but we end up with double contacts because the reached thresholds are wrong