NerfUS mobile node that manages a target for the Nerf gun firing range
Dependencies: LedController mbed-rtos mbed NerfUSXbee Servomotor TargetManager
Fork of NerfUS by
TargetInfo.hpp
00001 #ifndef TARGET_INFO_HPP 00002 #define TARGET_INFO_HPP 00003 00004 enum TargetType 00005 { 00006 TARGET_TYPE_ALLY, 00007 TARGET_TYPE_ENEMY 00008 }; 00009 00010 struct TargetInfo 00011 { 00012 int id; 00013 TargetType type; 00014 int timeout_ms; 00015 }; 00016 00017 TargetInfo make_TargetInfo(int id, TargetType type, int timeout_ms); 00018 00019 #endif 00020
Generated on Thu Jul 14 2022 01:50:39 by
1.7.2
