Neo, SparkMax, Swerve system identification

I’m trying to figure out how to how to run the SysID tool this year. I am trying to find gains for the swerve rotation motors. We have a NEO motor connected to a Swerve drive system (I forget the maker of it).

I modified the sysid example in the WPILib/VSCode examples:

I ran this and collected some data. I then loaded the log file in the SysID. But when I run it I get the following error message:
image

The log file is located here:

I think I messed up the data logging. I think I want/need to record the rotation data in Radians/sec, but the code has some references to Meters. I don’t totally understand the SysID log code. Any ideas or help would be greatly appreciated.

I will be adding this courtesy of Team 5010 to YAGSL very soon, keep an eye out for our implementation!

1 Like