aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Thread/Thread.h
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-04-08 09:48:53 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-04-08 09:48:53 +0300
commitba7426fcfe4f760651b50ae5ce4027393b984e4a (patch)
tree1c37d99759df2b703f24a2809c193a8374e9b552 /Software/Embedded_SW/Embedded/Modules/Thread/Thread.h
parent78adf5f94931c02bf23351965995aa8029fca01a (diff)
parent692d71abcd583ade2977d4b6012b9c2a6de7d4d8 (diff)
downloadTango-ba7426fcfe4f760651b50ae5ce4027393b984e4a.tar.gz
Tango-ba7426fcfe4f760651b50ae5ce4027393b984e4a.zip
Merge branch 'master' of https://twinetfs.visualstudio.com/_git/Tango
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Thread/Thread.h')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Thread/Thread.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Thread/Thread.h b/Software/Embedded_SW/Embedded/Modules/Thread/Thread.h
index f568f9816..913b38df8 100644
--- a/Software/Embedded_SW/Embedded/Modules/Thread/Thread.h
+++ b/Software/Embedded_SW/Embedded/Modules/Thread/Thread.h
@@ -33,8 +33,11 @@ typedef struct
{
uint32_t startoffsetpulses;
uint32_t spoolbackingrate;
- uint32_t segmentoffsetpulses;
+ uint32_t segmentoffsetpulses;// the spool winding initial length in mm
uint32_t milimetersperrotation;
+ uint32_t SpoolBottomBackingRate;// the angle of the bottom of the spool
+ double NumberOfRotationPerPassage; // how many rotations per spool passage
+ double diameter;
}InternalWinderConfigStruc;
typedef struct
@@ -55,7 +58,7 @@ typedef enum threadMotorsEnum
SCREW_MOTOR,
MAX_THREAD_MOTORS_NUM
}threadMotorsEnum;
-
+#define MAX_THREAD_FEED_MOTORS WINDER_MOTOR+1
extern uint32_t ThreadMotorIdToMotorId[MAX_THREAD_MOTORS_NUM];
@@ -66,9 +69,12 @@ extern InternalWinderConfigStruc InternalWinderCfg;
uint32_t InternalWinderConfigMessage(HardwareWinder* request);
uint32_t MotorsConfigMessage(HardwareMotor * request);
uint32_t InternalWindingConfigMessage(JobSpool* request);
+uint32_t ThreadInitialTestStub(HardwareMotor * request);
uint32_t DancerConfigMessage(HardwareDancer * request);
+uint32_t ThreadPrepareState(void *JobDetails);
+
#endif //MODULES_THREAD_THREAD_H_