MotionConstraint

class unified_planning.model.motion.MotionConstraint(environment: Environment | None = None)[source]

Bases: ABC

This class represents a motion constraint.

A motion constraint is a constraint that must hold true among the continuous parameters of a motion action for it to be a legal transition of the system in its workspace.

property environment: Environment

Returns the Environment in which this MotionConstraint exists.