Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: TargetManagerManualTest NerfUSTarget
source/TargetHitCallback.cpp@10:1b5440d9226c, 2017-04-11 (annotated)
- Committer:
- GaiSensei
- Date:
- Tue Apr 11 03:47:38 2017 +0000
- Revision:
- 10:1b5440d9226c
- Parent:
- 6:b6ecf23f24ce
Calibrate servomotors
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dupm2216 | 3:70212b0e0939 | 1 | #include "TargetHitCallback.hpp" |
dupm2216 | 3:70212b0e0939 | 2 | |
dupm2216 | 6:b6ecf23f24ce | 3 | TargetHitCallback::TargetHitCallback(TargetManagerInterface& target_manager, const int id) : |
dupm2216 | 3:70212b0e0939 | 4 | target_manager(target_manager), |
dupm2216 | 3:70212b0e0939 | 5 | id(id) |
dupm2216 | 3:70212b0e0939 | 6 | { |
dupm2216 | 3:70212b0e0939 | 7 | } |
dupm2216 | 3:70212b0e0939 | 8 | |
dupm2216 | 3:70212b0e0939 | 9 | void TargetHitCallback::call() |
dupm2216 | 3:70212b0e0939 | 10 | { |
dupm2216 | 3:70212b0e0939 | 11 | target_manager.target_hit(id); |
dupm2216 | 3:70212b0e0939 | 12 | } |