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
source/TargetManager.cpp@28:8fc53a870691, 2017-03-27 (annotated)
- Committer:
- Maxime Dupuis
- Date:
- Mon Mar 27 18:34:07 2017 -0400
- Revision:
- 28:8fc53a870691
- Child:
- 30:412a779cf607
Add TargetManager library and create MockTarget
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Maxime Dupuis |
28:8fc53a870691 | 1 | #include "TargetManager.hpp" |
Maxime Dupuis |
28:8fc53a870691 | 2 | |
Maxime Dupuis |
28:8fc53a870691 | 3 | void TargetManager::target_hit(int target_number) |
Maxime Dupuis |
28:8fc53a870691 | 4 | { |
Maxime Dupuis |
28:8fc53a870691 | 5 | |
Maxime Dupuis |
28:8fc53a870691 | 6 | } |
Maxime Dupuis |
28:8fc53a870691 | 7 | |
Maxime Dupuis |
28:8fc53a870691 | 8 | void TargetManager::target_missed(int target_number) |
Maxime Dupuis |
28:8fc53a870691 | 9 | { |
Maxime Dupuis |
28:8fc53a870691 | 10 | |
Maxime Dupuis |
28:8fc53a870691 | 11 | } |
Maxime Dupuis |
28:8fc53a870691 | 12 |