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:
GaiSensei
Date:
Tue Apr 11 03:49:04 2017 +0000
Revision:
46:853966aab733
Calibrate servomotors

Who changed what in which revision?

UserRevisionLine numberNew contents of line
GaiSensei 46:853966aab733 1 #include "TargetHitCalibrateCallback.hpp"
GaiSensei 46:853966aab733 2
GaiSensei 46:853966aab733 3 TargetHitCalibrateCallback::TargetHitCalibrateCallback(Calibrator& calibrator) :
GaiSensei 46:853966aab733 4 calibrator(calibrator)
GaiSensei 46:853966aab733 5 {
GaiSensei 46:853966aab733 6 }
GaiSensei 46:853966aab733 7
GaiSensei 46:853966aab733 8 void TargetHitCalibrateCallback::call()
GaiSensei 46:853966aab733 9 {
GaiSensei 46:853966aab733 10 calibrator.on_rise();
GaiSensei 46:853966aab733 11 }