SPQR-Team1-2020/include/strategy_roles/striker.h

30 lines
587 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 STRIKER_ATTACK_DISTANCE 100
#define STRIKER_PLUSANG 55
#define STRIKER_PLUSANG_VISIONCONE 10
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();
int tilt();
int atk_speed, atk_direction, atk_tilt;
float cstorc;
2019-12-26 17:44:58 +01:00
ComplementaryFilter* filter;
2019-12-26 17:44:58 +01:00
};