-
Notifications
You must be signed in to change notification settings - Fork 41
Tool does not generate project #184
Comments
Your robot config file is malformed. Could you post it? |
You could also try using Python 3.7. |
Here you go. |
There's some missing some controller types and motors inverted. Also, there needs to be quotes around the controllerType names. For future reference, if you pass in two values for motorPorts, you need to have two values for controllerTypes and motorsInverted. Same thing for the rightMotorPorts and those fields. Here's what your config file should resemble:
|
The EncoderCPR you need to use for Falcon 500s is 8192. Here's the characterization project we used for our 4 Falcon 500 drivetrain. Obviously you'll need to fix gearing, Can IDs, and gyro settings. https://github.com/FRC-Sonic-Squirrels/2021-characterization-project/blob/main/robotconfig.py frc-characterization will report one side of your robot driving in the wrong direction. That is "normal." |
I was having a similar error to @viggy96 . I tried your config, modified it with the new Falcon 500 IDs, and to use the NavX, however, I'm getting a list index out of range. Most likely due to no Encoder Ports in EDIT: attached image of Code |
Your config file looks good to me except for the fact that you have a Pigeon specified as the Gyro Type and I think you're using port 43 on the right and left ports. But these wouldn't explain the list error. Did you fill out the config under the CTRE selector? From your reply it seems like you pasted the majority of the config from somewhere else. If you did that under the |
Tool produces the following error when trying to generate a project:
The text was updated successfully, but these errors were encountered: