ifw-fcf  5.0.0-pre2
smaractHwErrors.hpp
Go to the documentation of this file.
1 
10 #ifndef FCF_DEVMGR_DEVICE_SMARACT_HW_ERRORS_HPP
11 #define FCF_DEVMGR_DEVICE_SMARACT_HW_ERRORS_HPP
12 
13 // System headers
14 #include <unordered_map>
15 
16 namespace fcf::devmgr::smaract {
17 
18  enum {
23 
24 
25 
26 
27  };
28 
29 
30 
31  const std::unordered_map<short, std::string> hw_errors = {
32  {HW_ERR_HW_NOT_OP, "TwinCAT not OP or CouplerState not mapped."},
33  {HW_ERR_LOCAL, "control not allowed. Motor in Local mode."},
34  {HW_ERR_INIT_ABORTED, "INIT command aborted."},
35 
36 
37 
38  };
39 
40 }
41 
42 #endif // FCF_DEVMGR_DEVICE_SMARACT_HW_ERRORS_HPP
Definition: smaract.hpp:19
const std::unordered_map< short, std::string > hw_errors
Definition: smaractHwErrors.hpp:31
@ HW_ERR_LOCAL
Definition: smaractHwErrors.hpp:21
@ HW_ERR_HW_NOT_OP
Definition: smaractHwErrors.hpp:20
@ HW_ERR_INIT_ABORTED
Definition: smaractHwErrors.hpp:22
@ HW_SUCCESS
Definition: smaractHwErrors.hpp:19