2014:Robot IO Map: Difference between revisions
No edit summary |
Programming (talk | contribs) (→CAN ID Assignments: add roller motor) |
||
| Line 1: | Line 1: | ||
<span id=can></span> | <span id=can></span> | ||
= CAN ID Assignments = | = CAN ID Assignments = | ||
NOTE: each of these should also have a line in the Robot Map [[2014:Robot Sensors/Motors/Lights/Controls Map#motors|Motor table]] (the "Robot Map Updated?" column in the following table indicates if this was done) | NOTE: each of these should also have a line in the Robot Map [[2014:Robot Sensors/Motors/Lights/Controls Map#motors|Motor table]] (the "Robot Map Updated?" column in the following table indicates if this was done) | ||
{| border="1" cellpadding="2" cellspacing="1" | {| border="1" cellpadding="2" cellspacing="1" | ||
|- | |- | ||
| Line 51: | Line 53: | ||
| 9 | | 9 | ||
| Shooter | | Shooter | ||
| right front Kicker arm | | right front Kicker arm | ||
| yes | | yes | ||
|- | |- | ||
| Line 65: | Line 67: | ||
|- | |- | ||
| 12 | | 12 | ||
| Intake<br/> | |||
| roller motor<br/> | |||
| yes<br/> | |||
|- | |||
| 13<br/> | |||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| 14 | | 14 | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| 15 | | 15 | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| 16 | | 16 | ||
| | | | ||
| | | | ||
| | | | ||
|} | |} | ||
<span id=pwm></span> | |||
<span id="pwm"></span> | |||
= PWM Outputs = | = PWM Outputs = | ||
Revision as of 16:57, 19 January 2014
CAN ID Assignments
NOTE: each of these should also have a line in the Robot Map Motor table (the "Robot Map Updated?" column in the following table indicates if this was done)
| ID | Subsystem | Description (brief) |
Robot Map Updated? |
| 1 | RESERVED | Factory-default allows for adding Jaguar quickly and re-assign its ID |
n/a |
| 2 | Drivetrain | Left Front Drive | Yes |
| 3 | Drivetrain | Left Rear Drive | Yes |
| 4 | Drivetrain | Right Front Drive | Yes |
| 5 | Drivetrain | Right Rear Drive | Yes |
| 6 | Shooter | front left Kicker arm | yes |
| 7 | Shooter | mid left Kicker arm | yes |
| 8 | Shooter | back left Kicker arm | yes |
| 9 | Shooter | right front Kicker arm | yes |
| 10 | Shooter | right mid Kicker arm | yes |
| 11 | Shooter | right back Kicker arm | yes |
| 12 | Intake |
roller motor |
yes |
| 13 |
|||
| 14 | |||
| 15 | |||
| 16 |
PWM Outputs
NOTE: each of these should also have a line in the Robot Map Servors/Actuators table (the "Robot Map Updated?" column in the following table indicates if this was done)
| ID | Subsystem | Description (brief) |
Robot Map Updated? |
| 1 | shooter | front left kicker | yes |
| 2 | shooter | mid left kicker | yes |
| 3 | shooter | back left kicker | yes |
| 4 | shooter | right front kicker | yes |
| 5 | shooter | right mid kicker | yes |
| 6 | shooter | reight back kicker | yes |
| 7 | |||
| 8 | |||
| 9 | |||
| 10 |
Relay Outputs
NOTE: each of these should also have a line in the Robot Map Servors/Actuators table or the Lights table (the "Robot Map Updated?" column in the following table indicates if this was done)
| ID | Subsystem | Description (brief) |
Robot Map Updated? |
| 1 | |||
| 2 | |||
| 3 | |||
| 4 | |||
| 5 | |||
| 6 | |||
| 7 | |||
| 8 |
Analog Inputs
NOTE: each of these should also have a line in the Robot Map Sensors table (the "Robot Map Updated?" column in the following table indicates if this was done)
| ID | Subsystem | Description (brief) |
Robot Map Updated? |
| 1 | Drivetrain |
Gyro |
No |
| 2 | Intake | Position Potentiometer | Yes |
| 3 | Intake | Position Potentiometer - redundant | Yes |
| 4 | |||
| 5 | |||
| 6 | |||
| 7 | |||
| 8 | RESERVED | Battery Voltage input (Do not use for any other device) | n/a |
Digital IO (GPIO)
NOTE: each of these should also have a line in the Robot Map Sensors table or the Lights table (the "Robot Map Updated?" column in the following table indicates if this was done)
| ID | Direction (IN/OUT) |
Subsystem | Description (brief) |
Robot Map Updated? |
| 1 | IN | Drivetrain | Left Encoder, Phase A | yes |
| 2 | IN | Drivetrain | Left Encoder, Phase B | yes |
| 3 | IN | Drivetrain | Right Encoder, Phase A | yes |
| 4 | IN | Drivetrain | Right Encoder, Phase B | yes |
| 5 | IN | Shooter | Optical Gear Tooth | Yes |
| 6 | IN | Shooter | Optical Flag Sensor | Yes |
| 7 | ||||
| 8 | ||||
| 9 | ||||
| 10 | ||||
| 11 | ||||
| 12 | ||||
| 13 | ||||
| 14 |
I2C Registers
NOTE: each of these should also have a line in the Robot Map Lights table (the "Robot Map Updated?" column in the following table indicates if this was done)
| Address (e.g. 0100111X) |
Pin (e.g. GP0) |
Subsystem | Description (brief) |
Robot Map Updated? |
Pneumatics Bumper
| ID | Subsystem | Description (brief) |
Robot Map Updated? |
| 1 | |||
| 2 | |||
| 3 | |||
| 4 | |||
| 5 | |||
| 6 | |||
| 7 | |||
| 8 |