2018:Robot IO Map: Difference between revisions

From 1511Wookiee
Jump to navigationJump to search
Line 968: Line 968:
| Details
| Details
|-
|-
| Left Joystick Y
| Right 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 1,028: Line 1,014:
|-
|-
| 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
| Left Trigger
| Release gear
|  
| press button to open gear mechanism and release button to close gear mechanism
|  
|-
|-
| <s>Left Bumper</s>
| <s>Left Bumper</s>
| <s>Close gear thing</s>
|
| <s>press and release button to close gear mechanism</s>
|
|-
|-
| Dpad Up<br/>
| Dpad Up<br/>
| Climb up<br/>
|  
| hold to climb
|  
|-
|-
| Y button
| 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
| X button
| Pre-heat
|  
|  
hold to run shooter motor at speed (doesnt mess with gate)
|
 
|}
|}


Line 1,067: Line 1,051:
|-
|-
| 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/>

Revision as of 16:52, 4 December 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
2
3
4
5
6
7
8
9
10
11
12
13






14
15

PWM Outputs

ID Subsystem

Component

Type

Model # Description
(brief)

Operation


Notes

(8) max. 40A              PDB #   

0
1
2
3
4


5


6

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
1 IN
2 IN
3 IN
4 IN
5 OUT
6 IN


 
7 IN  
8 IN
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
1

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
Right Joystick Y
Right Joystick X
Left Bumper
Right Bumper
Left Trigger
Right Trigger
Y button
A button

Controller 2 - Aux Driver

Action/Button Description Details



Right Bumper
Right Trigger
Left Trigger
Left Bumper
Dpad Up
Y button
A button
X button

Broken Switches

Broken Switch1
Broken Switch2
Broken Switch3
Broken Switch4
Broken Switch5
Broken Switch6

Broken Switch7

IO Maps for Old Robots