rj_gameplay.role.marker

Module Contents

Classes

MarkerRole

Role to produce marking behavior

class rj_gameplay.role.marker.MarkerRole(robot: stp.rc.Robot, target_robot: stp.rc.Robot)

Bases: stp.role.Role

Role to produce marking behavior

tick(world_state: stp.rc.WorldState, target_robot: stp.rc.Robot) 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.