SysId Crashes when Using URCL Logs

We are trying to characterize our swerve drivetrain using SysId. Our modules use REV Neos and we use URCL to log our motor states. We ran all four SysId routine tests in the same log, loaded the log into AdvantageScope and exported the log to include the URCL output. When we open the log in SysId and assign all the test state fields and attempt to load, the program hard crashes. Any thoughts?

Here’s a screenshot of SysId before we push “load” after which the program crashes.

Heres our wpilog file:
FRC_20240202_024738.wpilog

Thank you for any help!

This is a known issue with the kickoff releases of SysId and AdvantageScope, but has since been fixed. Try downloading WPILib 2024.2.1 (which includes the latest AdvantageScope and SysId versions), then re-export the original log file from AdvantageScope and open it in SysId. Let us know if you run into further issues.

1 Like

This worked, thank you!

Was there a possible regression in 2024.3.1? We’re facing this now.

I’m not aware of any changes that should affect this. If you have a log that is crashing the latest version of SysId it would be useful if you could post it here.

I’ll have the log to you in about an hour when I get to HQ (it’s on a computer there rn).

This was on our end. We divide by zero or smth and cause velocity to be NaN at some points.

1 Like

Actually appears to be a trig thing where the argument to acos is out of its range.

If SysId is completely crashing when loading the broken log (and not just displaying an error message), I would encourage you to open an issue on WPILib. The application should always display some type of error message in case of issues instead of crashing outright.

I think there’s already one open: [sysid] SysId crashing with wpilog file · Issue #6383 · wpilibsuite/allwpilib · GitHub

2 Likes