diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2018-10-16 09:08:16 +0300 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2018-10-16 09:08:16 +0300 |
| commit | 1d2d783fdbbd6500e9b89f4c628affc190ff2b8d (patch) | |
| tree | 7003e69cbaf3398310d28f15a9da65f8f3e44e05 /Software/Embedded_SW/Embedded/Modules/Thread | |
| parent | ad07a364922ade9aff41441e13d1f06e6bac8488 (diff) | |
| download | Tango-1d2d783fdbbd6500e9b89f4c628affc190ff2b8d.tar.gz Tango-1d2d783fdbbd6500e9b89f4c628affc190ff2b8d.zip | |
heaters correction
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Thread')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c index d2bbad72b..503ef2c37 100644 --- a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c +++ b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c @@ -461,21 +461,6 @@ uint32_t ThreadControlCBFunction(uint32_t IfIndex, uint32_t ReadValue) //KeepNormalizedError = NormalizedError; } calculated_speed = (1-MotorControlConfig[index].m_calculatedError)*OriginalMotorSpd_2PPS[index]; - /*if (index == FEEDER_MOTOR) - { - if (KeepReadValue != TranslatedReadValue) - { - eNormalizedError[controlIndex] = NormalizedError; - calculatedError[controlIndex] = MotorControlConfig[index].m_calculatedError; - readValue[controlIndex] = ReadValue; - TranslatedreadValue[controlIndex] = TranslatedReadValue; - AveragereadValue[controlIndex] = avreageSampleValue; - calculatedspeed[controlIndex] = calculated_speed; - controlIndex++; - if (controlIndex >= 99) controlIndex = 0; - KeepReadValue = TranslatedReadValue; - } - }*/ if (abs(calculated_speed-CurrentControlledSpeed[index])>2) { /*if (keepdata == true) |
