commit 540aa254739cc4fe7add28343ec9dd0b86f8939c Author: Brendan Date: Fri May 15 20:32:13 2015 -0600 inital commit diff --git a/.cproject b/.cproject new file mode 100644 index 0000000..b3864fa --- /dev/null +++ b/.cproject @@ -0,0 +1,149 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.project b/.project new file mode 100644 index 0000000..9c800f6 --- /dev/null +++ b/.project @@ -0,0 +1,28 @@ + + + mecanum + + + + + + org.eclipse.cdt.managedbuilder.core.genmakebuilder + clean,full,incremental, + + + + + org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder + full,incremental, + + + + + + org.eclipse.cdt.core.cnature + org.eclipse.cdt.core.ccnature + org.eclipse.cdt.managedbuilder.core.managedBuildNature + org.eclipse.cdt.managedbuilder.core.ScannerConfigNature + edu.wpi.first.wpilib.plugins.core.nature.FRCProjectNature + + diff --git a/.settings/language.settings.xml b/.settings/language.settings.xml new file mode 100644 index 0000000..c94ec4d --- /dev/null +++ b/.settings/language.settings.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/.settings/org.eclipse.cdt.managedbuilder.core.prefs b/.settings/org.eclipse.cdt.managedbuilder.core.prefs new file mode 100644 index 0000000..2e6310a --- /dev/null +++ b/.settings/org.eclipse.cdt.managedbuilder.core.prefs @@ -0,0 +1,13 @@ +eclipse.preferences.version=1 +environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.cross.exe.debug.1104744751/CPATH/delimiter=\: +environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.cross.exe.debug.1104744751/CPATH/operation=remove +environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.cross.exe.debug.1104744751/CPLUS_INCLUDE_PATH/delimiter=\: +environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.cross.exe.debug.1104744751/CPLUS_INCLUDE_PATH/operation=remove +environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.cross.exe.debug.1104744751/C_INCLUDE_PATH/delimiter=\: +environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.cross.exe.debug.1104744751/C_INCLUDE_PATH/operation=remove +environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.cross.exe.debug.1104744751/append=true +environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.cross.exe.debug.1104744751/appendContributed=true +environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.cross.exe.debug.1104744751/LIBRARY_PATH/delimiter=\: +environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.cross.exe.debug.1104744751/LIBRARY_PATH/operation=remove +environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.cross.exe.debug.1104744751/append=true +environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.cross.exe.debug.1104744751/appendContributed=true diff --git a/Debug/FRCUserProgram b/Debug/FRCUserProgram new file mode 100755 index 0000000..b20932a Binary files /dev/null and b/Debug/FRCUserProgram differ diff --git a/Debug/src/Robot.o b/Debug/src/Robot.o new file mode 100644 index 0000000..5cd8a6d Binary files /dev/null and b/Debug/src/Robot.o differ diff --git a/build.properties b/build.properties new file mode 100644 index 0000000..91004e3 --- /dev/null +++ b/build.properties @@ -0,0 +1,15 @@ +# Build information +out=FRCUserProgram +src.dir=src +build.dir=build +out.exe=Debug/${out} + +# Simulation +simulation.world.file=/usr/share/frcsim/worlds/GearsBotDemo.world +sim.exe=Simulate/${out} +wpilib.sim=${wpilib}/sim +sim.tools=${wpilib.sim}/tools +sim.lib=${wpilib.sim}/lib + +# Use the current C++ library by default +cpp-version=current diff --git a/build.xml b/build.xml new file mode 100644 index 0000000..82e7940 --- /dev/null +++ b/build.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Robot.cpp b/src/Robot.cpp new file mode 100644 index 0000000..92d1106 --- /dev/null +++ b/src/Robot.cpp @@ -0,0 +1,39 @@ +#include "WPILib.h" + +class Robot: public IterativeRobot +{ +private: + LiveWindow *lw; + + void RobotInit() + { + lw = LiveWindow::GetInstance(); + } + + void AutonomousInit() + { + + } + + void AutonomousPeriodic() + { + + } + + void TeleopInit() + { + + } + + void TeleopPeriodic() + { + + } + + void TestPeriodic() + { + lw->Run(); + } +}; + +START_ROBOT_CLASS(Robot);