<commit_before># Under MIT licence, see LICENCE.txt

import numpy as np

from RULEngine.Util.constant import BALL_RADIUS, ROBOT_RADIUS
from ai.STA.Tactic.Tactic import Tactic


__author__ = 'RoboCupULaval'

ORIENTATION_DEADZONE = 0.2
DISTANCE_TO_KICK_REAL = ROBOT_RADIUS * 3.4
DISTANCE_TO_KICK_SIM = ROBOT_RADIUS + BALL_RADIUS
COMMAND_DELAY = 1.0


class GoKick(Tactic):
    def __init__(self):
        self.player = None
<commit_msg>layout de la premiere tactique<commit_after># Under MIT licence, see LICENCE.txt
from typing import List
import numpy as np
import time

from RULEngine.Game.OurPlayer import OurPlayer
from RULEngine.Util.Pose import Pose
from RULEngine.Util.constant import BALL_RADIUS, ROBOT_RADIUS
from ai.STA.Tactic.Tactic import Tactic
from ai.states.game_state import GameState

__author__ = 'RoboCupULaval'

ORIENTATION_DEADZONE = 0.2
DISTANCE_TO_KICK_REAL = ROBOT_RADIUS * 3.4
DISTANCE_TO_KICK_SIM = ROBOT_RADIUS + BALL_RADIUS
COMMAND_DELAY = 1.0


class AllignToDefenseWall(Tactic):
    def __init__(self, game_state: GameState, player: OurPlayer, number_of_robots: int=0, robot_formation_number: int=0,
                 args: List[str]=None):
        Tactic.__init__(self, game_state, player, args=args)
        self.current_state = self.go_allign
        self.next_state = self.go_allign
        self.last_time = time.time()
        self.number_of_robots = number_of_robots
        self.robot_formation_number = robot_formation_number

    def go_allign(self):
        #dodo time
{'fraction_non_alphanumeric': 0.07237715803452856, 'fraction_numerical': 0.009296148738379814, 'mean_word_length': 4.343971631205674, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3379808', 'n_tokens_mistral': 582, 'n_tokens_neox': 546, 'n_words': 122}