rj_gameplay.role.seeker

Module Contents

Classes

SeekerRole

class rj_gameplay.role.seeker.SeekerRole(robot: stp.rc.Robot, my_region, centroid)

Bases: stp.role.Role

get_open_point(self, world_state, region: List, centroid) numpy.ndarray
tick(self, world_state: stp.rc.WorldState) rj_msgs.msg.RobotIntent
Assume our_robot has ball on init. Then:
  • on init: get every point in the OFFENSE section of field away from their_robots at a certain distance and move there

is_done(self, world_state) bool