SPQR-Team-2019-REVAMPED/include/strategy_roles/striker.h

40 lines
926 B
C
Raw Normal View History

#pragma once
#include "sensors/data_source_camera_vshapedmirror.h"
#include "sensors/sensors.h"
#include "strategy_roles/game.h"
#define TILT_MULT 1.8
#define TILT_DIST 170
#define CATCH_DIST 150
2021-01-31 18:42:32 +01:00
#define GOALIE_ATKSPD_LAT 150 //255
#define GOALIE_ATKSPD_BAK 150
#define GOALIE_ATKSPD_FRT 150
#define GOALIE_ATKSPD_STRK 150
2019-12-05 12:53:14 +01:00
#define GOALIE_ATKDIR_PLUSANG1 20
#define GOALIE_ATKDIR_PLUSANG2 35
#define GOALIE_ATKDIR_PLUSANG3 40
#define GOALIE_ATKDIR_PLUSANGBAK 40
#define GOALIE_ATKDIR_PLUSANG1_COR 60
#define GOALIE_ATKDIR_PLUSANG2_COR 70
#define GOALIE_ATKDIR_PLUSANG3_COR 70
2019-12-05 12:53:14 +01:00
class Striker : public Game{
public:
Striker();
Striker(LineSystem* ls, PositionSystem* ps);
2019-12-26 17:44:58 +01:00
private:
void realPlay() override;
2019-12-26 17:44:58 +01:00
void init() override;
void striker();
void ballBack();
void storcimentoPorta();
int atk_speed, atk_direction;
float cstorc;
2019-12-26 17:44:58 +01:00
};