stp.action

This module contains Actions of the STP(A) hierarchy.

Package Contents

Classes

IAction

Interface for actions.

IFiniteAction

Interface for actions that end

Ctx

Context for actions, dummy for now

class stp.action.IAction

Bases: abc.ABC

Interface for actions.

abstract tick(intent) None

Modifies the passed RobotIntent with the relavant fields

class stp.action.IFiniteAction

Bases: IAction, abc.ABC

Interface for actions that end

abstract is_done(world_state) bool

Checks to see if the action is done running

class stp.action.Ctx

Context for actions, dummy for now