rj_gameplay.skill.pivot_kick

Module Contents

Classes

State

Generic enumeration.

PivotKick

A pivot kick skill

class rj_gameplay.skill.pivot_kick.State

Bases: enum.Enum

Generic enumeration.

Derive from this class to define new enumerations.

CAPTURE
PIVOT
LINE_KICK
DONE
class rj_gameplay.skill.pivot_kick.PivotKick(robot: stp.rc.Robot = None, pivot_point: numpy.ndarray = None, target_point: numpy.ndarray = None, dribble_speed: float = 1.0, chip: bool = False, kick_speed: float = RobotConstants.MAX_KICK_SPEED, threshold: float = 0.02, priority: int = 1)

Bases: stp.skill.Skill

A pivot kick skill capture -> pivot -> kick

tick(self, world_state: stp.rc.WorldState) rj_msgs.msg.RobotIntent
is_done(self, world_state: stp.rc.WorldState) bool
__str__(self)
__repr__(self) str