Open ssejrog opened 2 days ago
pid_wait_until_index() should wait until the point has passed
pid_wait_until_index()
pid_wait_until_index() waits until the index point becomes the target, the robot will be sitting LOOK_AHEAD away from the index point when it exits.
chassis.pid_odom_set({{{0_in, 24_in}, fwd, 110}, {{12_in, 24_in}, rev, 110}, {{24_in, 24_in}, rev, 110}}, true); chassis.pid_wait_until_index(1); // Waits until the robot passes 12, 24 Intake.move(127); chassis.pid_wait();
PROS Kernel Version: EZ-Template Version: Other Libraries: EZ-Template 3.2.0-beta.6 Kernel 4.1.1
A new function should be added, pid_wait_until_index_started(), that keeps the current behavior.
pid_wait_until_index_started()
Seems like this issue doesn't actually exist. A new function should still be added that has the "original" behavior
Expected Behavior
pid_wait_until_index()
should wait until the point has passedActual Behavior
pid_wait_until_index()
waits until the index point becomes the target, the robot will be sitting LOOK_AHEAD away from the index point when it exits.Steps to Reproduce
Versions
PROS Kernel Version: EZ-Template Version: Other Libraries: EZ-Template 3.2.0-beta.6 Kernel 4.1.1
OPTIONAL: Additional Information
A new function should be added,
pid_wait_until_index_started()
, that keeps the current behavior.