rj_gameplay.role.receiver

Module Contents

Classes

State

Generic enumeration.

ReceiverRole

class rj_gameplay.role.receiver.State

Bases: enum.Enum

Generic enumeration.

Derive from this class to define new enumerations.

INIT
PASS_READY
RECEIVE_PASS
DONE
class rj_gameplay.role.receiver.ReceiverRole(robot: stp.rc.Robot)

Bases: stp.role.Role

property pass_ready(self)
set_receive_pass(self)
tick(self, world_state: stp.rc.WorldState) rj_msgs.msg.RobotIntent
Assume passer already has ball on init. Then:
  • on init: continue seeking

  • interrupt signal from Tactic: go get ball

  • when got ball: done

is_done(self, world_state) bool