PedroPathingActionBuilder
Builder that creates an Action from PedroPathing Paths.
Parameters
the follower used to build the path and follow it when the action is executed
the starting pose of the path
Functions
Adds a bézier curve segment to the path defined by the lastPose, controlPoses, and the endPose. The heading will be interpolated linearly between the start and end poses.
Adds a bézier curve to the path defined by the lastPose, controlPoses, and the endPose. The heading will be held constant at the lastPose's heading throughout the segment, regardless of the direction of travel.
Adds a bézier curve to the path defined by the lastPose, controlPoses, and the endPose. The heading will be interpolated tangent to the direction of travel along the segment, meaning the robot will always face the direction it is moving in.