From 90a106ccfb00f609ee292bd877a0283fe4fd5b2f Mon Sep 17 00:00:00 2001 From: Brad Miller Date: Wed, 1 Oct 2014 19:58:46 -0400 Subject: [PATCH] Added a hierarchy of example categories that looks very much like what's in LabVIEW and placed the one project in a bunch of categories as a proof of concept. Change-Id: If6e1f916ffbe7c0a36a8cccf5be46c36a1e6d6a6 --- .../resources/templates/examples/examples.xml | 68 ++++++++++++++++++- 1 file changed, 66 insertions(+), 2 deletions(-) diff --git a/eclipse-plugins/edu.wpi.first.wpilib.plugins.java/resources/templates/examples/examples.xml b/eclipse-plugins/edu.wpi.first.wpilib.plugins.java/resources/templates/examples/examples.xml index e85e2396b3..e6ff145b3a 100755 --- a/eclipse-plugins/edu.wpi.first.wpilib.plugins.java/resources/templates/examples/examples.xml +++ b/eclipse-plugins/edu.wpi.first.wpilib.plugins.java/resources/templates/examples/examples.xml @@ -19,7 +19,67 @@ Getting Started with Java Examples for getting started with FRC Java - + + + Actuators + Example programs that demonstrate the use of various actuators + + + + Analog + Examples programs that show different uses of analog inputs, + outputs and various analog sensors + + + + CAN + Example programs that demonstrate the use of the CAN components in the control system + + + + Complete List + Complete list of all sample programs across all categories + + + + Digital + Example programs that demonstrate the sensors that use the digital I/O ports + + + + I2C + Example programs that demonstrate the use of I2C and various sensors that use it + + + + Joystick + Example programs that demonstate different uses of joysticks for robot driving + + + + Pneumatics + Example programs that demonstrate the use of the compressor and solenoids + + + + Robot and Motor + Example programs that demonstrate driving a robot and motors including safety, servos, etc. + + + + SPI + Example programs that demonstrate the use of the SPI bus and sensors that connect to it + + + + Safety + Example programs that demonstate the motor safety classes and how to use them with your programs + + + + Sensors + Example programs that demonstrate the use of the various commonly used sensors on FRC robots + Getting Started @@ -41,7 +101,11 @@ Tank Drive Demonstrate the use of the RobotDrive class doing teleop driving with tank steering - Getting Started with Java + Actuators + Complete List + Joystick + Robot and Motor + Safety src/$package-dir