copied everything over from 2012 and removed all of the actual robot code except the drivetrain stuff
git-svn-id: https://robotics.mvla.net/svn/frc971/2013/trunk/src@4078 f308d9b7-e957-4cde-b6ac-9a88185e7312
diff --git a/aos/crio/Talon.h b/aos/crio/Talon.h
new file mode 100644
index 0000000..c116a4d
--- /dev/null
+++ b/aos/crio/Talon.h
@@ -0,0 +1,21 @@
+#ifndef AOS_CRIO_TALON_H_
+#define AOS_CRIO_TALON_H_
+
+#include "WPILib/SafePWM.h"
+#include "WPILib/SpeedController.h"
+#include "WPILib/PIDOutput.h"
+
+// Used for controlling a Talon speed controller. Non-standard API and
+// namespace so that the likely WPILib version will be drop-in replaceable.
+class Talon : public SafePWM, public SpeedController, public PIDOutput {
+ public:
+ explicit Talon(UINT32 channel);
+
+ virtual void Set(float value, UINT8 syncGroup=0);
+ virtual float Get();
+ virtual void Disable();
+
+ virtual void PIDWrite(float output);
+};
+
+#endif // AOS_CRIO_TALON_H_