Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added code for robot to rotate precise angle and drive forward precis… #5

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

jamest11235
Copy link
Collaborator

…e distance

private final double kCountsPerRev = 2048;
private final double kGearRatio = 20;
private final double kWheelRadiusInches = 2;

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should test this code by using driving the robot manually and measuring the distance it goes.


SmartDashboardParam kPSlider = new SmartDashboardParam("kPAutonomousDrive");
SmartDashboardParam kISlider = new SmartDashboardParam("kIAutonomousDrive");
SmartDashboardParam kDSlider = new SmartDashboardParam("kDAutonomousDrive");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will need default values.

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

Successfully merging this pull request may close these issues.

None yet

2 participants