Majordhome/pixy
Diff: Servoloop.cpp
- Revision:
- 1:7915442d0bd8
- Parent:
- 0:b12a5af91608
diff -r b12a5af91608 -r 7915442d0bd8 Servoloop.cpp --- a/Servoloop.cpp Mon Apr 13 12:16:51 2015 +0000 +++ b/Servoloop.cpp Tue Apr 14 11:00:17 2015 +0000 @@ -12,8 +12,6 @@ // ServoLoop Update // Calculates new output based on the measured // error and the current state. - - void Servoloop::update(int32_t error){ long int velocity; char buf[32]; @@ -26,6 +24,7 @@ m_pos = RCS_MIN_POS;} } m_prevError = error; + }