rj_gameplay.role.dumb_move

Module Contents

Classes

DumbMove

Wrapper for the Move Skill. Named "Dumb" because it does not have much other functionality (breaking the ideal of a "complex" single-robot Role).

class rj_gameplay.role.dumb_move.DumbMove(robot: stp.rc.Robot, target_point, face_point)

Bases: stp.role.Role

Wrapper for the Move Skill. Named “Dumb” because it does not have much other functionality (breaking the ideal of a “complex” single-robot Role).

tick(world_state: stp.rc.WorldState, target_point=None, face_point=None) 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) bool

True if Role is done; False otherwise.