Moves examples.xml to json, and adds template json (#1026)

This commit is contained in:
Thad House
2018-05-04 16:51:37 -07:00
committed by Peter Johnson
parent 5c2c5ccd07
commit dab6f40b46
8 changed files with 457 additions and 900 deletions

View File

@@ -0,0 +1,137 @@
[
{
"name": "Getting Started",
"description": "An example program which demonstrates the simplest autonomous and teleoperated routines.",
"tags": [
"Getting Started with Java"
],
"foldername": "gettingstarted"
},
{
"name": "Tank Drive",
"description": "Demonstrate the use of the RobotDrive class doing teleop driving with tank steering",
"tags": [
"Actuators",
"Joystick",
"Robot and Motor",
"Safety"
],
"foldername": "tankdrive"
},
{
"name": "Mecanum Drive",
"description": "Demonstrate the use of the RobotDrive class doing teleop driving with Mecanum steering",
"tags": [
"Actuators",
"Joystick",
"Robot and Motor",
"Safety"
],
"foldername": "mecanumdrive"
},
{
"name": "Ultrasonic",
"description": "Demonstrate maintaining a set distance using an ultrasonic sensor.",
"tags": [
"Sensors",
"Robot and Motor",
"Analog"
],
"foldername": "ultrasonic"
},
{
"name": "Ultrasonic PID",
"description": "Demonstrate maintaining a set distance using an ultrasonic sensor and PID Control.",
"tags": [
"Sensors",
"Robot and Motor",
"Analog"
],
"foldername": "ultrasonicpid"
},
{
"name": "Potentiometer PID",
"description": "An example to demonstrate the use of a potentiometer and PID control to reach elevator position setpoints.",
"tags": [
"Sensors",
"Actuators",
"Analog",
"Joystick"
],
"foldername": "potentiometerpid"
},
{
"name": "Gyro",
"description": "An example program showing how to drive straight with using a gyro sensor.",
"tags": [
"Sensors",
"Robot and Motor",
"Analog",
"Joystick"
],
"foldername": "gyro"
},
{
"name": "Gyro Mecanum",
"description": "An example program showing how to perform mecanum drive with field oriented controls.",
"tags": [
"Sensors",
"Robot and Motor",
"Analog",
"Joystick"
],
"foldername": "gyromecanum"
},
{
"name": "Motor Controller",
"description": "Demonstrate controlling a single motor with a joystick",
"tags": [
"Actuators",
"Joystick",
"Robot and Motor"
],
"foldername": "motorcontrol"
},
{
"name": "GearsBot",
"description": "A fully functional example CommandBased program for WPIs GearsBot robot. This code can run on your computer if it supports simulation.",
"tags": [
"Complete Robot"
],
"foldername": "gearsbot"
},
{
"name": "PacGoat",
"description": "A fully functional example CommandBased program for FRC Team 190's 2014 robot. This code can run on your computer if it supports simulation.",
"tags": [
"Complete Robot"
],
"foldername": "pacgoat"
},
{
"name": "Simple Vision",
"description": "Demonstrate the use of the CameraServer class to stream from a USB Webcam without processing the images.",
"tags": [
"Vision",
"Complete List"
],
"foldername": "simplevision"
},
{
"name": "Intermediate Vision",
"description": "Demonstrate the use of the NIVision class to capture image from a Webcam, process them, and then send them to the dashboard.",
"tags": [
"Vision",
"Complete List"
],
"foldername": "intermediatevision"
},
{
"name": "Axis Camera Sample",
"description": "An example program that acquires images from an Axis network camera and adds some annotation to the image as you might do for showing operators the result of some image recognition, and sends it to the dashboard for display. This demonstrates the use of the AxisCamera class.",
"tags": [
"Vision"
],
"foldername": "axiscamera"
}
]

View File

@@ -0,0 +1,34 @@
[
{
"name": "Iterative Robot",
"description": "Iterative style",
"tags": [
"Iterative"
],
"foldername": "iterative"
},
{
"name": "Timed Robot",
"description": "Timed style",
"tags": [
"Timed"
],
"foldername": "timed"
},
{
"name": "Command Robot",
"description": "Command style",
"tags": [
"Command"
],
"foldername": "commandbased"
},
{
"name": "Sample Robot",
"description": "Sample style",
"tags": [
"Sample"
],
"foldername": "sample"
}
]