-
Notifications
You must be signed in to change notification settings - Fork 0
/
MasterTest.xml
114 lines (89 loc) · 3.83 KB
/
MasterTest.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<?xml version="1.0" encoding="UTF-8"?>
<Robot>
<Version version="1.0" />
<Comment comment="Configured for the test kit" />
<!-- If true, will dump full exception methods to the console and driverstation. -->
<VerboseOutput value="true" />
<!-- Absolutely do not change QuickLoad to true, only Ryan should do this. -->
<QuickLoad value="false" />
<EnableAuton value="true" />
<!-- Sets whether or not to initialize the NavX-->
<UseNavX value="true" port="default" />
<!-- Contains assignments to ports and robot dimensions -->
<RobotConfig>
<!-- All victor assignments type="SP" or type="888"-->
<Victors>
<!-- Examples -->
<!--<xxxxxxxx type="SP" channel="x ID from roboRio" reversed="x" drive="false" optional encoder="xxxxxx" upperLimit="Name of DI" optional lowerLimit="Name of DI" />-->
<shootLeft type="SP" channel="0" reversed="false" drive="false" mstype="master"/>
<shootRight type="SP" channel="1" reversed="true" drive="false" mstype="slave" master="shootLeft"/>
</Victors>
<!-- All CANTalon assignments -->
<Talons>
<!-- Examples -->
<!--<xxxxxxxx channel="x ID from roboRio" reversed="x" type="pwm" encoder="xxxxxx" />-->
<!--<xxxxxxxx channel="x ID from roboRio" reversed="x" type="master" encoder="xxxxxx" optional PID p="double" i="double" d="double" />-->
<!--<xxxxxxxx channel="x ID from roboRio" reversed="x" type="slave" encoder="xxxxxx" master="binding name (name of master talon)" />-->
</Talons>
<!-- Encoder locations -->
<Encoders>
<!--<xxxxxx aChannel="x" bChannel="x" optional reversed="x" />-->
</Encoders>
<!-- Double solenoid locations-->
<Solenoids>
<!--<xxxxxx forward="x" reverse="x" default="forward/reverse" reversed="false" />-->
<!-- default is optional, reversed is not. -->
</Solenoids>
<!-- Digital input/outputs !!!!NOTE!!!! DI and DO are on the same line as the Encoders -->
<!-- so DO NOT have matching channel numbers, that allocated drifferent resources in the same spot.-->
<DI>
<!--<xxxxxx channel="x" />-->
</DI>
<DO>
<!--<xxxxxx channel="x" />-->
</DO>
<!-- Analog inputs/outputs -->
<AI>
<!--<xxxxxx channel="x" />-->
</AI>
<AO>
<!--<xxxxxx channel="x" />-->
</AO>
<Relays>
<!--<xxxxxx channel="x" optional default="off/on/reverse/forward" />-->
</Relays>
<Potentiometers>
<!--<xxxxxx channel="x">-->
<!--<test_potentiometer channel="0" />-->
</Potentiometers>
</RobotConfig>
<!-- Control assignments -->
<Controls>
<!--control item exampls, reversed="true/false"
and powerMultiplier="double" are optional additions to these tags-->
<!--<example type="button" button=""int bindTo="IComponent" />
<example type="dualButton" buttonA="int" buttonB="" bindTo="IComponent" />
<example type="togggle" button="int" bindTo="IComponent" />
<example type="axis" axis="int" deadZone="double" bindTo="IComponent" />-->
<!-- Driver assignments: ONLY VALUES SHOULD CHANGE! NEVER EDIT TAGS OR ATTRIBUTE IDENTIFIERS-->
<Driver>
<slot controllerSlot="0" />
<!-- fit values are linear=0, quadratic=1, exponential=2, and poly=3 -->
<drive driveFit="0" power="3" />
<powerMultiplier powerMultiplier="1" />
<leftDrive axis="1" reversed="true" deadZone=".02" bindTo="" />
<rightDrive axis="5" reversed="false" deadZone=".02" bindTo="" />
</Driver>
<DriverAux>
<liftControl type="axis" axis="3" reversed="true" deadZone=".02" bindTo="shootLeft" />
</DriverAux>
<!-- Operator assignments -->
<Operator>
<slot controllerSlot="1" />
</Operator>
</Controls>
<!-- Event assignments -->
<!-- types= 'value' or 'usage'; setMethods= 'passthrough' or 'adjusted'-->
<VirtualControlEvents>
</VirtualControlEvents>
</Robot>