Wrist loop test case now runs and fails.
diff --git a/frc971/control_loops/control_loops.gyp b/frc971/control_loops/control_loops.gyp
index 8bdc7a0..d0fe261 100644
--- a/frc971/control_loops/control_loops.gyp
+++ b/frc971/control_loops/control_loops.gyp
@@ -2,6 +2,7 @@
'variables': {
'loop_files': [
'DriveTrain.q',
+ 'wrist_motor.q',
]
},
'targets': [
@@ -23,6 +24,48 @@
'includes': ['../../aos/build/queues.gypi'],
},
{
+ 'target_name': 'wrist_lib',
+ 'type': 'static_library',
+ 'sources': [
+ 'wrist.cc',
+ 'wrist_motor_plant.cc',
+ ],
+ 'dependencies': [
+ '<(AOS)/build/aos.gyp:libaos',
+ 'control_loops',
+ '<(AOS)/common/common.gyp:controls',
+ '<(DEPTH)/frc971/frc971.gyp:common',
+ '<(EXTERNALS):eigen',
+ ],
+ },
+ {
+ 'target_name': 'wrist_lib_test',
+ 'type': 'executable',
+ 'sources': [
+ 'wrist_lib_test.cc',
+ ],
+ 'dependencies': [
+ '<(EXTERNALS):gtest',
+ '<(AOS)/build/aos.gyp:libaos',
+ 'control_loops',
+ 'wrist_lib',
+ '<(AOS)/common/common.gyp:queue_testutils',
+ '<(EXTERNALS):eigen',
+ ],
+ },
+ {
+ 'target_name': 'wrist',
+ 'type': 'executable',
+ 'sources': [
+ 'wrist_main.cc',
+ ],
+ 'dependencies': [
+ '<(AOS)/build/aos.gyp:libaos',
+ 'wrist_lib',
+ 'control_loops',
+ ],
+ },
+ {
'target_name': 'DriveTrain',
'type': 'executable',
'sources': [