Open jameschuang2002 opened 11 months ago
Also we should be able to enable/disable this feature through dynamic parameters in case we don't have spare robots.
Right now, as I think about this, one challenging part is that we don't have a way to fix certain robots to tactic ids
So we can have a robot that we want to substitute out but can't guarantee the assignment algorithm will do that.
Maybe the first task for this issue is to start supporting the ability to fix robot ids to tactics.
Description of the task
Note: We might want to separate this ticket into multiple tickets. One for each faulty behaviour and another one for the FSM design.
There should also be a function that reads from all the fault detection functions and return whether a substitute is needed. The FSM will only be implemented when this function returns true. The designer of the first fault detection function should implement this function.
Inspired by Tiger, we would like to implement a auto-substituting mechanism when detecting scenarios that the robots were displaying faulting behaviours. The FSM, when detect an error, will move the robot to the sidelines during the game so the team could place another robot into the game.
Faulty Behaviours Includes: (Please feel free to add to this list of faulty behaviours)
Acceptance criteria
Please feel free to change it if relevant.
FSM Requirements
Faulty Detection Function Requirements
Blocked By
3041