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:
Mon Mar 27 18:34:07 2017 -0400
Revision:
28:8fc53a870691
Add TargetManager library and create MockTarget

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 }