rj_gameplay.skill.receive
Module Contents
Classes
Skill that ends when robot has possession of the ball. |
- class rj_gameplay.skill.receive.Receive(robot: stp.rc.Robot = None)
Bases:
stp.skill.Skill
Skill that ends when robot has possession of the ball. Consists of Settle then Capture.
- tick(world_state: stp.rc.WorldState) rj_msgs.msg.RobotIntent
Logic for Skill goes here. RobotIntents obtained via Actions.
robot state is updated through super call to this method (i.e. super().tick(world_state))
- .msg
- param world_state:
Current world state.
- return:
A single RobotIntent.
- is_done(world_state: stp.rc.WorldState) bool
True when skill is done; False otherwise.
- __str__()
Return str(self).
- __repr__() str
Return repr(self).