|
RIT VEXU Core API
|
Enforces a TrajectoryConstraint only when the robot's translation falls within a specified 2D rectangular bounding box. More...
#include <rectangular_region_constraint.h>
Public Member Functions | |
| RectangularRegionConstraint (const Translation2d &bottom_left, const Translation2d &top_right, const TrajectoryConstraint &constraint) | |
| Constructs a RectangularRegionConstraint. | |
Enforces a TrajectoryConstraint only when the robot's translation falls within a specified 2D rectangular bounding box.
|
inline |
Constructs a RectangularRegionConstraint.
| bottom_left | The bottom-left coordinate of the bounding box. |
| top_right | The top-right coordinate of the bounding box. |
| constraint | The child constraint to apply when inside the box. |