Deduplicate code for sending out RobotState messages

Change-Id: Idcf7c9e375f574ec3711ed16a1959925ee3343af
diff --git a/frc971/wpilib/wpilib_interface.h b/frc971/wpilib/wpilib_interface.h
new file mode 100644
index 0000000..216bf09
--- /dev/null
+++ b/frc971/wpilib/wpilib_interface.h
@@ -0,0 +1,17 @@
+#ifndef FRC971_WPILIB_WPILIB_INTERFACE_H_
+#define FRC971_WPILIB_WPILIB_INTERFACE_H_
+
+#include <stdint.h>
+
+class DriverStation;
+
+namespace frc971 {
+namespace wpilib {
+
+// Sends out a message on ::aos::robot_state.
+void SendRobotState(int32_t my_pid, DriverStation *ds);
+
+}  // namespace wpilib
+}  // namespace frc971
+
+#endif  // FRC971_WPILIB_WPILIB_INTERFACE_H_