Closed drewwhis closed 4 years ago
Once we get this initial profiling done, we want to see if we can use angles (rather than rotations) to streamline the process.
The last "next step" would be to checkout the smart motion (Trapezoid, Max Velocity, Max Acceleration) with rotations and then angles.
We spent some time on this tonight once we got everything imaged. We were able to adjust P, D, and FF on the single motor in Shuffleboard. We were also able to get position set in radians, not rotations.
We didn't play with smart motion this time, but it may not be necessary moving forward. We can try that out if it becomes necessary.
We'll use what we learned here when making the modules.
This will be useful in adding the turn motor to the swerve module.
In order to play with this, the Test Bench needs to have one SparkMax and one Neo.
REV Spark Max Examples: https://github.com/REVrobotics/SPARK-MAX-Examples
Steps to Profiling (Initialization):
Steps to Profiling (Periodic):
If this proves insufficient, we can work the I and IZone values in.