mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Added new sample programs to the eclipse plugins for C++ and Java.
Modified examples.xml for the corresponding added programs. Change-Id: I3d86c570f446ec8cf3013c58dd94215f2907bbb1
This commit is contained in:
@@ -150,6 +150,7 @@
|
||||
<tag>Complete List</tag>
|
||||
<tag>Robot and Motor</tag>
|
||||
<tag>CAN</tag>
|
||||
<tag>Analog</tag>
|
||||
</tags>
|
||||
<packages>
|
||||
<package>src/$package-dir</package>
|
||||
@@ -161,6 +162,108 @@
|
||||
</example>
|
||||
|
||||
|
||||
<example>
|
||||
<name>Ultrasonic PID</name>
|
||||
<description>Demonstrate maintaining a set distance using an ultrasonic sensor and PID Control. </description>
|
||||
<tags>
|
||||
<tag>Sensors</tag>
|
||||
<tag>Complete List</tag>
|
||||
<tag>Robot and Motor</tag>
|
||||
<tag>CAN</tag>
|
||||
<tag>Analog</tag>
|
||||
</tags>
|
||||
<packages>
|
||||
<package>src/$package-dir</package>
|
||||
</packages>
|
||||
<files>
|
||||
<file source="examples/UltrasonicPID/src/org/usfirst/frc/team190/robot/Robot.java"
|
||||
destination="src/$package-dir/Robot.java"></file>
|
||||
</files>
|
||||
</example>
|
||||
|
||||
|
||||
<example>
|
||||
<name>Potentiometer PID</name>
|
||||
<description>An example to demonstrate the use of a potentiometer and PID control to reach elevator position setpoints.</description>
|
||||
<tags>
|
||||
<tag>Sensors</tag>
|
||||
<tag>Complete List</tag>
|
||||
<tag>Actuators</tag>
|
||||
<tag>Analog</tag>
|
||||
<tag>Joystick</tag>
|
||||
</tags>
|
||||
<packages>
|
||||
<package>src/$package-dir</package>
|
||||
</packages>
|
||||
<files>
|
||||
<file source="examples/PotentiometerPID/src/org/usfirst/frc/team190/robot/Robot.java"
|
||||
destination="src/$package-dir/Robot.java"></file>
|
||||
</files>
|
||||
</example>
|
||||
|
||||
|
||||
<example>
|
||||
<name>Potentiometer</name>
|
||||
<description>An example to demonstrate the use of a potentiometer and basic proportional control to reach elevator position setpoints.</description>
|
||||
<tags>
|
||||
<tag>Sensors</tag>
|
||||
<tag>Complete List</tag>
|
||||
<tag>Actuators</tag>
|
||||
<tag>Analog</tag>
|
||||
<tag>Joystick</tag>
|
||||
</tags>
|
||||
<packages>
|
||||
<package>src/$package-dir</package>
|
||||
</packages>
|
||||
<files>
|
||||
<file source="examples/Potentiometer/src/org/usfirst/frc/team190/robot/Robot.java"
|
||||
destination="src/$package-dir/Robot.java"></file>
|
||||
</files>
|
||||
</example>
|
||||
|
||||
|
||||
<example>
|
||||
<name>Gyro</name>
|
||||
<description>An example program showing how to drive straight with using a gyro sensor.</description>
|
||||
<tags>
|
||||
<tag>Sensors</tag>
|
||||
<tag>Complete List</tag>
|
||||
<tag>Robot and Motor</tag>
|
||||
<tag>CAN</tag>
|
||||
<tag>Analog</tag>
|
||||
<tag>Joystick</tag>
|
||||
</tags>
|
||||
<packages>
|
||||
<package>src/$package-dir</package>
|
||||
</packages>
|
||||
<files>
|
||||
<file source="examples/Gyro/src/org/usfirst/frc/team190/robot/Robot.java"
|
||||
destination="src/$package-dir/Robot.java"></file>
|
||||
</files>
|
||||
</example>
|
||||
|
||||
|
||||
<example>
|
||||
<name>Gyro Mecanum</name>
|
||||
<description>An example program showing how to perform mecanum drive with field oriented controls.</description>
|
||||
<tags>
|
||||
<tag>Sensors</tag>
|
||||
<tag>Complete List</tag>
|
||||
<tag>Robot and Motor</tag>
|
||||
<tag>CAN</tag>
|
||||
<tag>Analog</tag>
|
||||
<tag>Joystick</tag>
|
||||
</tags>
|
||||
<packages>
|
||||
<package>src/$package-dir</package>
|
||||
</packages>
|
||||
<files>
|
||||
<file source="examples/GyroMecanum/src/org/usfirst/frc/team190/robot/Robot.java"
|
||||
destination="src/$package-dir/Robot.java"></file>
|
||||
</files>
|
||||
</example>
|
||||
|
||||
|
||||
<example>
|
||||
<name>Motor Controller</name>
|
||||
<description>Demonstrate controlling a single motor with a joystick</description>
|
||||
|
||||
Reference in New Issue
Block a user