-
Notifications
You must be signed in to change notification settings - Fork 0
/
SlaveCantFollowErrorReaction.go
36 lines (29 loc) · 1.51 KB
/
SlaveCantFollowErrorReaction.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Code generated by the FlatBuffers compiler. DO NOT EDIT.
package fbtypes
import "strconv"
/// Definition of some possible error reaction, when the slave axis is sync'd, but can't follow the result of the calculation pipeline
type SlaveCantFollowErrorReaction int8
const (
/// set the slave axis to error and decouple it from the master + create a diagnosis error
SlaveCantFollowErrorReactionCREATE_ERROR SlaveCantFollowErrorReaction = 0
/// let the slave axis go back to unsync'd and use the chasing interpolator to follow
SlaveCantFollowErrorReactionTRY_TO_RESYNC SlaveCantFollowErrorReaction = 1
/// keep the slave axis sync'd and exceed the axis limits
SlaveCantFollowErrorReactionKEEP_SYNCHRONIZED SlaveCantFollowErrorReaction = 2
)
var EnumNamesSlaveCantFollowErrorReaction = map[SlaveCantFollowErrorReaction]string{
SlaveCantFollowErrorReactionCREATE_ERROR: "CREATE_ERROR",
SlaveCantFollowErrorReactionTRY_TO_RESYNC: "TRY_TO_RESYNC",
SlaveCantFollowErrorReactionKEEP_SYNCHRONIZED: "KEEP_SYNCHRONIZED",
}
var EnumValuesSlaveCantFollowErrorReaction = map[string]SlaveCantFollowErrorReaction{
"CREATE_ERROR": SlaveCantFollowErrorReactionCREATE_ERROR,
"TRY_TO_RESYNC": SlaveCantFollowErrorReactionTRY_TO_RESYNC,
"KEEP_SYNCHRONIZED": SlaveCantFollowErrorReactionKEEP_SYNCHRONIZED,
}
func (v SlaveCantFollowErrorReaction) String() string {
if s, ok := EnumNamesSlaveCantFollowErrorReaction[v]; ok {
return s
}
return "SlaveCantFollowErrorReaction(" + strconv.FormatInt(int64(v), 10) + ")"
}