-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheltoro.xml
140 lines (105 loc) · 5.19 KB
/
eltoro.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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<?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" />
<EnableSecondaryCameraServer value="false" width="640" height="480" fps="30"/>
<CameraSettings exposure="-10" />
<!-- Sets the Vision Targets and Vision Settings -->
<TargetSettings>
<!-- Examples -->
<!-- NOTE: Even if you aren't including any vision targets you must include the encapsulating tag -->
<!--<primaryTarget id="int" enabled="bool" minRadius="int" maxRadius="int" lowerHue="byte" upperHue="byte" lowerSaturation="byte" upperSaturation="byte" lowerValue="byte" upperValue="byte" red="byte" green="byte" blue="byte" maxObjects="int"/>-->
<primaryTarget id="0" enabled="true" minRadius="30" maxRadius="500" lowerHue="0" upperHue="255" lowerSaturation="215" upperSaturation="255" lowerValue="0" upperValue="40" red="255" green="0" blue="0" maxObjects="500"/>
</TargetSettings>
<!-- CameraSettings exposure="double" -->
<!-- NOTE: Even if you aren't including any vision targets/camera, you must inculde this tag. Set exposure to null -->
<CameraSettings exposure="15"/>
<!-- 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" />-->
<left_0 type="SP" channel="0" reversed="true" drive="true" side="left"/>
<right_0 type="SP" channel="1" reversed="true" drive="true" side="left"/>
<kicker type="SP" channel="2" reversed="false" drive="false"/>
<lift type="SP" channel="3" reversed="false" drive="false" upperLimit="liftUpperLimit" lowerLimit="liftLowerLimit"/>
</Victors>
<!-- 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. -->
<shifters forward="1" reverse="3" default="forward" reversed="false"/>
<manipulator forward="0" reverse="2" default="reverse" reversed="false"/>
</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" />-->
<liftUpperLimit channel="1"/>
<liftLowerLimit channel="0"/>
</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" />-->
<liftPot 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="left_0" />
<rightDrive axis="5" reversed="false" deadZone=".02" bindTo="right_0" />
</Driver>
<DriverAux>
<kickerLeft type="button" button="5" reversed="false" bindTo="kicker" powerMultiplier=".75"/>
<kickerRight type="button" button="6" reversed="false" bindTo="kicker" powerMultiplier="-.75"/>
<gearShift type="dualButton" buttonA="7" buttonB="8" reversed="true" bindTo="shifters"/>
</DriverAux>
<!-- Operator assignments -->
<Operator>
<slot controllerSlot="1" />
<liftControl type="axis" axis="1" reversed="true" deadZone=".02" bindTo="lift" />
<man type="dualButton" buttonA="7" buttonB="8" reversed="false" bindTo="manipulator"/>
</Operator>
</Controls>
<!-- Event assignments -->
<!-- types= 'value' or 'usage'; setMethods= 'passthrough' or 'adjusted'-->
<VirtualControlEvents>
</VirtualControlEvents>
</Robot>