Closed drewwhis closed 4 years ago
I think I had originally said that the Sparks would need to be close to each other. That is still ideal, but it is most important that the Sparks be close to their Neos (so the encoder wire is long enough).
The biggest challenge, I think, will be getting the absolute encoders (one per module) to the roboRIO.
re: the absolute encoder wiring.
The three wires are 26 AWG. We can break the wire and splice in additional wire to make them long enough for what we need. Shouldn't be terribly difficult - just possibly time consuming.
We should use the PWM wires that are in the rub with the encoder wires. They already have the end that goes to the roboRIO on them; we just have to look up which PWM wire goes to which encoder wire. (https://www.andymark.com/products/3-pin-encoder-cable)
When everything is hooked up, we should test by commenting out the line in SwerveModule that sets the drive motor.
Then we should turn on the drive motor but turn off the turn motor.
Then we can test with both.
@HeathHudson We got the Sparks mounted to some polycarb plates to be placed on the robot. The PDP and the main breaker were added to another sheet.
@mwn319 should be able to get you up to speed (Charlie, too).
@mwn319 where are we at on this?
I had to take the sparks off of the sheet they were on and cut the sheets because they were too big. We started mounting them on the undercarriage.
@mwn319 @HeathHudson if you get to the CAN wiring tonight, the parts that plug into the SparkMax are in a SparkMax box on the table or in the red tote.
There's also a SparkMax box (either on the table or in the red tote) that has clips to make sure the CAN wires stay connected.
It would be nice if we didn't have to cut the terminals off any CAN wires, but I don't know if we have the materials to make our own clips.
@mwn319 @HeathHudson this is done for testing. I'll add a task to cleanup/maintain the wiring for the final product.
We may need to get some longer wires for the absolute encoders.