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
Diff: source/TargetInfo.cpp
- Revision:
- 28:8fc53a870691
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/source/TargetInfo.cpp Mon Mar 27 18:34:07 2017 -0400 @@ -0,0 +1,7 @@ +#include "TargetInfo.hpp" + +TargetInfo make_TargetInfo(const int id, const TargetType type, const int timeout_ms) +{ + TargetInfo target = {id, type, timeout_ms}; + return target; +}