rj_gameplay.role.capture_role

Module Contents

Classes

CaptureRole

Role to produce capturing behavior, which gets or steals the ball

class rj_gameplay.role.capture_role.CaptureRole(robot: stp.rc.Robot)

Bases: stp.role.Role

Role to produce capturing behavior, which gets or steals the ball

set_capture()
tick(world_state: stp.rc.WorldState) rj_msgs.msg.RobotIntent

Handle behavior of Role by handling which Skill is ticked, and with what params. Return the RobotIntent returned from ticking a Skill.

is_done(world_state: stp.rc.WorldState) bool

True if Role is done; False otherwise.