SAMPLE_TEAM.strategy_designer

The module is designed by team Robokit of Phystech Lyceum and team Starkit of MIPT under mentorship of Azer Babaev with paticipation of junior student Matvei Ivaschenko and team coach Dmitrij Ustinov. The module is designed for creating strategy matrix of “forward” player. Strategy is defined by direction and power of kick in selected segment of field. Order of operation with “strategy_designer” module: - launch under python interpreter; - using menu item “Load from file” choose file with strategy data. Usually

with name “Init_params/startegy_data.json”;

  • select sector for modification by click;

  • operating slider “YAW” at right upper side set direction of kick;

  • operating slider “POWER” set power of kick;

  • click button “RECORD”

  • select next sector for modification;

  • save changes into file;

  • quit;

There is console window at right side of program window reporting about steps of operation. Last configuration of program is saved in the file “startegy_designer_config.json” which must be in the same directory as program itself.

Module Contents

Classes

RedirectText

MyPanel

Strategy_Designer

Functions

main()

Attributes

current_work_directory

current_work_directory

SAMPLE_TEAM.strategy_designer.current_work_directory[source]
SAMPLE_TEAM.strategy_designer.current_work_directory[source]
class SAMPLE_TEAM.strategy_designer.RedirectText(aWxTextCtrl)[source]

Bases: object

write(self, string)[source]
class SAMPLE_TEAM.strategy_designer.MyPanel(parent=None)[source]

Bases: wx.Panel

OnPaint(self, evt)[source]
class SAMPLE_TEAM.strategy_designer.Strategy_Designer(*args, **kw)[source]

Bases: wx.Frame

InitUI(self)[source]
On_Slider_move(self, event)[source]
On_SPINCTRL_change(self, event)[source]
On_Left_Down_Field(self, event)[source]
Quick_Start(self, event)[source]
OnAbout(self, event)[source]
On_Save(self, event)[source]
On_Save_as(self, event)[source]
On_Save_and_Exit(self, event)[source]
CreateMenuBar(self)[source]
On_Quit_select(self, e)[source]
On_Record(self, e)[source]
On_Load_File(self, event)[source]
SAMPLE_TEAM.strategy_designer.main()[source]