John Park | 7eb9042 | 2018-01-27 12:04:57 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <examples> |
| 3 | <!-- Tags --> |
| 4 | <!-- Getting Started should be first and then alphabetical. Complete Example should be last --> |
| 5 | <tagDescription> |
| 6 | <name>Getting Started with Java</name> |
| 7 | <description>Examples for getting started with FRC Java</description> |
| 8 | </tagDescription> |
| 9 | <tagDescription> |
| 10 | <name>Actuators</name> |
| 11 | <description>Example programs that demonstrate the use of various actuators</description> |
| 12 | </tagDescription> |
| 13 | <tagDescription> |
| 14 | <name>Analog</name> |
| 15 | <description>Examples programs that show different uses of analog inputs, |
| 16 | outputs and various analog sensors</description> |
| 17 | </tagDescription> |
| 18 | <tagDescription> |
| 19 | <name>CAN</name> |
| 20 | <description>Example programs that demonstrate the use of the CAN components in the control |
| 21 | system</description> |
| 22 | </tagDescription> |
| 23 | <tagDescription> |
| 24 | <name>Digital</name> |
| 25 | <description>Example programs that demonstrate the sensors that use the digital I/O ports</description> |
| 26 | </tagDescription> |
| 27 | <tagDescription> |
| 28 | <name>I2C</name> |
| 29 | <description>Example programs that demonstrate the use of I2C and various sensors that use |
| 30 | it</description> |
| 31 | </tagDescription> |
| 32 | <tagDescription> |
| 33 | <name>Joystick</name> |
| 34 | <description>Example programs that demonstate different uses of joysticks for robot |
| 35 | driving</description> |
| 36 | </tagDescription> |
| 37 | <tagDescription> |
| 38 | <name>NetworkTables</name> |
| 39 | <description>Examples of how to use NetworkTables to accomplish a |
| 40 | variety of tasks such as sending and receiving values to both |
| 41 | dashboards and co-processors.</description> |
| 42 | </tagDescription> |
| 43 | <tagDescription> |
| 44 | <name>Pneumatics</name> |
| 45 | <description>Example programs that demonstrate the use of the compressor and solenoids</description> |
| 46 | </tagDescription> |
| 47 | <tagDescription> |
| 48 | <name>Robot and Motor</name> |
| 49 | <description>Example programs that demonstrate driving a robot and motors including safety, |
| 50 | servos, etc.</description> |
| 51 | </tagDescription> |
| 52 | <tagDescription> |
| 53 | <name>Safety</name> |
| 54 | <description>Example programs that demonstate the motor safety classes and how to use them |
| 55 | with your programs</description> |
| 56 | </tagDescription> |
| 57 | <tagDescription> |
| 58 | <name>Sensors</name> |
| 59 | <description>Example programs that demonstrate the use of the various commonly used sensors |
| 60 | on FRC robots</description> |
| 61 | </tagDescription> |
| 62 | <tagDescription> |
| 63 | <name>SPI</name> |
| 64 | <description>Example programs that demonstrate the use of the SPI bus and sensors that |
| 65 | connect to it</description> |
| 66 | </tagDescription> |
| 67 | <tagDescription> |
| 68 | <name>Vision</name> |
| 69 | <description>Example programs that demonstrate the use of cameras and image processing</description> |
| 70 | </tagDescription> |
| 71 | <tagDescription> |
| 72 | <name>Complete Robot</name> |
| 73 | <description>Complete Robot example programs</description> |
| 74 | </tagDescription> |
| 75 | |
| 76 | <!-- Examples --> |
| 77 | <example> |
| 78 | <name>Getting Started</name> |
| 79 | <description>An example program which demonstrates the simplest autonomous and |
| 80 | teleoperated routines.</description> |
| 81 | <tags> |
| 82 | <tag>Getting Started with Java</tag> |
| 83 | </tags> |
| 84 | <packages> |
| 85 | <package>src/$package-dir</package> |
| 86 | </packages> |
| 87 | <files> |
| 88 | <file source="examples/gettingstarted/Robot.java" destination="src/$package-dir/Robot.java" /> |
| 89 | </files> |
| 90 | </example> |
| 91 | <example> |
| 92 | <name>Tank Drive</name> |
| 93 | <description>Demonstrate the use of the RobotDrive class doing teleop driving with tank |
| 94 | steering</description> |
| 95 | <tags> |
| 96 | <tag>Actuators</tag> |
| 97 | <tag>Joystick</tag> |
| 98 | <tag>Robot and Motor</tag> |
| 99 | <tag>Safety</tag> |
| 100 | </tags> |
| 101 | <packages> |
| 102 | <package>src/$package-dir</package> |
| 103 | </packages> |
| 104 | <files> |
| 105 | <file source="examples/tankdrive/Robot.java" destination="src/$package-dir/Robot.java" /> |
| 106 | </files> |
| 107 | </example> |
| 108 | <example> |
| 109 | <name>Mecanum Drive</name> |
| 110 | <description>Demonstrate the use of the RobotDrive class doing teleop driving with Mecanum |
| 111 | steering</description> |
| 112 | <tags> |
| 113 | <tag>Actuators</tag> |
| 114 | <tag>Joystick</tag> |
| 115 | <tag>Robot and Motor</tag> |
| 116 | <tag>Safety</tag> |
| 117 | </tags> |
| 118 | <packages> |
| 119 | <package>src/$package-dir</package> |
| 120 | </packages> |
| 121 | <files> |
| 122 | <file source="examples/mecanumdrive/Robot.java" destination="src/$package-dir/Robot.java" /> |
| 123 | </files> |
| 124 | </example> |
| 125 | <example> |
| 126 | <name>Ultrasonic</name> |
| 127 | <description>Demonstrate maintaining a set distance using an ultrasonic sensor.</description> |
| 128 | <tags> |
| 129 | <tag>Sensors</tag> |
| 130 | <tag>Robot and Motor</tag> |
| 131 | <tag>Analog</tag> |
| 132 | </tags> |
| 133 | <packages> |
| 134 | <package>src/$package-dir</package> |
| 135 | </packages> |
| 136 | <files> |
| 137 | <file source="examples/ultrasonic/Robot.java" destination="src/$package-dir/Robot.java" /> |
| 138 | </files> |
| 139 | </example> |
| 140 | <example> |
| 141 | <name>Ultrasonic PID</name> |
| 142 | <description>Demonstrate maintaining a set distance using an ultrasonic sensor and PID |
| 143 | Control.</description> |
| 144 | <tags> |
| 145 | <tag>Sensors</tag> |
| 146 | <tag>Robot and Motor</tag> |
| 147 | <tag>Analog</tag> |
| 148 | </tags> |
| 149 | <packages> |
| 150 | <package>src/$package-dir</package> |
| 151 | </packages> |
| 152 | <files> |
| 153 | <file source="examples/ultrasonicpid/Robot.java" destination="src/$package-dir/Robot.java" /> |
| 154 | </files> |
| 155 | </example> |
| 156 | <example> |
| 157 | <name>Potentiometer PID</name> |
| 158 | <description>An example to demonstrate the use of a potentiometer and PID control to reach |
| 159 | elevator position setpoints.</description> |
| 160 | <tags> |
| 161 | <tag>Sensors</tag> |
| 162 | <tag>Actuators</tag> |
| 163 | <tag>Analog</tag> |
| 164 | <tag>Joystick</tag> |
| 165 | </tags> |
| 166 | <packages> |
| 167 | <package>src/$package-dir</package> |
| 168 | </packages> |
| 169 | <files> |
| 170 | <file source="examples/potentiometerpid/Robot.java" destination="src/$package-dir/Robot.java" /> |
| 171 | </files> |
| 172 | </example> |
| 173 | <example> |
| 174 | <name>Gyro</name> |
| 175 | <description>An example program showing how to drive straight with using a gyro sensor.</description> |
| 176 | <tags> |
| 177 | <tag>Sensors</tag> |
| 178 | <tag>Robot and Motor</tag> |
| 179 | <tag>Analog</tag> |
| 180 | <tag>Joystick</tag> |
| 181 | </tags> |
| 182 | <packages> |
| 183 | <package>src/$package-dir</package> |
| 184 | </packages> |
| 185 | <files> |
| 186 | <file source="examples/gyro/Robot.java" destination="src/$package-dir/Robot.java" /> |
| 187 | </files> |
| 188 | </example> |
| 189 | <example> |
| 190 | <name>Gyro Mecanum</name> |
| 191 | <description>An example program showing how to perform mecanum drive with field oriented |
| 192 | controls.</description> |
| 193 | <tags> |
| 194 | <tag>Sensors</tag> |
| 195 | <tag>Robot and Motor</tag> |
| 196 | <tag>Analog</tag> |
| 197 | <tag>Joystick</tag> |
| 198 | </tags> |
| 199 | <packages> |
| 200 | <package>src/$package-dir</package> |
| 201 | </packages> |
| 202 | <files> |
| 203 | <file source="examples/gyromecanum/Robot.java" destination="src/$package-dir/Robot.java" /> |
| 204 | </files> |
| 205 | </example> |
| 206 | <example> |
| 207 | <name>Motor Controller</name> |
| 208 | <description>Demonstrate controlling a single motor with a joystick</description> |
| 209 | <tags> |
| 210 | <tag>Actuators</tag> |
| 211 | <tag>Joystick</tag> |
| 212 | <tag>Robot and Motor</tag> |
| 213 | </tags> |
| 214 | <packages> |
| 215 | <package>src/$package-dir</package> |
| 216 | </packages> |
| 217 | <files> |
| 218 | <file source="examples/motorcontrol/Robot.java" destination="src/$package-dir/Robot.java" /> |
| 219 | </files> |
| 220 | </example> |
| 221 | <example> |
| 222 | <name>GearsBot</name> |
| 223 | <description>A fully functional example CommandBased program for WPIs GearsBot robot. This |
| 224 | code can run on your computer if it supports simulation.</description> |
| 225 | <tags> |
| 226 | <tag>Complete Robot</tag> |
| 227 | </tags> |
| 228 | <world>/usr/share/frcsim/worlds/GearsBotDemo.world</world> |
| 229 | <packages> |
| 230 | <package>src/$package-dir</package> |
| 231 | <package>src/$package-dir/commands</package> |
| 232 | <package>src/$package-dir/subsystems</package> |
| 233 | </packages> |
| 234 | <files> |
| 235 | <file source="examples/gearsbot/OI.java" destination="src/$package-dir/OI.java" /> |
| 236 | <file source="examples/gearsbot/Robot.java" destination="src/$package-dir/Robot.java" /> |
| 237 | <file source="examples/gearsbot/commands/Autonomous.java" destination="src/$package-dir/commands/Autonomous.java" /> |
| 238 | <file source="examples/gearsbot/commands/CloseClaw.java" destination="src/$package-dir/commands/CloseClaw.java" /> |
| 239 | <file source="examples/gearsbot/commands/DriveStraight.java" destination="src/$package-dir/commands/DriveStraight.java" /> |
| 240 | <file source="examples/gearsbot/commands/OpenClaw.java" destination="src/$package-dir/commands/OpenClaw.java" /> |
| 241 | <file source="examples/gearsbot/commands/Pickup.java" destination="src/$package-dir/commands/Pickup.java" /> |
| 242 | <file source="examples/gearsbot/commands/Place.java" destination="src/$package-dir/commands/Place.java" /> |
| 243 | <file source="examples/gearsbot/commands/PrepareToPickup.java" destination="src/$package-dir/commands/PrepareToPickup.java" /> |
| 244 | <file source="examples/gearsbot/commands/SetDistanceToBox.java" destination="src/$package-dir/commands/SetDistanceToBox.java" /> |
| 245 | <file source="examples/gearsbot/commands/SetElevatorSetpoint.java" destination="src/$package-dir/commands/SetElevatorSetpoint.java" /> |
| 246 | <file source="examples/gearsbot/commands/SetWristSetpoint.java" destination="src/$package-dir/commands/SetWristSetpoint.java" /> |
| 247 | <file source="examples/gearsbot/commands/TankDriveWithJoystick.java" destination="src/$package-dir/commands/TankDriveWithJoystick.java" /> |
| 248 | <file source="examples/gearsbot/subsystems/Claw.java" destination="src/$package-dir/subsystems/Claw.java" /> |
| 249 | <file source="examples/gearsbot/subsystems/DriveTrain.java" destination="src/$package-dir/subsystems/DriveTrain.java" /> |
| 250 | <file source="examples/gearsbot/subsystems/Elevator.java" destination="src/$package-dir/subsystems/Elevator.java" /> |
| 251 | <file source="examples/gearsbot/subsystems/Wrist.java" destination="src/$package-dir/subsystems/Wrist.java" /> |
| 252 | </files> |
| 253 | </example> |
| 254 | <example> |
| 255 | <name>PacGoat</name> |
| 256 | <description>A fully functional example CommandBased program for FRC Team 190's 2014 |
| 257 | robot. This code can run on your computer if it supports simulation.</description> |
| 258 | <tags> |
| 259 | <tag>Complete Robot</tag> |
| 260 | </tags> |
| 261 | <world>/usr/share/frcsim/worlds/PacGoat2014.world</world> |
| 262 | <packages> |
| 263 | <package>src/$package-dir</package> |
| 264 | <package>src/$package-dir/commands</package> |
| 265 | <package>src/$package-dir/subsystems</package> |
| 266 | <package>src/$package-dir/triggers</package> |
| 267 | </packages> |
| 268 | <files> |
| 269 | <file source="examples/pacgoat/OI.java" destination="src/$package-dir/OI.java" /> |
| 270 | <file source="examples/pacgoat/Robot.java" destination="src/$package-dir/Robot.java" /> |
| 271 | <file source="examples/pacgoat/commands/CheckForHotGoal.java" destination="src/$package-dir/commands/CheckForHotGoal.java" /> |
| 272 | <file source="examples/pacgoat/commands/CloseClaw.java" destination="src/$package-dir/commands/CloseClaw.java" /> |
| 273 | <file source="examples/pacgoat/commands/Collect.java" destination="src/$package-dir/commands/Collect.java" /> |
| 274 | <file source="examples/pacgoat/commands/DriveAndShootAutonomous.java" destination="src/$package-dir/commands/DriveAndShootAutonomous.java" /> |
| 275 | <file source="examples/pacgoat/commands/DriveForward.java" destination="src/$package-dir/commands/DriveForward.java" /> |
| 276 | <file source="examples/pacgoat/commands/DriveWithJoystick.java" destination="src/$package-dir/commands/DriveWithJoystick.java" /> |
| 277 | <file source="examples/pacgoat/commands/ExtendShooter.java" destination="src/$package-dir/commands/ExtendShooter.java" /> |
| 278 | <file source="examples/pacgoat/commands/LowGoal.java" destination="src/$package-dir/commands/LowGoal.java" /> |
| 279 | <file source="examples/pacgoat/commands/OpenClaw.java" destination="src/$package-dir/commands/OpenClaw.java" /> |
| 280 | <file source="examples/pacgoat/commands/SetCollectionSpeed.java" destination="src/$package-dir/commands/SetCollectionSpeed.java" /> |
| 281 | <file source="examples/pacgoat/commands/SetPivotSetpoint.java" destination="src/$package-dir/commands/SetPivotSetpoint.java" /> |
| 282 | <file source="examples/pacgoat/commands/Shoot.java" destination="src/$package-dir/commands/Shoot.java" /> |
| 283 | <file source="examples/pacgoat/commands/WaitForBall.java" destination="src/$package-dir/commands/WaitForBall.java" /> |
| 284 | <file source="examples/pacgoat/commands/WaitForPressure.java" destination="src/$package-dir/commands/WaitForPressure.java" /> |
| 285 | <file source="examples/pacgoat/subsystems/Collector.java" destination="src/$package-dir/subsystems/Collector.java" /> |
| 286 | <file source="examples/pacgoat/subsystems/DriveTrain.java" destination="src/$package-dir/subsystems/DriveTrain.java" /> |
| 287 | <file source="examples/pacgoat/subsystems/Pivot.java" destination="src/$package-dir/subsystems/Pivot.java" /> |
| 288 | <file source="examples/pacgoat/subsystems/Pneumatics.java" destination="src/$package-dir/subsystems/Pneumatics.java" /> |
| 289 | <file source="examples/pacgoat/subsystems/Shooter.java" destination="src/$package-dir/subsystems/Shooter.java" /> |
| 290 | <file source="examples/pacgoat/triggers/DoubleButton.java" destination="src/$package-dir/triggers/DoubleButton.java" /> |
| 291 | </files> |
| 292 | </example> |
| 293 | <example> |
| 294 | <name>Simple Vision</name> |
| 295 | <description>Demonstrate the use of the CameraServer class to stream from a USB Webcam |
| 296 | without processing the images.</description> |
| 297 | <tags> |
| 298 | <tag>Vision</tag> |
| 299 | <tag>Complete List</tag> |
| 300 | </tags> |
| 301 | <packages> |
| 302 | <package>src/$package-dir</package> |
| 303 | </packages> |
| 304 | <files> |
| 305 | <file source="examples/quickvision/Robot.java" destination="src/$package-dir/Robot.java" /> |
| 306 | </files> |
| 307 | </example> |
| 308 | <example> |
| 309 | <name>Intermediate Vision</name> |
| 310 | <description>Demonstrate the use of the NIVision class to capture image from a Webcam, |
| 311 | process them, and then send them to the dashboard.</description> |
| 312 | <tags> |
| 313 | <tag>Vision</tag> |
| 314 | <tag>Complete List</tag> |
| 315 | </tags> |
| 316 | <packages> |
| 317 | <package>src/$package-dir</package> |
| 318 | </packages> |
| 319 | <files> |
| 320 | <file source="examples/intermediatevision/Robot.java" destination="src/$package-dir/Robot.java" /> |
| 321 | </files> |
| 322 | </example> |
| 323 | <example> |
| 324 | <name>Axis Camera Sample</name> |
| 325 | <description>An example program that acquires images from an Axis network camera and adds |
| 326 | some |
| 327 | annotation to the image as you might do for showing operators the result of some image |
| 328 | recognition, and sends it to the dashboard for display. This demonstrates the use of the |
| 329 | AxisCamera class.</description> |
| 330 | <tags> |
| 331 | <tag>Vision</tag> |
| 332 | </tags> |
| 333 | <packages> |
| 334 | <package>src/$package-dir</package> |
| 335 | </packages> |
| 336 | <files> |
| 337 | <file source="examples/axiscamera/Robot.java" destination="src/$package-dir/Robot.java" /> |
| 338 | </files> |
| 339 | </example> |
| 340 | </examples> |