Skip to content
This repository has been archived by the owner on May 24, 2023. It is now read-only.

Autonomous code is broken #12

Closed
aHalliday13 opened this issue Dec 22, 2021 · 2 comments
Closed

Autonomous code is broken #12

aHalliday13 opened this issue Dec 22, 2021 · 2 comments
Assignees

Comments

@aHalliday13
Copy link
Owner

Problem
When running autonomous code, the robot does not drive the correct distance, even though the code used to work, and no changes have been made that should have caused this.

To Reproduce
Steps to reproduce the behavior:

  1. Run EdgarProCompetition
  2. Select an autonomous routine
  3. Begin the autonomous period
  4. Robot will fail to drive the correct distance

Expected behavior
The robot should complete the autonomous routine with no error.

Sugested fix
Recalibrate driveIN, as the error is most likely caused by a mechanical issue rather than a software issue.

@aHalliday13
Copy link
Owner Author

driveIN had been modified to allow for the motor waitForCompletion to be set to false. This change somehow broke the code. This feature was unused, so it has been removed, and modified auton routines have been returned to their original state.

@aHalliday13 aHalliday13 self-assigned this Dec 22, 2021
@aHalliday13
Copy link
Owner Author

driveIN modifications were not responsible for the break, driveIN was improperly calibrated (1 rev = 5.625 in, now 1 rev = 5 in). All autonomous routines are functional again.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant