1 #ifndef QRK_C_URG_ERRNO_H
2 #define QRK_C_URG_ERRNO_H
6 \brief Error code of URG
8 \author Satofumi KAMIMURA
10 $Id: urg_errno.h 1714 2010-02-21 20:53:28Z satofumi $
15 UrgNoError = 0, /*!< Normal */
16 UrgNotImplemented = -1, /*!< Not implemented */
19 UrgScip10 = -4, /*!< Response from SCIP1.0 */
20 UrgSsFail = -5, /*!< Error in response from SS command */
21 UrgAdjustBaudrateFail = -6, /*!< Fails to adjust baudrate */
22 UrgInvalidArgs = -7, /*!< Invalid argument specification */
23 UrgInvalidResponse = -8, /*!< Response error from URG side */
24 UrgSerialConnectionFail = -9, /*!< Fail to establish serial connection */
25 UrgSerialRecvFail = -10, /*!< Fail to receive data */
26 UrgMismatchResponse = -11, /*!< Mismatch in echoback in response */
27 UrgNoResponse = -12, /*!< No response */
28 UtmNoGDIntensity = -13, /*!< Coudn't receive intensity data by GD */
33 \brief Returns error message
35 \param[in] urg_errno Error value of URG
39 extern const char* urg_strerror(const int urg_errno);
41 #endif /* !QRK_C_URG_ERRNO_H */