Hi everyone. I’ve been trying to use the shiny “new” FRC Characterization tool to generate constants for my team’s robot’s drivebase and shooter (both running on NEOs and Spark Maxes) , but I’ve been having a plethora of issues getting the Java project to generate from the config tool. I’m not a Python guy, so I’m kinda out of my league here.
Anyway, I have the fields in the config tool populated as shown in the text file I attached, and when I hit “generate project,” I get thrown the error Error - unable to generate project - config may be bad. Details: IndexError(‘ListIndex out of range’)
If anyone could help me out with what I’m doing wrong here, I would greatly appreciate it. If it helps, I’ve already tried uninstalling and reinstalling Python and the frc-characterization tool, my Python is set to the PATH thingy, and I’ve upgraded my frc-characterization tool from Command Prompt. Thanks!
No problem! Interesting about the simple project. If you have two motor ports per side, you still have to put two controller types per side for the project to generate. If it’s just one port per side, you still need either False or True for the motorsInverted keys. Can’t leave them empty for drivetrains.
I see. I was doing this for our shooter which has only one Spark Max and I wasn’t sure which fields to populate and which to leave empty. So, populate the “MotorPorts” field and one True/False in the “MotorsInverted” field for this scenario?
I should have mentioned this: I did have to downgrade my Python version as well. Is this a known requirement for the characterization tool? Version 3.9 of Python gave me some wacky errors. Was your error something along the lines of “Error 13: Permission denied”?