rj_gameplay.skill.capture
Module Contents
Classes
Second half of a Receive Skill. Captures the ball once it has been slowed down. |
- class rj_gameplay.skill.capture.Capture(robot: stp.rc.Robot | None = None)
Bases:
stp.skill.Skill
Second half of a Receive Skill. Captures the ball once it has been slowed down.
- 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) bool
True when skill is done; False otherwise.
- __str__()
Return str(self).
- __repr__() str
Return repr(self).