blob: 8bb94c0ec5a1584468adfe65994c3b5f125939bb [file] [log] [blame]
{
'targets': [
{
'target_name': 'claw_loop',
'type': 'static_library',
'sources': ['claw.q'],
'variables': {
'header_path': 'frc971/control_loops/claw',
},
'dependencies': [
'<(AOS)/common/common.gyp:control_loop_queues',
'<(DEPTH)/frc971/control_loops/control_loops.gyp:queues',
],
'export_dependent_settings': [
'<(AOS)/common/common.gyp:control_loop_queues',
'<(DEPTH)/frc971/control_loops/control_loops.gyp:queues',
],
'includes': ['../../../aos/build/queues.gypi'],
},
{
'target_name': 'claw_lib',
'type': 'static_library',
'sources': [
'claw.cc',
'claw_motor_plant.cc',
],
'dependencies': [
'claw_loop',
'<(AOS)/common/common.gyp:controls',
'<(DEPTH)/frc971/frc971.gyp:constants',
'<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
],
'export_dependent_settings': [
'claw_loop',
'<(AOS)/common/common.gyp:controls',
'<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
],
},
{
'target_name': 'claw_lib_test',
'type': 'executable',
'sources': [
'claw_lib_test.cc',
],
'dependencies': [
'<(EXTERNALS):gtest',
'claw_loop',
'claw_lib',
'<(AOS)/common/common.gyp:queue_testutils',
'<(DEPTH)/frc971/control_loops/control_loops.gyp:state_feedback_loop',
],
},
{
'target_name': 'claw_calibration',
'type': 'executable',
'sources': [
'claw_calibration.cc',
],
'dependencies': [
'<(AOS)/linux_code/linux_code.gyp:init',
'claw_loop',
'<(AOS)/common/common.gyp:controls',
'<(DEPTH)/frc971/frc971.gyp:constants',
],
},
{
'target_name': 'claw',
'type': 'executable',
'sources': [
'claw_main.cc',
],
'dependencies': [
'<(AOS)/linux_code/linux_code.gyp:init',
'claw_lib',
],
},
],
}