All Classes Namespaces Files Functions Variables Enumerations Enumerator
Enumerations | Functions
libs/range_sensor/c/urg_errno.h File Reference

Error code of URG. More...

Go to the source code of this file.

Enumerations

enum  {
  UrgNoError = 0, UrgNotImplemented = -1, UrgSendFail = -2, UrgRecvFail = -3,
  UrgScip10 = -4, UrgSsFail = -5, UrgAdjustBaudrateFail = -6, UrgInvalidArgs = -7,
  UrgInvalidResponse = -8, UrgSerialConnectionFail = -9, UrgSerialRecvFail = -10, UrgMismatchResponse = -11,
  UrgNoResponse = -12, UtmNoGDIntensity = -13
}

Functions

const char * urg_strerror (const int urg_errno)
 Returns error message.

Detailed Description

Error code of URG.

Author:
Satofumi KAMIMURA
Id:
urg_errno.h 1714 2010-02-21 20:53:28Z satofumi

Definition in file urg_errno.h.


Enumeration Type Documentation

anonymous enum
Enumerator:
UrgNoError 

Normal

UrgNotImplemented 

Not implemented

UrgScip10 

Response from SCIP1.0

UrgSsFail 

Error in response from SS command

UrgAdjustBaudrateFail 

Fails to adjust baudrate

UrgInvalidArgs 

Invalid argument specification

UrgInvalidResponse 

Response error from URG side

UrgSerialConnectionFail 

Fail to establish serial connection

UrgSerialRecvFail 

Fail to receive data

UrgMismatchResponse 

Mismatch in echoback in response

UrgNoResponse 

No response

UtmNoGDIntensity 

Coudn't receive intensity data by GD

Definition at line 14 of file urg_errno.h.


Function Documentation

const char* urg_strerror ( const int  urg_errno)

Returns error message.

Parameters:
[in]urg_errnoError value of URG
Returns:
error message

Definition at line 14 of file urg_errno.c.