-
Notifications
You must be signed in to change notification settings - Fork 0
/
RoboBuilderRobot.yml
290 lines (289 loc) · 12.2 KB
/
RoboBuilderRobot.yml
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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
Version 1.0
---
Name: RoboBuilderRobot
Base: Robot
Children:
- Name: Subsystems
Base: Subsystems
Children:
- Name: DriveTrain
Base: Subsystem
Children:
- Name: Robot Drive 4 1
Base: Robot Drive 4
Children:
- Name: FrontLeftWheel
Base: CAN Jaguar
Children: []
Properties:
CAN ID: !!robotbuilder.data.properties.ChoicesProperty
choices: &id001 ['2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12',
'13', '14', '15', '16', '17', '18', '19', '20']
default: '2'
name: CAN ID
validators: &id002 [CANID]
value: '2'
- Name: FrontRightWheel
Base: CAN Jaguar
Children: []
Properties:
CAN ID: !!robotbuilder.data.properties.ChoicesProperty
choices: *id001
default: '2'
name: CAN ID
validators: *id002
value: '3'
- Name: BackLeftWheel
Base: CAN Jaguar
Children: []
Properties:
CAN ID: !!robotbuilder.data.properties.ChoicesProperty
choices: *id001
default: '2'
name: CAN ID
validators: *id002
value: '4'
- Name: BackRightWheel
Base: CAN Jaguar
Children: []
Properties:
CAN ID: !!robotbuilder.data.properties.ChoicesProperty
choices: *id001
default: '2'
name: CAN ID
validators: *id002
value: '5'
Properties:
Sensitivity: !!robotbuilder.data.properties.DoubleProperty {default: 0.5,
name: Sensitivity, validators: null, value: 0.5}
Right Front Motor Inverted: !!robotbuilder.data.properties.BooleanProperty {
default: false, name: Right Front Motor Inverted, validators: null, value: false}
Safety Enabled: !!robotbuilder.data.properties.BooleanProperty {default: true,
name: Safety Enabled, validators: null, value: true}
Left Front Motor Inverted: !!robotbuilder.data.properties.BooleanProperty {
default: false, name: Left Front Motor Inverted, validators: null, value: false}
Right Front Motor: !!robotbuilder.data.properties.ChildSelectionProperty
default: 2
name: Right Front Motor
type: PIDOutput
validators: [RobotDrive4, ChildDropdownSelected]
value: DriveTrain FrontRightWheel
Maximum Output: !!robotbuilder.data.properties.DoubleProperty {default: 1,
name: Maximum Output, validators: null, value: 1.0}
Right Rear Motor Inverted: !!robotbuilder.data.properties.BooleanProperty {
default: false, name: Right Rear Motor Inverted, validators: null, value: false}
Left Rear Motor Inverted: !!robotbuilder.data.properties.BooleanProperty {
default: false, name: Left Rear Motor Inverted, validators: null, value: false}
Right Rear Motor: !!robotbuilder.data.properties.ChildSelectionProperty
default: 3
name: Right Rear Motor
type: PIDOutput
validators: [RobotDrive4, ChildDropdownSelected]
value: DriveTrain BackRightWheel
Left Rear Motor: !!robotbuilder.data.properties.ChildSelectionProperty
default: 1
name: Left Rear Motor
type: PIDOutput
validators: [RobotDrive4, ChildDropdownSelected]
value: DriveTrain BackLeftWheel
Left Front Motor: !!robotbuilder.data.properties.ChildSelectionProperty
default: 0
name: Left Front Motor
type: PIDOutput
validators: [RobotDrive4, ChildDropdownSelected]
value: DriveTrain FrontLeftWheel
Safety Expiration Time: !!robotbuilder.data.properties.DoubleProperty {default: 0.1,
name: Safety Expiration Time, validators: null, value: 0.1}
Properties:
Default Command: !!robotbuilder.data.properties.TypeSelectionProperty {default: None,
name: Default Command, type: Command, validators: null, value: None}
- Name: BallArm
Base: PID Subsystem
Children:
- Name: BallArmPot
Base: Potentiometer
Children: []
Properties:
Input Module (Analog): !!robotbuilder.data.properties.ChoicesProperty
choices: ['1', '2']
default: '1'
name: Input Module (Analog)
validators: [AnalogInput]
value: '1'
Input Channel (Analog): !!robotbuilder.data.properties.ChoicesProperty
choices: ['1', '2', '3', '4', '5', '6', '7', '8']
default: '1'
name: Input Channel (Analog)
validators: [AnalogInput]
value: '1'
- Name: BallArmMotor
Base: CAN Jaguar
Children: []
Properties:
CAN ID: !!robotbuilder.data.properties.ChoicesProperty
choices: *id001
default: '2'
name: CAN ID
validators: *id002
value: '6'
Properties:
D: !!robotbuilder.data.properties.DoubleProperty {default: 0, name: D, validators: null,
value: 0.0}
Input: !!robotbuilder.data.properties.ChildSelectionProperty
default: 0
name: Input
type: PIDSource
validators: [ChildDropdownSelected]
value: BallArm BallArmPot
Limit Output: !!robotbuilder.data.properties.BooleanProperty {default: false,
name: Limit Output, validators: null, value: false}
F: !!robotbuilder.data.properties.DoubleProperty {default: 0, name: F, validators: null,
value: 0.0}
Tolerance: !!robotbuilder.data.properties.DoubleProperty {default: 0.2, name: Tolerance,
validators: null, value: 0.2}
Continuous: !!robotbuilder.data.properties.BooleanProperty {default: false,
name: Continuous, validators: null, value: false}
Default Command: !!robotbuilder.data.properties.TypeSelectionProperty {default: None,
name: Default Command, type: Command, validators: null, value: None}
Maximum Output: !!robotbuilder.data.properties.DoubleProperty {default: 1, name: Maximum Output,
validators: null, value: 1.0}
Limit Input: !!robotbuilder.data.properties.BooleanProperty {default: false,
name: Limit Input, validators: null, value: false}
Output: !!robotbuilder.data.properties.ChildSelectionProperty
default: 0
name: Output
type: PIDOutput
validators: [ChildDropdownSelected]
value: BallArm BallArmMotor
Minimum Input: !!robotbuilder.data.properties.DoubleProperty {default: 0, name: Minimum Input,
validators: null, value: 0.0}
Minimum Output: !!robotbuilder.data.properties.DoubleProperty {default: -1,
name: Minimum Output, validators: null, value: -1.0}
I: !!robotbuilder.data.properties.DoubleProperty {default: 0, name: I, validators: null,
value: 0.0}
P: !!robotbuilder.data.properties.DoubleProperty {default: 1, name: P, validators: null,
value: 1.0}
Maximum Input: !!robotbuilder.data.properties.DoubleProperty {default: 5, name: Maximum Input,
validators: null, value: 5.0}
- Name: AirCompressor
Base: Subsystem
Children:
- Name: CompressorSpike
Base: Spike
Children: []
Properties:
Output Module (Digital): !!robotbuilder.data.properties.ChoicesProperty
choices: ['1', '2']
default: '1'
name: Output Module (Digital)
validators: [RelayOutput]
value: '1'
Output Channel (Relay): !!robotbuilder.data.properties.ChoicesProperty
choices: ['1', '2', '3', '4', '5', '6', '7', '8']
default: '1'
name: Output Channel (Relay)
validators: [RelayOutput]
value: '1'
Properties:
Default Command: !!robotbuilder.data.properties.TypeSelectionProperty {default: None,
name: Default Command, type: Command, validators: null, value: AirCompressorRun}
Properties: {}
- Name: Operator Interface
Base: OI
Children:
- Name: LeftJoystick
Base: Joystick
Children: []
Properties:
Number: !!robotbuilder.data.properties.ChoicesProperty
choices: &id003 ['1', '2', '3', '4']
default: 1
name: Number
validators: &id004 [Joystick]
value: '1'
- Name: RightJoystick
Base: Joystick
Children: []
Properties:
Number: !!robotbuilder.data.properties.ChoicesProperty
choices: *id003
default: 1
name: Number
validators: *id004
value: '2'
- Name: ControlJoystick
Base: Joystick
Children: []
Properties:
Number: !!robotbuilder.data.properties.ChoicesProperty
choices: *id003
default: 1
name: Number
validators: *id004
value: '3'
Properties: {}
- Name: Commands
Base: Commands
Children:
- Name: Autonomous Command
Base: Command
Children: []
Properties:
Requires: !!robotbuilder.data.properties.TypeSelectionProperty {default: None,
name: Requires, type: Subsystem, validators: null, value: None}
Button on SmartDashboard: !!robotbuilder.data.properties.BooleanProperty {default: true,
name: Button on SmartDashboard, validators: null, value: true}
- Name: DriveRobot
Base: Command
Children: []
Properties:
Requires: !!robotbuilder.data.properties.TypeSelectionProperty {default: None,
name: Requires, type: Subsystem, validators: null, value: DriveTrain}
Button on SmartDashboard: !!robotbuilder.data.properties.BooleanProperty {default: true,
name: Button on SmartDashboard, validators: null, value: true}
- Name: BallArmRetract
Base: Command
Children: []
Properties:
Requires: !!robotbuilder.data.properties.TypeSelectionProperty {default: None,
name: Requires, type: Subsystem, validators: null, value: BallArm}
Button on SmartDashboard: !!robotbuilder.data.properties.BooleanProperty {default: true,
name: Button on SmartDashboard, validators: null, value: true}
- Name: BallArmExtend
Base: Command
Children: []
Properties:
Requires: !!robotbuilder.data.properties.TypeSelectionProperty {default: None,
name: Requires, type: Subsystem, validators: null, value: BallArm}
Button on SmartDashboard: !!robotbuilder.data.properties.BooleanProperty {default: true,
name: Button on SmartDashboard, validators: null, value: true}
- Name: AirCompressorRun
Base: Command
Children: []
Properties:
Requires: !!robotbuilder.data.properties.TypeSelectionProperty {default: None,
name: Requires, type: Subsystem, validators: null, value: AirCompressor}
Button on SmartDashboard: !!robotbuilder.data.properties.BooleanProperty {default: true,
name: Button on SmartDashboard, validators: null, value: true}
Properties: {}
Properties:
Autonomous Command: !!robotbuilder.data.properties.TypeSelectionProperty {default: None,
name: Autonomous Command, type: Command, validators: null, value: Autonomous Command}
Wiring File: !!robotbuilder.data.properties.FileProperty {default: '', extension: html,
folder: false, name: Wiring File, validators: null, value: RoboBuilderRobot.html}
C++ Windriver Workspace: !!robotbuilder.data.properties.FileProperty {default: 'C:\Windriver\workspace',
extension: null, folder: true, name: C++ Windriver Workspace, validators: null,
value: 'C:\Windriver\workspace'}
Use Default Java Package: !!robotbuilder.data.properties.BooleanProperty {default: true,
name: Use Default Java Package, validators: null, value: true}
Java Package: !!robotbuilder.data.properties.StringProperty {default: org.usfirst.frc0000,
name: Java Package, validators: null, value: org.usfirst.frc0000}
Export Subsystems: !!robotbuilder.data.properties.BooleanProperty {default: true,
name: Export Subsystems, validators: null, value: true}
Team Number: !!robotbuilder.data.properties.IntegerProperty {default: 0, name: Team Number,
validators: null, value: 2619}
Export Commands: !!robotbuilder.data.properties.BooleanProperty {default: true,
name: Export Commands, validators: null, value: true}
Java Project Directory: !!robotbuilder.data.properties.FileProperty {default: 'C:\Users\abcurrie\NetBeansProjects',
extension: null, folder: true, name: Java Project Directory, validators: null,
value: 'C:\WindRiver\workspace'}