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 NerfUS

Committer:
Maxime Dupuis
Date:
Wed Apr 12 10:33:32 2017 -0400
Revision:
51:6bf268cd1a1b
Parent:
28:8fc53a870691
Update tests to ignore target hits before 750ms threshold

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Maxime Dupuis 28:8fc53a870691 1 #include "TargetInfo.hpp"
Maxime Dupuis 28:8fc53a870691 2
Maxime Dupuis 28:8fc53a870691 3 TargetInfo make_TargetInfo(const int id, const TargetType type, const int timeout_ms)
Maxime Dupuis 28:8fc53a870691 4 {
Maxime Dupuis 28:8fc53a870691 5 TargetInfo target = {id, type, timeout_ms};
Maxime Dupuis 28:8fc53a870691 6 return target;
Maxime Dupuis 28:8fc53a870691 7 }