RoboCupULaval / UI-Debug

Visualisation tool for the StrategyAI software

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add multiparameter for tactics

PhiBabin opened this issue · comments

Currently when running a tactic you have field to input an argument to the tactic. So tactic use that argument other does not use it. You must read the source code of a tactic to learn what the argument actually do. It will be preferable if each tactic provide the list of optional argument and their label. For example for GoToPositionPathfinder two useful parameters could be the cruise speed and the final orientation. Ui-debug should be aware of those arguments and create a field for each one. On the StrategyAI side, the tactics must provide a list of optional argument that only require a string/float value.