-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
mckedan
committed
Jan 31, 2018
1 parent
f40668c
commit bb9163f
Showing
18 changed files
with
1,185 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<classpath> | ||
<classpathentry kind="src" path="src"/> | ||
<classpathentry kind="var" path="wpilib" sourcepath="wpilib.sources"/> | ||
<classpathentry kind="var" path="networktables" sourcepath="ntcore.sources"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/> | ||
<classpathentry kind="output" path="bin"/> | ||
<classpathentry kind="var" path="opencv" sourcepath="opencv.sources"/> | ||
<classpathentry kind="var" path="cscore" sourcepath="cscore.sources"/> | ||
<classpathentry kind="var" path="wpiutil" sourcepath="wpiutil.sources"/> | ||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>PowerUp</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.jdt.core.javabuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
<nature>edu.wpi.first.wpilib.plugins.core.nature.FRCProjectNature</nature> | ||
</natures> | ||
<filteredResources> | ||
<filter> | ||
<id>1419649143453</id> | ||
<name></name> | ||
<type>30</type> | ||
<matcher> | ||
<id>org.eclipse.ui.ide.multiFilter</id> | ||
<arguments>1.0-location-matches-false-false-*~</arguments> | ||
</matcher> | ||
</filter> | ||
</filteredResources> | ||
</projectDescription> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
* Copyright (c) 2009 FIRST | ||
* All rights reserved. | ||
* | ||
* Redistribution and use in source and binary forms, with or without | ||
* modification, are permitted provided that the following conditions are met: | ||
* * Redistributions of source code must retain the above copyright | ||
* notice, this list of conditions and the following disclaimer. | ||
* * Redistributions in binary form must reproduce the above copyright | ||
* notice, this list of conditions and the following disclaimer in the | ||
* documentation and/or other materials provided with the distribution. | ||
* * Neither the name of the FIRST nor the | ||
* names of its contributors may be used to endorse or promote products | ||
* derived from this software without specific prior written permission. | ||
* | ||
* THIS SOFTWARE IS PROVIDED BY FIRST AND CONTRIBUTORS``AS IS'' AND ANY | ||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
* WARRANTIES OF MERCHANTABILITY NONINFRINGEMENT AND FITNESS FOR A PARTICULAR | ||
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL FIRST OR CONTRIBUTORS BE LIABLE FOR | ||
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Project specific information | ||
package=org.usfirst.frc5506.PowerUp | ||
robot.class=${package}.Robot | ||
simulation.world.file=/usr/share/frcsim/worlds/GearsBotDemo.world | ||
#Uncomment and point at user libraries to include them in the build. Do not put libraries in the \wpilib\java folder, this folder is completely overwritten on plugin update. | ||
#userLibs=${user.home}/wpilib/user/lib | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<project name="FRC Deployment" default="deploy"> | ||
|
||
<!-- | ||
The following properties can be defined to override system level | ||
settings. These should not be touched unless you know what you're | ||
doing. The primary use is to override the wpilib version when | ||
working with older robots that can't compile with the latest | ||
libraries. | ||
--> | ||
|
||
<!-- By default the system version of WPI is used --> | ||
<!-- <property name="version" value=""/> --> | ||
|
||
<!-- By default the system team number is used --> | ||
<!-- <property name="team-number" value=""/> --> | ||
|
||
<!-- By default the target is set to 10.TE.AM.2 --> | ||
<!-- <property name="target" value=""/> --> | ||
|
||
<!-- Any other property in build.properties can also be overridden. --> | ||
|
||
<property file="${user.home}/wpilib/wpilib.properties"/> | ||
<property file="build.properties"/> | ||
<property file="${user.home}/wpilib/java/${version}/ant/build.properties"/> | ||
|
||
<import file="${wpilib.ant.dir}/build.xml"/> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,292 @@ | ||
Version 2.0 | ||
|
||
--- | ||
Children: | ||
- Children: | ||
- Children: [] | ||
Properties: | ||
Send to SmartDashboard: !!robotbuilder.data.properties.BooleanProperty {default: false, | ||
name: Send to SmartDashboard, validators: null, value: false} | ||
Default command parameters: !!robotbuilder.data.properties.ParametersProperty | ||
default: [] | ||
name: Default command parameters | ||
validators: null | ||
value: [] | ||
Default Command: !!robotbuilder.data.properties.TypeSelectionProperty {default: None, | ||
name: Default Command, type: Command, validators: null, value: None} | ||
Constants: !!robotbuilder.data.properties.ConstantsProperty | ||
default: [] | ||
name: Constants | ||
validators: null | ||
value: &id001 [] | ||
Base: Subsystem | ||
Name: DriveBase | ||
- Children: [] | ||
Properties: | ||
Send to SmartDashboard: !!robotbuilder.data.properties.BooleanProperty {default: false, | ||
name: Send to SmartDashboard, validators: null, value: false} | ||
Default command parameters: !!robotbuilder.data.properties.ParametersProperty | ||
default: [] | ||
name: Default command parameters | ||
validators: null | ||
value: [] | ||
Default Command: !!robotbuilder.data.properties.TypeSelectionProperty {default: None, | ||
name: Default Command, type: Command, validators: null, value: None} | ||
Constants: !!robotbuilder.data.properties.ConstantsProperty | ||
default: [] | ||
name: Constants | ||
validators: null | ||
value: *id001 | ||
Base: Subsystem | ||
Name: Elbow | ||
- Children: | ||
- Children: [] | ||
Properties: | ||
Forward PCM (Solenoid): !!robotbuilder.data.properties.ChoicesProperty | ||
choices: &id002 ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', | ||
'11', '12', '13', '14', '15', '16', '17', '18', '19', '20'] | ||
default: '0' | ||
name: Forward PCM (Solenoid) | ||
validators: &id003 [Solenoid] | ||
value: '0' | ||
Reverse PCM (Solenoid): !!robotbuilder.data.properties.ChoicesProperty | ||
choices: &id004 ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', | ||
'11', '12', '13', '14', '15', '16', '17', '18', '19', '20'] | ||
default: '0' | ||
name: Reverse PCM (Solenoid) | ||
validators: &id005 [Solenoid] | ||
value: '0' | ||
Reverse Channel (Solenoid): !!robotbuilder.data.properties.ChoicesProperty | ||
choices: &id006 ['0', '1', '2', '3', '4', '5', '6', '7'] | ||
default: '0' | ||
name: Reverse Channel (Solenoid) | ||
validators: &id007 [Solenoid] | ||
value: '3' | ||
Forward Channel (Solenoid): !!robotbuilder.data.properties.ChoicesProperty | ||
choices: &id008 ['0', '1', '2', '3', '4', '5', '6', '7'] | ||
default: '0' | ||
name: Forward Channel (Solenoid) | ||
validators: &id009 [Solenoid] | ||
value: '2' | ||
Base: Double Solenoid | ||
Name: extendor | ||
Properties: | ||
Send to SmartDashboard: !!robotbuilder.data.properties.BooleanProperty {default: false, | ||
name: Send to SmartDashboard, validators: null, value: false} | ||
Default command parameters: !!robotbuilder.data.properties.ParametersProperty | ||
default: [] | ||
name: Default command parameters | ||
validators: null | ||
value: [] | ||
Default Command: !!robotbuilder.data.properties.TypeSelectionProperty {default: None, | ||
name: Default Command, type: Command, validators: null, value: None} | ||
Constants: !!robotbuilder.data.properties.ConstantsProperty | ||
default: [] | ||
name: Constants | ||
validators: null | ||
value: *id001 | ||
Base: Subsystem | ||
Name: Arm | ||
- Children: | ||
- Children: [] | ||
Properties: | ||
Forward PCM (Solenoid): !!robotbuilder.data.properties.ChoicesProperty | ||
choices: *id002 | ||
default: '0' | ||
name: Forward PCM (Solenoid) | ||
validators: *id003 | ||
value: '0' | ||
Reverse PCM (Solenoid): !!robotbuilder.data.properties.ChoicesProperty | ||
choices: *id004 | ||
default: '0' | ||
name: Reverse PCM (Solenoid) | ||
validators: *id005 | ||
value: '0' | ||
Reverse Channel (Solenoid): !!robotbuilder.data.properties.ChoicesProperty | ||
choices: *id006 | ||
default: '0' | ||
name: Reverse Channel (Solenoid) | ||
validators: *id007 | ||
value: '1' | ||
Forward Channel (Solenoid): !!robotbuilder.data.properties.ChoicesProperty | ||
choices: *id008 | ||
default: '0' | ||
name: Forward Channel (Solenoid) | ||
validators: *id009 | ||
value: '0' | ||
Base: Double Solenoid | ||
Name: gripper | ||
Properties: | ||
Send to SmartDashboard: !!robotbuilder.data.properties.BooleanProperty {default: false, | ||
name: Send to SmartDashboard, validators: null, value: false} | ||
Default command parameters: !!robotbuilder.data.properties.ParametersProperty | ||
default: [] | ||
name: Default command parameters | ||
validators: null | ||
value: [] | ||
Default Command: !!robotbuilder.data.properties.TypeSelectionProperty {default: None, | ||
name: Default Command, type: Command, validators: null, value: None} | ||
Constants: !!robotbuilder.data.properties.ConstantsProperty | ||
default: [] | ||
name: Constants | ||
validators: null | ||
value: *id001 | ||
Base: Subsystem | ||
Name: Hand | ||
Properties: {} | ||
Base: Subsystems | ||
Name: Subsystems | ||
- Children: | ||
- Children: [] | ||
Properties: | ||
Number: !!robotbuilder.data.properties.ChoicesProperty | ||
choices: ['0', '1', '2', '3', '4', '5'] | ||
default: 1 | ||
name: Number | ||
validators: [Joystick] | ||
value: '0' | ||
Base: Joystick | ||
Name: joystick | ||
Properties: {} | ||
Base: OI | ||
Name: Operator Interface | ||
- Children: | ||
- Children: [] | ||
Properties: | ||
Autonomous Selection: !!robotbuilder.data.properties.BooleanProperty {default: false, | ||
name: Autonomous Selection, validators: null, value: false} | ||
Parameters: !!robotbuilder.data.properties.ParametersProperty | ||
default: [] | ||
name: Parameters | ||
validators: null | ||
value: [] | ||
Run When Disabled: !!robotbuilder.data.properties.BooleanProperty {default: false, | ||
name: Run When Disabled, validators: null, value: false} | ||
Requires: !!robotbuilder.data.properties.TypeSelectionProperty {default: None, | ||
name: Requires, type: Subsystem, validators: null, value: DriveBase} | ||
Parameter presets: !!robotbuilder.data.properties.ParameterSetProperty | ||
default: &id010 [] | ||
name: Parameter presets | ||
validators: null | ||
value: *id010 | ||
Button on SmartDashboard: !!robotbuilder.data.properties.BooleanProperty {default: true, | ||
name: Button on SmartDashboard, validators: null, value: true} | ||
Base: Command | ||
Name: driveForward | ||
- Children: [] | ||
Properties: | ||
Autonomous Selection: !!robotbuilder.data.properties.BooleanProperty {default: false, | ||
name: Autonomous Selection, validators: null, value: false} | ||
Parameters: !!robotbuilder.data.properties.ParametersProperty | ||
default: [] | ||
name: Parameters | ||
validators: null | ||
value: [] | ||
Run When Disabled: !!robotbuilder.data.properties.BooleanProperty {default: false, | ||
name: Run When Disabled, validators: null, value: false} | ||
Requires: !!robotbuilder.data.properties.TypeSelectionProperty {default: None, | ||
name: Requires, type: Subsystem, validators: null, value: DriveBase} | ||
Parameter presets: !!robotbuilder.data.properties.ParameterSetProperty | ||
default: &id011 [] | ||
name: Parameter presets | ||
validators: null | ||
value: *id011 | ||
Button on SmartDashboard: !!robotbuilder.data.properties.BooleanProperty {default: true, | ||
name: Button on SmartDashboard, validators: null, value: true} | ||
Base: Command | ||
Name: driveBackwards | ||
- Children: [] | ||
Properties: | ||
Autonomous Selection: !!robotbuilder.data.properties.BooleanProperty {default: false, | ||
name: Autonomous Selection, validators: null, value: false} | ||
Parameters: !!robotbuilder.data.properties.ParametersProperty | ||
default: [] | ||
name: Parameters | ||
validators: null | ||
value: [] | ||
Run When Disabled: !!robotbuilder.data.properties.BooleanProperty {default: false, | ||
name: Run When Disabled, validators: null, value: false} | ||
Requires: !!robotbuilder.data.properties.TypeSelectionProperty {default: None, | ||
name: Requires, type: Subsystem, validators: null, value: Elbow} | ||
Parameter presets: !!robotbuilder.data.properties.ParameterSetProperty | ||
default: &id012 [] | ||
name: Parameter presets | ||
validators: null | ||
value: *id012 | ||
Button on SmartDashboard: !!robotbuilder.data.properties.BooleanProperty {default: true, | ||
name: Button on SmartDashboard, validators: null, value: true} | ||
Base: Command | ||
Name: curl | ||
- Children: [] | ||
Properties: | ||
Autonomous Selection: !!robotbuilder.data.properties.BooleanProperty {default: false, | ||
name: Autonomous Selection, validators: null, value: false} | ||
Parameters: !!robotbuilder.data.properties.ParametersProperty | ||
default: [] | ||
name: Parameters | ||
validators: null | ||
value: [] | ||
Run When Disabled: !!robotbuilder.data.properties.BooleanProperty {default: false, | ||
name: Run When Disabled, validators: null, value: false} | ||
Requires: !!robotbuilder.data.properties.TypeSelectionProperty {default: None, | ||
name: Requires, type: Subsystem, validators: null, value: Arm} | ||
Parameter presets: !!robotbuilder.data.properties.ParameterSetProperty | ||
default: &id013 [] | ||
name: Parameter presets | ||
validators: null | ||
value: *id013 | ||
Button on SmartDashboard: !!robotbuilder.data.properties.BooleanProperty {default: true, | ||
name: Button on SmartDashboard, validators: null, value: true} | ||
Base: Command | ||
Name: extend | ||
- Children: [] | ||
Properties: | ||
Autonomous Selection: !!robotbuilder.data.properties.BooleanProperty {default: false, | ||
name: Autonomous Selection, validators: null, value: false} | ||
Parameters: !!robotbuilder.data.properties.ParametersProperty | ||
default: [] | ||
name: Parameters | ||
validators: null | ||
value: [] | ||
Run When Disabled: !!robotbuilder.data.properties.BooleanProperty {default: false, | ||
name: Run When Disabled, validators: null, value: false} | ||
Requires: !!robotbuilder.data.properties.TypeSelectionProperty {default: None, | ||
name: Requires, type: Subsystem, validators: null, value: Hand} | ||
Parameter presets: !!robotbuilder.data.properties.ParameterSetProperty | ||
default: &id014 [] | ||
name: Parameter presets | ||
validators: null | ||
value: *id014 | ||
Button on SmartDashboard: !!robotbuilder.data.properties.BooleanProperty {default: true, | ||
name: Button on SmartDashboard, validators: null, value: true} | ||
Base: Command | ||
Name: grip | ||
Properties: {} | ||
Base: Commands | ||
Name: Commands | ||
Properties: | ||
Eclipse Workspace: !!robotbuilder.data.properties.FileProperty {default: 'C:\Users\User\workspace', | ||
extension: null, folder: true, name: Eclipse Workspace, validators: null, value: 'C:\Users\User\workspace'} | ||
Export Commands: !!robotbuilder.data.properties.BooleanProperty {default: true, | ||
name: Export Commands, validators: null, value: true} | ||
Autonomous command parameters: !!robotbuilder.data.properties.ParametersProperty | ||
default: [] | ||
name: Autonomous command parameters | ||
validators: null | ||
value: [] | ||
Java Package: !!robotbuilder.data.properties.StringProperty {default: org.usfirst.frc0000, | ||
name: Java Package, validators: null, value: org.usfirst.frc5506} | ||
Use Default Java Package: !!robotbuilder.data.properties.BooleanProperty {default: true, | ||
name: Use Default Java Package, validators: null, value: true} | ||
Team Number: !!robotbuilder.data.properties.IntegerProperty {default: 0, name: Team Number, | ||
validators: null, value: 5506} | ||
Export Subsystems: !!robotbuilder.data.properties.BooleanProperty {default: true, | ||
name: Export Subsystems, validators: null, value: true} | ||
Simulation World File: !!robotbuilder.data.properties.StringProperty {default: /usr/share/frcsim/worlds/GearsBotDemo.world, | ||
name: Simulation World File, validators: null, value: /usr/share/frcsim/worlds/GearsBotDemo.world} | ||
Wiring file location: !!robotbuilder.data.properties.FileProperty {default: 'C:\Users\User\', | ||
extension: null, folder: true, name: Wiring file location, validators: null, value: 'C:\Users\User\'} | ||
Autonomous Command: !!robotbuilder.data.properties.TypeSelectionProperty {default: None, | ||
name: Autonomous Command, type: Command, validators: null, value: Autonomous Command} | ||
Base: Robot | ||
Name: PowerUp |
Oops, something went wrong.