Worthington-Robotics / 2018JavaRobot

2018 Java Robot Code
3 stars 1 forks source link

Add gyro heading lock to drivetrain #3

Closed coalman321 closed 6 years ago

coalman321 commented 6 years ago

We need to get a functional "gyro lock" written for java. need to investigate how to read a navx gyro in java then use it to calculate a rotation feedback for driving the robot. It should be completed by next week.

coalman321 commented 6 years ago

I was able to find a solution that may provide insight for this. We cannot use the actual solution as it is given. as it stands, it should be implemented into a command for the drivetrain. See this link for more info: https://wpilib.screenstepslive.com/s/currentCS/m/java/l/599713-gyros-measuring-rotation-and-controlling-robot-driving-direction

coalman321 commented 6 years ago

the current version of drive train test has passed and will be committed to robot_test. great job guys. next up is dealing with wheel encoders and tuning the PID algorithms!