diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2020-04-02 11:56:02 +0300 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2020-04-02 11:56:02 +0300 |
| commit | 877971e035526898d04c609f89e9ec2d1922036f (patch) | |
| tree | b028d032437bb2608ce5195035a345272d401c12 /Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c | |
| parent | f051c52a15f629c8fbea0038a1df4831e56101cf (diff) | |
| download | Tango-877971e035526898d04c609f89e9ec2d1922036f.tar.gz Tango-877971e035526898d04c609f89e9ec2d1922036f.zip | |
handling of safety heating tests, dancers position
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c index fb8fa4711..a6a8314ab 100644 --- a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c +++ b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c @@ -830,6 +830,7 @@ uint32_t ThreadPrepare_Tension (int DancerId, double tension) direction = 1-MotorsCfg[HW_Motor_Id].directionthreadwize; movement = current - request; } + MotorSetMaxSpeed (HW_Motor_Id, 500); MotorMoveWithCallback (HW_Motor_Id, direction, (movement*MotorsCfg[HW_Motor_Id].microstep), NULL,20000); status |= MCU_E2PromProgram(address,request); } |
