ifw-fcf 7.1.4
Loading...
Searching...
No Matches
smaractRpcErrors.hpp
Go to the documentation of this file.
1
8#ifndef DEVMGR_DEVICE_SMARACT_RPC_ERRORS_H
9#define DEVMGR_DEVICE_SMARACT_RPC_ERRORS_H
10
11#include <unordered_map>
12
13
15
16 enum {
25 };
26
27 const std::unordered_map<short, std::string> RPC_ERRORS = {
28 {RPC_ERR_CHANNEL, "Channel not in range [0..17]."},
29 {RPC_ERR_VEL_ZERO, "Target Velocity cannot be zero."},
30 {RPC_ERR_VEL_NEG, "Target Velocity cannot be negative."},
31 {RPC_ERR_VEL_MAX, "Target Velocity higher than Maximum."},
32 {RPC_ERR_CHANNEL_NOT_OP, "Channel not OPERATIONAL. REFerence first."},
33 {RPC_ERR_CTRL_ERROR, "control error."},
34 {RPC_ERR_MOVING_ERROR, "Moving error."},
35 {RPC_ERR_COMM_ERROR, "Controller communication error."}
36 };
37
38}
39#endif // DEVMGR_DEVICE_SMARACT_RPC_ERRORS_H
Motor class source file.
Definition smaract.hpp:18
@ RPC_ERR_VEL_ZERO
Definition smaractRpcErrors.hpp:18
@ RPC_ERR_MOVING_ERROR
Definition smaractRpcErrors.hpp:23
@ RPC_ERR_VEL_NEG
Definition smaractRpcErrors.hpp:19
@ RPC_ERR_COMM_ERROR
Definition smaractRpcErrors.hpp:24
@ RPC_ERR_CTRL_ERROR
Definition smaractRpcErrors.hpp:22
@ RPC_ERR_CHANNEL_NOT_OP
Definition smaractRpcErrors.hpp:21
@ RPC_ERR_VEL_MAX
Definition smaractRpcErrors.hpp:20
@ RPC_ERR_CHANNEL
Definition smaractRpcErrors.hpp:17
const std::unordered_map< short, std::string > RPC_ERRORS
Definition smaractRpcErrors.hpp:27