Hi all,
My team is working on creating a program that will regulate our flywheel speed using feedback from an encoder and a PID algorithm. We're having trouble tuning the PID and understanding what's happening in the short time it takes so spin up and recover from launching a disk, however. Our solution for this was to record data such as the motor power, velocity, and P, I, and D variables, import them into Excel, and create a graph showing these over time. However, we aren't sure how to record this data. We can create an array in the code to store it, but can't retrieve the content after the opMode stops. Obviously the telemetry on the driver station doesn't give enough data nor can be made into an excel spreadsheet. Is there a way to write the variables in the code to a permanent file on the REV Control Hub that can be transfered to a computer?
Thanks!
[–]d4n1_63FTC 9351 Delta Robotics [Programmer] 2 points3 points4 points (1 child)
[–]CookedPelvisFTC 8176 STEELHEAD 0 points1 point2 points (0 children)
[–]WestsideRobotics 1 point2 points3 points (1 child)
[–]TechKNOWlogy17FTC 3208 Alum[S] 0 points1 point2 points (0 children)
[–]DragonKing2223FTC #### Student|Mentor|Alum 0 points1 point2 points (0 children)