Skip to content

Commit e55a0e5

Browse files
committed
feat: add event declarations
1 parent af89e88 commit e55a0e5

1 file changed

Lines changed: 115 additions & 0 deletions

File tree

smartFactory/events.pkl

Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
// This module contains all event topic definitions for the CSM SmartFactory
2+
3+
//Event for indicating job is done
4+
eJobDone = "eJobDone"
5+
6+
//Event for indicating a scan is complete
7+
eScanned = "eScanned"
8+
9+
//Event for processing message
10+
eProcessMessage = "eProcessMessage"
11+
12+
//Event for initiating pickup (by robotic arm)
13+
eArmPickup = "eArmPickup"
14+
15+
//Event for indicating an object is valid
16+
eObjectValid = "eObjectValid"
17+
18+
//Event for indicating an object is inValid
19+
eObjectInvalid = "eObjectInvalid"
20+
21+
//Event for indicating a photo has been scanned (by conveyor camera)
22+
ePhotoScanned = "ePhotoScanned"
23+
24+
//Event for indicating a scanned object is valid
25+
eCheckValidObject = "eCheckValidObject"
26+
27+
//Event for indicating a scanned object is invalid
28+
eCheckInvalidObject = "eCheckInvalidObject"
29+
30+
//Event for indicating that start sensor's beam has been interrupted
31+
eBeamInterruptedStart = "eBeamInterruptedStart"
32+
33+
//Event for indicating that end sensor's beam has been interrupted
34+
eBeamInterruptedEnd = "eBeamInterruptedEnd"
35+
36+
//Event for indicating that beam detection by sensor is complete
37+
eBeamDetectionPerformed = "beamDetectionPerformed"
38+
39+
//Event for initating checking of beam detection results
40+
eCheckBeamDetection = "eCheckBeamDetection"
41+
42+
//Event for initating scanning (by conveyor camera)
43+
eStartScan = "eStartScan"
44+
45+
//Event for initating unloading (by conveyor belt)
46+
eStartUnload = "eStartUnload"
47+
48+
//Event for initating check to see if the job is complete
49+
eCheckJobDone = "eCheckJobDone"
50+
51+
//Event for indicating that pickup failed (by robotic arm)
52+
ePickupNotSuccess = "pickupNotSuccess"
53+
54+
//Event for initiating update of pickup success status
55+
eUpdatePickupSuccessStatus = "eUpdatePickupSuccessStatus"
56+
57+
//Event for initating check for pickup success
58+
eCheckPickUpSuccess = "eCheckPickUpSuccess"
59+
60+
//Event for indicating that the object has been picked up
61+
ePickedUp = "ePickedUp"
62+
63+
//Event for initiating check for success of pickup retry
64+
eRetry = "eRetry"
65+
66+
//Event for indicating updated pickup status
67+
eUpdatePickupStatus = "eUpdatePickupStatus"
68+
69+
//Event for initiating check for success of assembly
70+
eCheckAssembleSuccess = "eCheckAssembleSuccess"
71+
72+
//Event indicating successful assembly
73+
eAssemblySuccessful = "eAssemblySuccessful"
74+
75+
//Event indicating unsuccessful assembly
76+
eAssemblyUnsuccessful = "eAssemblyUnsuccessful"
77+
78+
//Event indicating that a new part was assembled
79+
eAssemblyComplete = "eAssemblyComplete"
80+
81+
//Event indicating that the assembly of a new product was completed
82+
eProductComplete = "eProductComplete"
83+
84+
//Event initiating transfer of statistics to external service
85+
eSendStatistics = "eSendStatistics"
86+
87+
//Event indicating that a message has been processed
88+
eMessageProcessed = "eMessageProcessed"
89+
90+
//Event indicating that a photo has been captured
91+
ePhotoCaptured = "ePhotoCaptured"
92+
93+
//Event indicating that the statistics after job completion have been logged by the monitor
94+
eMonitorJobCompletionStatisticsLogged = "eMonitorJobCompletionStatisticsLogged"
95+
96+
//Event indicating that the conveyor belt has been moved to the start position
97+
eBeltReturnedToStart = "eBeltReturnedToStart"
98+
99+
//Event indicating that the arm needs to be reset
100+
eResetArm = "eResetArm"
101+
102+
//Event indicating that an invalid object has been discarded
103+
eObjectDiscarded = "eObjectDiscarded"
104+
105+
//Event indicating that the arm timed-out while waiting for pickup status
106+
eArmPickupUpdateStatusTimedout = "eArmPickupUpdateStatusTimedout"
107+
108+
//Event indicating that the arm timed-out while waiting for assembly status
109+
eArmAssemblyUpdateStatusTimedout = "eArmAssemblyUpdateStatusTimedout"
110+
111+
//Event indicating that the assembly controller timed-out while waiting for captured photo
112+
ePhotoCaptureTimedOut = "ePhotoCaptureTimedOut"
113+
114+
//Event indicating that the assembly controller timed-out while waiting for photo scan
115+
ePhotoScanTimedOut = "ePhotoScanTimedOut"

0 commit comments

Comments
 (0)