stp.role.constraint

This module contains a variety of functions that return constraint functions for convenience.

Module Contents

Functions

has_ball() → stp.role.ConstraintFn

Creates a constraint function that returns true if the current robot has the

stp.role.constraint.has_ball() stp.role.ConstraintFn

Creates a constraint function that returns true if the current robot has the ball. :return: Constraint function for current robot having the ball.