rj_gameplay.tactic.line_tactic

Module Contents

Classes

LineTactic

Tactic for line up play that puts chosen robots in a line from start point to end point selected.

class rj_gameplay.tactic.line_tactic.LineTactic(world_state: stp.rc.WorldState, num_liners: int, start: numpy.ndarray, end: numpy.ndarray)

Bases: stp.tactic.Tactic

Tactic for line up play that puts chosen robots in a line from start point to end point selected. Assuming that the liners are more than 2

tick(self, world_state: stp.rc.WorldState) List[Tuple[int, rj_msgs.msg.RobotIntent]]
is_done(self, world_state: stp.rc.WorldState) bool
init_roles(self, world_state: stp.rc.WorldState)