2017:Robot IO Map: Difference between revisions
No edit summary |
Programming (talk | contribs) No edit summary |
||
(47 intermediate revisions by 4 users not shown) | |||
Line 3: | Line 3: | ||
== CAN ID Assignments == | == CAN ID Assignments == | ||
{| style="width: | {| style="width: 855px;" cellspacing="1" cellpadding="2" border="1" | ||
|- | |- | ||
| style="text-align: center" | '''ID''' | | style="text-align: center" | '''ID''' | ||
Line 11: | Line 11: | ||
| style="width: 210px; text-align: center" | '''Description'''<br/>(brief) | | style="width: 210px; text-align: center" | '''Description'''<br/>(brief) | ||
| style="width: 224px; text-align: center" | '''Operation'''<br/> | | style="width: 224px; text-align: center" | '''Operation'''<br/> | ||
| style="width: | | style="width: 175px; text-align: center;" rowspan="1" colspan="2" | | ||
'''Notes''' | |||
'''(8) max. 40A PDB #''' | |||
|- | |- | ||
| style="text-align: center" | 0 | | style="text-align: center" | 0 | ||
Line 20: | Line 24: | ||
| style="width: 224px; text-align: center" | monitor PD | | style="width: 224px; text-align: center" | monitor PD | ||
| style="width: 115px" | <p style="text-align: center">must be CAN 0</p> | | style="width: 115px" | <p style="text-align: center">must be CAN 0</p> | ||
| style="width: 55px;" | <br/> | |||
|- | |- | ||
| style="text-align: center" | 1 | | style="text-align: center" | 1 | ||
Line 25: | Line 30: | ||
| style="text-align: center" | n/a | | style="text-align: center" | n/a | ||
| style="text-align: center" | <br/> | | style="text-align: center" | <br/> | ||
| style="width: 210px; text-align: center" | Factory-default<br/>allows for adding | | style="width: 210px; text-align: center" | Factory-default<br/>allows for adding new device quickly and re-assign its ID | ||
| style="width: 224px; text-align: center" | <br/> | | style="width: 224px; text-align: center" | <br/> | ||
| style="width: 115px; text-align: center" | don't use | | style="width: 115px; text-align: center" | don't use | ||
| style="width: 55px; text-align: center;" | <br/> | |||
|- | |- | ||
| style="text-align: center" | 2 | | style="text-align: center" | <s>2</s> | ||
| style="text-align: center" | Drivetrain | | style="text-align: center" | <s>Drivetrain</s> | ||
| style="text-align: center" | motor | | style="text-align: center" | <s>motor</s> | ||
| style="text-align: center" | CIM | | style="text-align: center" | <s>CIM</s> | ||
| style="width: 210px; text-align: center" | Left drive motor | | style="width: 210px; text-align: center" | <s>Left drive motor</s> | ||
| style="width: 224px; text-align: center" | | | style="width: 224px; text-align: center" | <s>Positive voltage moves robot '''backwards'''</s> | ||
| style="width: 115px; text-align: center" | 40A Breaker | | style="width: 115px; text-align: center" | <s>40A Breaker</s> | ||
| style="width: 55px; text-align: center;" | <br/> | |||
|- | |- | ||
| style="text-align: center" | 3 | | style="text-align: center" | <s>3</s> | ||
| style="text-align: center" | Drivetrain | | style="text-align: center" | <s>Drivetrain</s> | ||
| style="text-align: center" | <span style="text-align: center | | style="text-align: center" | <s><span style="text-align: center">motor</span></s><br/> | ||
| style="text-align: center" | CIM | | style="text-align: center" | <s>CIM</s> | ||
| style="width: 210px; text-align: center" | <span style="text-align: center | | style="width: 210px; text-align: center" | <s><span style="text-align: center">Left drive motor</span></s><br/> | ||
| style="width: 224px; text-align: center" | <span style="text-align: center | | style="width: 224px; text-align: center" | <s><span style="text-align: center">Positive voltage moves robot '''backwards'''</span></s><br/> | ||
| style="width: 115px; text-align: center" | <span style="text-align: center | | style="width: 115px; text-align: center" | <s><span style="text-align: center">40A Breaker</span></s><br/> | ||
| style="width: 55px; text-align: center;" | <br/> | |||
|- | |- | ||
| style="text-align: center" | 4 | | style="text-align: center" | <s>4</s> | ||
| style="text-align: center" | <span style="text-align: center | | style="text-align: center" | <s><span style="text-align: center">Drivetrain</span></s><br/> | ||
| style="text-align: center" | <span style="text-align: center | | style="text-align: center" | <s><span style="text-align: center">motor</span></s><br/> | ||
| style="text-align: center" | miniCIM | | style="text-align: center" | <s>miniCIM</s> | ||
| style="width: 210px; text-align: center" | <span style="text-align: center | | style="width: 210px; text-align: center" | <s><span style="text-align: center">Left drive motor</span></s><br/> | ||
| style="width: 224px; text-align: center" | <span style="text-align: center | | style="width: 224px; text-align: center" | <s><span style="text-align: center">Positive voltage moves robot '''backwards'''</span></s><br/> | ||
| style="width: 115px; text-align: center" | <span style="text-align: center | | style="width: 115px; text-align: center" | <s><span style="text-align: center">30A Breaker</span></s><br/> | ||
| style="width: 55px; text-align: center;" | <br/> | |||
|- | |- | ||
| style="text-align: center" | 5 | | style="text-align: center" | <s>5</s> | ||
| style="text-align: center" | <span style="text-align: center | | style="text-align: center" | <s><span style="text-align: center">Drivetrain</span></s><br/> | ||
| style="text-align: center" | <span style="text-align: center | | style="text-align: center" | <s><span style="text-align: center">motor</span></s><br/> | ||
| style="text-align: center" | CIM | | style="text-align: center" | <s>CIM</s> | ||
| style="width: 210px; text-align: center" | Right drive motor | | style="width: 210px; text-align: center" | <s>Right drive motor</s> | ||
| style="width: 224px; text-align: center" | <span style="text-align: center | | style="width: 224px; text-align: center" | <s><span style="text-align: center">Positive voltage moves robot forward</span></s><br/> | ||
| style="width: 115px; text-align: center" | <span style="text-align: center | | style="width: 115px; text-align: center" | <s><span style="text-align: center">40A Breaker</span></s><br/> | ||
| style="width: 55px; text-align: center;" | <br/> | |||
|- | |- | ||
| style="text-align: center" | 6 | | style="text-align: center" | <s>6</s> | ||
| style="text-align: center" | <span style="text-align: center | | style="text-align: center" | <s><span style="text-align: center">Drivetrain</span></s><br/> | ||
| style="text-align: center" | <span style="text-align: center | | style="text-align: center" | <s><span style="text-align: center">motor</span></s><br/> | ||
| style="text-align: center" | CIM | | style="text-align: center" | <s>CIM</s> | ||
| style="width: 210px; text-align: center" | <span style="text-align: center | | style="width: 210px; text-align: center" | <s><span style="text-align: center">Right drive motor</span></s><br/> | ||
| style="width: 224px; text-align: center" | <span style="text-align: center | | style="width: 224px; text-align: center" | <s><span style="text-align: center">Positive voltage moves robot forward</span></s><br/> | ||
| style="width: 115px; text-align: center" | <span style="text-align: center | | style="width: 115px; text-align: center" | <s><span style="text-align: center">40A Breaker</span></s><br/> | ||
| style="width: 55px; text-align: center;" | <br/> | |||
|- | |- | ||
| style="text-align: center" | 7 | | style="text-align: center" | 7 | ||
| style="text-align: center" | <span style="text-align: center | | style="text-align: center" | <span style="text-align: center">Conveyor</span><br/> | ||
| style="text-align: center" | <span style="text-align: center | | style="text-align: center" | <span style="text-align: center">motor</span><br/> | ||
| style="text-align: center" | | | style="text-align: center" | 775 Pro | ||
| style="width: 210px; text-align: center" | <span style="text-align: center | | style="width: 210px; text-align: center" | <span style="text-align: center">Shooter feeder</span><br/> | ||
| style="width: 224px; text-align: center" | <span style="text-align: center | | style="width: 224px; text-align: center" | <span style="text-align: center">Positive voltage intakes balls into shooter</span><br/> | ||
| style="width: 115px; text-align: center" | <span style="text-align: center | | style="width: 115px; text-align: center" | <span style="text-align: center">30A Breaker</span><br/> | ||
| style="width: 55px; text-align: center;" | 2 | |||
|- | |- | ||
| style="text-align: center" | 8 | | style="text-align: center" | 8 | ||
| style="text-align: center" | Fuel Intake | | style="text-align: center" | Fuel Intake | ||
| style="text-align: center" | motor | | style="text-align: center" | motor | ||
| style="text-align: center" | | | style="text-align: center" | 775 Pro<br/> | ||
| style="width: 210px; text-align: center" | Intake roller | | style="width: 210px; text-align: center" | 1st stage Intake roller<br/> | ||
| style="width: 224px; text-align: center" | <br/> | | style="width: 224px; text-align: center" | Positive voltage intakes balls '''under''' bar<br/><br/> | ||
| style="width: 115px; text-align: center" | | | style="width: 115px; text-align: center" | 30A breaker | ||
| style="width: 55px; text-align: center;" | 13 | |||
|- | |- | ||
| style="text-align: center" | 9 | | style="text-align: center" | 9 | ||
| style="text-align: center" | Shooter | | style="text-align: center" | Shooter | ||
| style="text-align: center" | motor | | style="text-align: center" | motor | ||
| style="text-align: center" | | | style="text-align: center" | 775 Pro<br/> | ||
| style="width: 210px; text-align: center" | | | style="width: 210px; text-align: center" | Shooter rotation, "master" motor | ||
| style="width: 224px; text-align: center" | | | style="width: 224px; text-align: center" | Positive voltage spins in direction to shoot balls<br/>'''Direct connect CTRE mag encoder in gearbox to this controller''' | ||
| style="width: 115px; text-align: center" | 40A breaker | | style="width: 115px; text-align: center" | 40A breaker | ||
| style="width: 55px; text-align: center;" | 9 | |||
|- | |- | ||
| style="text-align: center" | 10 | | style="text-align: center" | 10 | ||
| style="text-align: center" | | | style="text-align: center" | Shooter | ||
| style="text-align: center" | motor | | style="text-align: center" | motor | ||
| style="text-align: center" | | | style="text-align: center" | 775 Pro<br/> | ||
| style="width: 210px; text-align: center" | | | style="width: 210px; text-align: center" | Shooter rotation, "slave" motor | ||
| style="width: 224px; text-align: center" | | | style="width: 224px; text-align: center" | See master | ||
| style="width: 115px; text-align: center" | | | style="width: 115px; text-align: center" | 40A breaker | ||
| style="width: 55px; text-align: center;" | 10 | |||
|- | |- | ||
| style="text-align: center" | 11 | | style="text-align: center" | 11 | ||
| style="text-align: center" | Fuel Transition | | style="text-align: center" | Fuel Transition<br/> | ||
| style="text-align: center" | motor | | style="text-align: center" | motor | ||
| style="text-align: center" | | | style="text-align: center" | 775 Pro<br/> | ||
| style="width: 210px; text-align: center" | | | style="width: 210px; text-align: center" | 2nd stage intake roller<br/> | ||
| style="width: 224px; text-align: center;" | | | style="width: 224px; text-align: center" | Positive voltage intakes balls '''over''' bar<br/> | ||
| style="width: | | style="width: 115px; text-align: center" | 30A breaker | ||
| style="width: 55px; text-align: center;" | 14 | |||
|- | |- | ||
| 12 | | 12 | ||
| style="text-align: center | | style="text-align: center" | Fuel Transition | ||
| style="text-align: center | | style="text-align: center" | motor | ||
| style="text-align: center | | style="text-align: center" | 775 Pro<br/> | ||
| style="width: 210px; text-align: center | | style="width: 210px; text-align: center" | Conveyor<br/> | ||
| style="width: 224px; text-align: center | | style="width: 224px; text-align: center" | Positive voltage runs conveyor towards shooter | ||
| style="width: | | style="width: 115px; text-align: center" | 30A breaker | ||
| style="width: 55px; text-align: center;" | 15 | |||
|- | |- | ||
| 13 | | 13 | ||
| | | style="text-align: center" | <br/> | ||
| <br/> | | style="text-align: center" | <br/> | ||
| <br/> | | <br/> | ||
| style="width: 210px" | | | style="width: 210px; text-align: center" | <br/> | ||
| style="width: 224px" | <br/> | | style="width: 224px" | <br/> | ||
| style="width: 115px" | | | style="width: 115px; text-align: center" | <br/> | ||
| style="width: 55px; text-align: center;" | <br/> | |||
|- | |- | ||
| 14 | | 14 | ||
| | | Climber | ||
| | | style="text-align: center;" | motor | ||
| | | 775 pro | ||
| style="width: 210px" | | | style="width: 210px" | Climber motor, "Master" | ||
| style="width: 224px" | <br/> | | style="width: 224px" | Positive voltage winds rope "under" bar in towards robot<br/> | ||
| style="width: 115px" | | | style="width: 115px; text-align: center;" | 40A breaker | ||
| style="width: 55px; text-align: center;" | 11 | |||
|- | |- | ||
| 15 | | 15 | ||
| | | Climber | ||
| | | style="text-align: center;" | motor | ||
| | | 775 pro | ||
| style="width: 210px" | | | style="width: 210px" | Climber motor, "Slave" | ||
| style="width: 224px" | <br/> | | style="width: 224px" | See Master<br/> | ||
| style="width: 115px" | | | style="width: 115px; text-align: center;" | 40A breaker | ||
| style="width: 55px; text-align: center;" | 12 | |||
|} | |} | ||
== PWM Outputs == | == PWM Outputs == | ||
{| style="width: | {| style="width: 902px;" border="1" cellpadding="2" cellspacing="1" | ||
|- | |- | ||
| '''ID''' | | '''ID''' | ||
Line 156: | Line 176: | ||
| style="width: | | style="width: 198px; text-align: center;" rowspan="1" colspan="2" | | ||
'''Notes''' | |||
'''(8) max. 40A PDB # ''' | |||
|- | |||
| 0 | |||
| style="width: 82px" | Drivetrain | |||
| style="width: 76px" | SPARK | |||
| style="width: 54px" | CIM | |||
| style="width: 170px" | Drivetrain Left (L1) | |||
| style="width: 280px" | Positive Voltage Moves Robot '''Foward''' | |||
| style="width: 125px; text-align: center;" | 40A | |||
| style="width: 72px; text-align: center;" | 5 | |||
|- | |- | ||
| 0 | | 0 | ||
| style="width: 82px" | Drivetrain | | style="width: 82px" | Drivetrain | ||
| style="width: 76px" | | | style="width: 76px" | SPARK | ||
| style="width: 54px" | | | style="width: 54px" | CIM | ||
| style="width: 170px" | Drivetrain Left (L2) | |||
| style="width: 280px" | Positive Voltage Moves Robot '''Foward'''<br/> | |||
| style="width: 125px; text-align: center;" | 40A | |||
| style="width: 72px; text-align: center;" | 6 | |||
| style="width: 170px" | Left | |||
| style="width: 280px" | | |||
| style="width: 125px" | | |||
40A | |||
|- | |- | ||
| 1 | | 1 | ||
| style="width: 82px" | Drivetrain | | style="width: 82px" | Drivetrain | ||
| style="width: 76px" | | | style="width: 76px" | SPARK | ||
| style="width: 54px" | | | style="width: 54px" | miniCIM | ||
2 | | style="width: 170px" | Drivetrain Left (L3) | ||
| style="width: 280px" | Positive Voltage Moves Robot '''Foward'''<br/> | |||
| style="width: 125px; text-align: center;" | 30A | |||
| style="width: 72px; text-align: center;" | 3 | |||
| style="width: 170px" | Right | |- | ||
| style="width: 280px" | | | 2 | ||
| style="width: 125px" | | | style="width: 82px" | Drivetrain | ||
40A | | style="width: 76px" | SPARK | ||
| style="width: 54px" | CIM | |||
| style="width: 170px" | Drivetrain Right (R1) | |||
| style="width: 280px" | Positive Voltage Moves Robot '''Backwards''' | |||
| style="width: 125px; text-align: center;" | 40A | |||
| style="width: 72px; text-align: center;" | 8 | |||
|- | |- | ||
| 2 | | 2 | ||
| style="width: 82px" | Drivetrain | |||
| style="width: 76px" | SPARK | |||
| style="width: 54px" | CIM | |||
| style="width: 170px" | Drivetrain Right (R2) | |||
| style="width: 280px" | Positive Voltage Moves Robot '''Backwards''' | |||
| style="width: 125px; text-align: center;" | 40A | |||
| style="width: 72px; text-align: center;" | 7 | |||
|- | |||
| 3 | |||
| style="width: 82px" | Drivetrain | |||
| style="width: 76px" | SPARK | |||
| style="width: 54px" | miniCIM | |||
| style="width: 170px" | Drivetrain Right (R3) | |||
| style="width: 280px" | Positive Voltage Moves Robot '''Backwards'''<br/> | |||
| style="width: 125px; text-align: center;" | 30A | |||
| style="width: 72px; text-align: center;" | 4 | |||
|- | |||
| 4 | |||
| style="width: 82px" | Gear | | style="width: 82px" | Gear | ||
| style="width: 76px" | | | style="width: 76px" | Serov | ||
| style="width: 54px" | <br/> | | style="width: 54px" | <br/> | ||
| style="width: 170px" | | | style="width: 170px" | Open/Close Left Side | ||
| style="width: 280px" | | | style="width: 280px" | | ||
| style="width: 125px" | <br/> | | style="width: 125px" | <br/> | ||
| style="width: 72px;" | <br/> | |||
|- | |- | ||
| | | 5 | ||
| style="width: 82px" | Gear | | style="width: 82px" | Gear | ||
| style="width: 76px" | | | style="width: 76px" | Serov | ||
| style="width: 54px" | <br/> | | style="width: 54px" | <br/> | ||
| style="width: 170px" | | | style="width: 170px" | Open/Close Right Side | ||
| style="width: 280px" | | | style="width: 280px" | | ||
| style="width: 125px" | <br/> | | style="width: 125px" | <br/> | ||
| style="width: 72px;" | <br/> | |||
|- | |- | ||
| | | 6 | ||
| style="width: 82px" | | | style="width: 82px" | Climber | ||
| style="width: 76px" | | | style="width: 76px" | Servo | ||
| style="width: 54px" | | | style="width: 54px" | | ||
| style="width: 170px" | | | style="width: 170px" | Deploy Climber | ||
| style="width: 280px" | <br/> | | style="width: 280px" | <br/> | ||
| style="width: 125px" | | | style="width: 125px" | | ||
| style="width: 72px;" | <br/> | |||
|- | |- | ||
| | | 7 | ||
| style="width: 82px" | | | style="width: 82px" | | ||
| style="width: 76px" | <br/> | | style="width: 76px" | <br/> | ||
Line 221: | Line 270: | ||
| style="width: 280px" | <br/> | | style="width: 280px" | <br/> | ||
| style="width: 125px" | | | style="width: 125px" | | ||
| style="width: 72px;" | <br/> | |||
|- | |- | ||
| | | 8 | ||
| style="width: 82px" | <br/> | | style="width: 82px" | <br/> | ||
| style="width: 76px" | <br/> | | style="width: 76px" | <br/> | ||
Line 229: | Line 279: | ||
| style="width: 280px" | <br/> | | style="width: 280px" | <br/> | ||
| style="width: 125px" | <br/> | | style="width: 125px" | <br/> | ||
| style="width: 72px;" | <br/> | |||
|- | |- | ||
| | | 9 | ||
| style="width: 82px" | <br/> | | style="width: 82px" | <br/> | ||
| style="width: 76px" | <br/> | | style="width: 76px" | <br/> | ||
Line 237: | Line 288: | ||
| style="width: 280px" | <br/> | | style="width: 280px" | <br/> | ||
| style="width: 125px" | <br/> | | style="width: 125px" | <br/> | ||
| style="width: 72px;" | <br/> | |||
|- | |- | ||
| | | <br/> | ||
| style="width: 82px" | | | style="width: 82px" | | ||
| style="width: 76px" | <br/> | | style="width: 76px" | <br/> | ||
Line 245: | Line 297: | ||
| style="width: 280px" | <br/> | | style="width: 280px" | <br/> | ||
| style="width: 125px" | | | style="width: 125px" | | ||
| style="width: 72px;" | <br/> | |||
|- | |- | ||
| | | <br/> | ||
| style="width: 82px" | | | style="width: 82px" | | ||
| style="width: 76px" | <br/> | | style="width: 76px" | <br/> | ||
Line 253: | Line 306: | ||
| style="width: 280px" | <br/> | | style="width: 280px" | <br/> | ||
| style="width: 125px" | | | style="width: 125px" | | ||
| style="width: 72px;" | <br/> | |||
|} | |} | ||
Line 320: | Line 374: | ||
|- | |- | ||
| 0 | | 0 | ||
| | | <br/> | ||
| style="width: 70px" | | | style="width: 70px" | <br/> | ||
| style="width: 54px" | | | style="width: 54px" | | ||
| style="width: 227px" | | | style="width: 227px" | <br/> | ||
| style="width: 262px" | | | style="width: 262px" | <br/> | ||
| style="width: 132px" | | | style="width: 132px" | | ||
| style="width: 91px" | | | style="width: 91px; text-align: center;" | | ||
|- | |- | ||
| 1 | | 1 | ||
| | | Drive | ||
| style="width: 70px" | | | style="width: 70px" | gyro | ||
| style="width: 54px" | | | style="width: 54px" | ADXRS622 | ||
| style="width: 227px" | | | style="width: 227px" | gyro | ||
| style="width: 262px" | | | style="width: 262px" | telling angle and rate in auto | ||
| style="width: 132px" | | | style="width: 132px" | | ||
2.5v = null | |||
7mV/degree/sec | |||
| style="width: 91px" | | | style="width: 91px" | | ||
|- | |- | ||
Line 447: | Line 505: | ||
| style="width: 69px;" | Drivetrain | | style="width: 69px;" | Drivetrain | ||
| style="width: 73px;" | Shaft Encoder | | style="width: 73px;" | Shaft Encoder | ||
| style="width: 52px;" | | | style="width: 52px;" | | ||
61KS256 | |||
| style="width: 194px;" | Left Encoder Phase A | | style="width: 194px;" | Left Encoder Phase A | ||
| style="width: 253px;" | Drivetrain rotation | | style="width: 253px;" | Drivetrain rotation | ||
| style="width: 118px;" | | | style="width: 118px;" | Green | ||
|- | |- | ||
| 1 | | 1 | ||
Line 456: | Line 516: | ||
| style="width: 69px;" | Drivetrain | | style="width: 69px;" | Drivetrain | ||
| style="width: 73px;" | Shaft Encoder | | style="width: 73px;" | Shaft Encoder | ||
| style="width: 52px;" | | | style="width: 52px;" | | ||
61KS256 | |||
| style="width: 194px;" | Left Encoder Phase B | | style="width: 194px;" | Left Encoder Phase B | ||
| style="width: 253px;" | Drivetrain rotation | | style="width: 253px;" | Drivetrain rotation | ||
Line 465: | Line 527: | ||
| style="width: 69px;" | Drvietrain | | style="width: 69px;" | Drvietrain | ||
| style="width: 73px;" | Shaft Encoder | | style="width: 73px;" | Shaft Encoder | ||
| style="width: 52px;" | | | style="width: 52px;" | | ||
61KS256 | |||
| style="width: 194px;" | Right Encoder Phase A | | style="width: 194px;" | Right Encoder Phase A | ||
| style="width: 253px;" | Drivetrain rotation | | style="width: 253px;" | Drivetrain rotation | ||
| style="width: 118px;" | | | style="width: 118px;" | Green | ||
|- | |- | ||
| 3 | | 3 | ||
Line 474: | Line 538: | ||
| style="width: 69px;" | Drivetrain | | style="width: 69px;" | Drivetrain | ||
| style="width: 73px;" | Shaft Encoder | | style="width: 73px;" | Shaft Encoder | ||
| style="width: 52px;" | | | style="width: 52px;" | | ||
61KS256 | |||
| style="width: 194px;" | Right Encoder Phase B | | style="width: 194px;" | Right Encoder Phase B | ||
| style="width: 253px;" | Drivetrain rotation | | style="width: 253px;" | Drivetrain rotation | ||
Line 482: | Line 548: | ||
| IN | | IN | ||
| style="width: 69px;" | Fuel Intake | | style="width: 69px;" | Fuel Intake | ||
| style="width: 73px;" | Shaft Encoder | | style="width: 73px;" | Shaft Encoder (phase A only) | ||
| style="width: 52px;" | | | style="width: 52px;" | | ||
| style="width: 194px;" | | 63R256 | ||
| style="width: 253px;" | | |||
| style="width: 194px;" | Speed Encoder phase A | |||
| style="width: 253px;" | Indicates Intake Speed | |||
| style="width: 118px;" | | | style="width: 118px;" | | ||
|- | |- | ||
| 5 | | 5 | ||
| | | OUT | ||
| style="width: 69px;" | | | style="width: 69px;" | Lights | ||
| style="width: 73px;" | | | style="width: 73px;" | | ||
| style="width: 52px;" | | | style="width: 52px;" | | ||
| style="width: 194px;" | | | style="width: 194px;" | | ||
| style="width: 253px;" | | | style="width: 253px;" | | ||
| style="width: 118px;" | | | style="width: 118px;" | | ||
|- | |- | ||
| 6 | | 6 | ||
| IN | | IN | ||
| style="width: 69px;" | | | style="width: 69px;" | <br/> | ||
| style="width: 73px;" | | | style="width: 73px;" | | ||
| style="width: 52px;" | | | style="width: 52px;" | | ||
| style="width: 194px;" | | | style="width: 194px;" | <br/> | ||
| style="width: 253px;" | | | style="width: 253px;" | <br/> | ||
| style="width: 118px;" | | | style="width: 118px; text-align: center;" | | ||
|- | |- | ||
| 7 | | 7 | ||
| IN | | IN | ||
| style="width: 69px;" | Gear | | style="width: 69px;" | Gear | ||
| style="width: 73px;" | | | style="width: 73px;" | Optical Beam | ||
| style="width: 52px;" | | | style="width: 52px;" | Banner | ||
| style="width: 194px;" | | | style="width: 194px;" | Beam Break Sensor | ||
| style="width: 253px;" | | | style="width: 253px;" | Indicates Spike Fully Engaged | ||
| style="width: 118px;" | | | style="width: 118px; text-align: center;" | | ||
|- | |- | ||
| 8 | | 8 | ||
| IN | | IN | ||
| style="width: 69px;" | | | style="width: 69px;" | Fuel Transition | ||
| style="width: 73px;" | | | style="width: 73px;" | Encoder (phase A only) | ||
| style="width: 52px;" | | | style="width: 52px;" | | ||
| style="width: 194px;" | | CTR Mag Encoder | ||
| style="width: 253px;" | | |||
| style="width: 118px;" | | | style="width: 194px;" | Speed Encoder Phase A | ||
| style="width: 253px;" | Indicates Conveyor Speed | |||
| style="width: 118px;" | This is the assembly closest to the roboRIO board. | |||
|- | |- | ||
| 9 | | 9 | ||
| | | IN | ||
| style="width: 69px;" | | | style="width: 69px;" | | ||
| style="width: 73px;" | | | style="width: 73px;" | | ||
Line 814: | Line 880: | ||
|- | |- | ||
| 0 | | 0 | ||
| style="width: 76px" | | | style="width: 76px" | Gear | ||
| style="width: 75px" | | | style="width: 75px" | Camera | ||
| style="width: 53px" | | | style="width: 53px" | Microsoft LifeCam HD-3000 | ||
| style="width: 205px" | | | style="width: 205px" | Camera giving front view | ||
| style="width: 241px" | | | style="width: 241px" | | ||
| style="width: 112px" | | | style="width: 112px" | '''Focus on view of gear spike approach''' | ||
|- | |- | ||
| 1 | | 1 | ||
| style="width: 76px" | | | style="width: 76px" | Climber | ||
| style="width: 75px" | | | style="width: 75px" | Camera | ||
| style="width: 53px" | | | style="width: 53px" | Microsoft LifeCam HD-3000 | ||
| style="width: 205px" | | | style="width: 205px" | Camera giving robot's left-side-view | ||
| style="width: 241px" | | | style="width: 241px" | | ||
| style="width: 112px" | | | style="width: 112px" | ''' Focus on view of rope alignment with climber bar''' | ||
|} | |} | ||
Line 927: | Line 993: | ||
|- | |- | ||
| Left Joystick Y | | Left Joystick Y | ||
| Moves the robot forward/back | |||
| | | | ||
"Up drive the robot forward (Intake side)<br/>Down drives the robot backward " | |||
NOTE: will do the opposite if drive is toggled | |||
|- | |- | ||
| Right Joystick X | | Right Joystick X | ||
| <span style="color: rgb(0, 0, 0); font-family: sans-serif; font-size: 12.7px;">Turns the robot Left / Right</span><br/> | |||
| | | | ||
"Right will turn the robot clockwise and vice<br/>versa. With no input from the left Joytick,<br/>does point turn. With input from left, does<br/>curve turn" | |||
NOTE: will do the opposite if drive is toggled | |||
|- | |- | ||
| Left Bumper | | Left Bumper | ||
| | | <span style="color: rgb(0, 0, 0); font-family: sans-serif; font-size: 12.7px;">Slow mode for left wheels</span><br/> | ||
| | | <span style="color: rgb(0, 0, 0); font-family: sans-serif; font-size: 12.7px;">"decreases the range of power to the left</span><br/><span style="color: rgb(0, 0, 0); font-family: sans-serif; font-size: 12.7px;">motors by a set amount. Amount tbd"</span> | ||
|- | |- | ||
| Right Bumper | | Right Bumper | ||
| | | <span style="color: rgb(0, 0, 0); font-family: sans-serif; font-size: 12.7px;">Slow mode for Right wheels</span><br/> | ||
| | | <span style="color: rgb(0, 0, 0); font-family: sans-serif; font-size: 12.7px;">"decreases the range of power to the Righ</span><br/><span style="color: rgb(0, 0, 0); font-family: sans-serif; font-size: 12.7px;">motors by a set amount. Amount tbd"</span> | ||
|- | |- | ||
| Left Trigger | | Left Trigger | ||
| | | <span style="color: rgb(0, 0, 0); font-family: sans-serif; font-size: 12.7px;">turbo mode for left wheels</span><br/> | ||
| | | <span style="color: rgb(0, 0, 0); font-family: sans-serif; font-size: 12.7px;">"Increases the range of power to the left motors by a set amount. Amount tbd"</span> | ||
|- | |- | ||
| Right Trigger<br/> | | Right Trigger<br/> | ||
| | | turbo mode for right wheels | ||
| | | <span style="color: rgb(0, 0, 0); font-family: sans-serif; font-size: 12.7px;">"Increases the range of power to the right motors by a set amount. Amount tbd"</span> | ||
|- | |- | ||
| Y button | | Y button | ||
| n/a | |||
| | | | ||
CASEY SAID HE DOESNT NEED A CAMERA, ANDREW AGREED | |||
Update: upon further review Andrew is now worried about climbing the rope on the other side | |||
Update: Casey has now decided that he does think a camera would be useful | |||
|- | |- | ||
| A button | | A button | ||
| | | toggle drive | ||
| | | | ||
|} | |} | ||
Line 967: | Line 1,047: | ||
| Details | | Details | ||
|- | |- | ||
| | | <br/> | ||
| <br/> | |||
| <br/> | |||
| | |||
| | |||
|- | |- | ||
| Right Bumper | | Right Bumper | ||
| | | Intake | ||
| | | hold to run intake, conveyor, and drum so balls are brought into the robot | ||
|- | |- | ||
| Right Trigger | | Right Trigger | ||
| | | Outtake | ||
| | | hold to run intake, conveyor, and drum so balls are spit out of the robot | ||
|- | |- | ||
| | | Left Trigger | ||
| | | Release gear | ||
| | | press button to open gear mechanism and release button to close gear mechanism | ||
|- | |- | ||
| | | <s>Left Bumper</s> | ||
| | | <s>Close gear thing</s> | ||
| | | <s>press and release button to close gear mechanism</s> | ||
|- | |- | ||
| | | Dpad Up<br/> | ||
| | | Climb up<br/> | ||
| | | hold to climb | ||
|- | |- | ||
| | | Y button | ||
| | | Calibrate Gyro | ||
| | | press button to calibrate gyro | ||
|- | |- | ||
| A button | | A button | ||
| | | Shoot | ||
| | | hold to shoot (checks shooter up to speed, run gate mechanism, also run intake/conveyor/drum | ||
|- | |- | ||
| | | X button | ||
| | | Pre-heat | ||
| | | | ||
hold to run shooter motor at speed (doesnt mess with gate) | |||
|} | |} | ||
Line 1,021: | Line 1,091: | ||
|- | |- | ||
| Broken Switch1 | | Broken Switch1 | ||
| | | Shooter | ||
| | | Speed encoder broken | ||
|- | |- | ||
| Broken Switch2 | | Broken Switch2 | ||
| | | Gear | ||
| | | Spike present sensor broken | ||
|- | |- | ||
| Broken Switch3 | | Broken Switch3 | ||
| | | Bucket Conveyor | ||
| | | Encoder Broken | ||
|- | |- | ||
| Broken Switch4 | | Broken Switch4 | ||
| | | Drive Left | ||
| | | Left encoder broken | ||
|- | |- | ||
| Broken Switch5<br/> | | Broken Switch5<br/> | ||
| | | Drive Right | ||
| | | Right encoder broken | ||
|- | |- | ||
| Broken Switch6<br/> | | Broken Switch6<br/> |
Latest revision as of 20:20, 18 February 2017
Robot I/O
CAN ID Assignments
ID | Subsystem | Component Type |
Model # | Description (brief) |
Operation |
Notes (8) max. 40A PDB # | |
0 | Electrical | PD Module |
Power Distribution Module feedback | monitor PD | must be CAN 0 |
||
1 | RESERVED | n/a | Factory-default allows for adding new device quickly and re-assign its ID |
don't use | |||
7 | Conveyor |
motor |
775 Pro | Shooter feeder |
Positive voltage intakes balls into shooter |
30A Breaker |
2 |
8 | Fuel Intake | motor | 775 Pro |
1st stage Intake roller |
Positive voltage intakes balls under bar |
30A breaker | 13 |
9 | Shooter | motor | 775 Pro |
Shooter rotation, "master" motor | Positive voltage spins in direction to shoot balls Direct connect CTRE mag encoder in gearbox to this controller |
40A breaker | 9 |
10 | Shooter | motor | 775 Pro |
Shooter rotation, "slave" motor | See master | 40A breaker | 10 |
11 | Fuel Transition |
motor | 775 Pro |
2nd stage intake roller |
Positive voltage intakes balls over bar |
30A breaker | 14 |
12 | Fuel Transition | motor | 775 Pro |
Conveyor |
Positive voltage runs conveyor towards shooter | 30A breaker | 15 |
13 | |||||||
14 | Climber | motor | 775 pro | Climber motor, "Master" | Positive voltage winds rope "under" bar in towards robot |
40A breaker | 11 |
15 | Climber | motor | 775 pro | Climber motor, "Slave" | See Master |
40A breaker | 12 |
PWM Outputs
ID | Subsystem | Component Type |
Model # | Description (brief) |
Operation
|
Notes (8) max. 40A PDB # | |
0 | Drivetrain | SPARK | CIM | Drivetrain Left (L1) | Positive Voltage Moves Robot Foward | 40A | 5 |
0 | Drivetrain | SPARK | CIM | Drivetrain Left (L2) | Positive Voltage Moves Robot Foward |
40A | 6 |
1 | Drivetrain | SPARK | miniCIM | Drivetrain Left (L3) | Positive Voltage Moves Robot Foward |
30A | 3 |
2 | Drivetrain | SPARK | CIM | Drivetrain Right (R1) | Positive Voltage Moves Robot Backwards | 40A | 8 |
2 | Drivetrain | SPARK | CIM | Drivetrain Right (R2) | Positive Voltage Moves Robot Backwards | 40A | 7 |
3 | Drivetrain | SPARK | miniCIM | Drivetrain Right (R3) | Positive Voltage Moves Robot Backwards |
30A | 4 |
4 | Gear | Serov | Open/Close Left Side | ||||
5 | Gear | Serov | Open/Close Right Side | ||||
6 | Climber | Servo | Deploy Climber | ||||
7 | |||||||
8 | |||||||
9 | |||||||
Relay Outputs
ID | Subsystem | Component Type |
Model # | Description (brief) |
Operation |
Notes |
0 | ||||||
1 | ||||||
2 | ||||||
3 |
Analog IO
RoboRIO Analog Inputs
ID | Subsystem | Component Type |
Model # | Description (brief) |
Operation |
Voltage Range |
Notes |
0 | |||||||
1 | Drive | gyro | ADXRS622 | gyro | telling angle and rate in auto |
2.5v = null 7mV/degree/sec |
|
2 | |||||||
3 |
Rev Robotics More Board Analog IO
ID | Subsystem | Component Type |
Model # | Description (brief) |
Operation |
Voltage Range |
Notes |
AIN0 | |||||||
AIN1 | |||||||
AIN2 | |||||||
AIN3 | |||||||
AOUT0 | |||||||
AOUT1 |
Digital IO (GPIO)
RoboRio IO
ID | Direction (IN/OUT) |
Subsystem | Component Type |
Model # | Description (brief) |
Operation |
Notes |
0 | IN | Drivetrain | Shaft Encoder |
61KS256 |
Left Encoder Phase A | Drivetrain rotation | Green |
1 | IN | Drivetrain | Shaft Encoder |
61KS256 |
Left Encoder Phase B | Drivetrain rotation | |
2 | IN | Drvietrain | Shaft Encoder |
61KS256 |
Right Encoder Phase A | Drivetrain rotation | Green |
3 | IN | Drivetrain | Shaft Encoder |
61KS256 |
Right Encoder Phase B | Drivetrain rotation | |
4 | IN | Fuel Intake | Shaft Encoder (phase A only) |
63R256 |
Speed Encoder phase A | Indicates Intake Speed | |
5 | OUT | Lights | |||||
6 | IN | ||||||
7 | IN | Gear | Optical Beam | Banner | Beam Break Sensor | Indicates Spike Fully Engaged | |
8 | IN | Fuel Transition | Encoder (phase A only) |
CTR Mag Encoder |
Speed Encoder Phase A | Indicates Conveyor Speed | This is the assembly closest to the roboRIO board. |
9 | IN |
Rev Robotics More Board IO
ID | Direction (IN/OUT) | Subsystem | Component Type | Model # | Description (brief) | Operation |
Notes |
0 | |||||||
1 | |||||||
2 | |||||||
3 | |||||||
4 | |||||||
5 | |||||||
6 | |||||||
7 | |||||||
8 | |||||||
9 | |||||||
10 | |||||||
11 | |||||||
12 | |||||||
13 | |||||||
14 | |||||||
15 |
I2C Registers
Address (e.g. 0100111X) |
Pin (e.g. GP0) |
Subsystem | Component Type |
Model # | Description (brief) |
Operation |
Notes |
0 | |||||||
1 | |||||||
2 | |||||||
3 | |||||||
4 | |||||||
5 | |||||||
6 |
SPI Devices
# |
Subsystem | Component Type |
Model # | Description (brief) | Operation |
Notes |
USB Host Ports
Address |
Subsystem | Component Type |
Model # | Description (brief) | Operation |
Notes |
0 | Gear | Camera | Microsoft LifeCam HD-3000 | Camera giving front view | Focus on view of gear spike approach | |
1 | Climber | Camera | Microsoft LifeCam HD-3000 | Camera giving robot's left-side-view | Focus on view of rope alignment with climber bar |
Pneumatics Control Module
ID | Subsystem | Component Type |
Model # |
Description (brief) |
Operation |
Notes | Pressure Circuit |
0 | |||||||
1 | |||||||
2 | |||||||
3 | |||||||
4 | |||||||
5 | |||||||
6 | |||||||
7 |
Operator Controls
Controller 1 - Primary Driver
Action/Button | Description | Details |
Left Joystick Y | Moves the robot forward/back |
"Up drive the robot forward (Intake side) NOTE: will do the opposite if drive is toggled |
Right Joystick X | Turns the robot Left / Right |
"Right will turn the robot clockwise and vice NOTE: will do the opposite if drive is toggled |
Left Bumper | Slow mode for left wheels |
"decreases the range of power to the left motors by a set amount. Amount tbd" |
Right Bumper | Slow mode for Right wheels |
"decreases the range of power to the Righ motors by a set amount. Amount tbd" |
Left Trigger | turbo mode for left wheels |
"Increases the range of power to the left motors by a set amount. Amount tbd" |
Right Trigger |
turbo mode for right wheels | "Increases the range of power to the right motors by a set amount. Amount tbd" |
Y button | n/a |
CASEY SAID HE DOESNT NEED A CAMERA, ANDREW AGREED Update: upon further review Andrew is now worried about climbing the rope on the other side Update: Casey has now decided that he does think a camera would be useful |
A button | toggle drive |
Controller 2 - Aux Driver
Action/Button | Description | Details |
Right Bumper | Intake | hold to run intake, conveyor, and drum so balls are brought into the robot |
Right Trigger | Outtake | hold to run intake, conveyor, and drum so balls are spit out of the robot |
Left Trigger | Release gear | press button to open gear mechanism and release button to close gear mechanism |
Dpad Up |
Climb up |
hold to climb |
Y button | Calibrate Gyro | press button to calibrate gyro |
A button | Shoot | hold to shoot (checks shooter up to speed, run gate mechanism, also run intake/conveyor/drum |
X button | Pre-heat |
hold to run shooter motor at speed (doesnt mess with gate) |
Broken Switches
Broken Switch1 | Shooter | Speed encoder broken |
Broken Switch2 | Gear | Spike present sensor broken |
Broken Switch3 | Bucket Conveyor | Encoder Broken |
Broken Switch4 | Drive Left | Left encoder broken |
Broken Switch5 |
Drive Right | Right encoder broken |
Broken Switch6 |
||
Broken Switch7 |