/usr/include/urg/CaptureSettings.h is in liburg0-dev 0.8.12-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | #ifndef QRK_CAPTURE_SETTINGS_H
#define QRK_CAPTURE_SETTINGS_H
/*!
\file
\brief Data acquisition setting
\author Satofumi KAMIMURA
$Id: CaptureSettings.h 1715 2010-02-21 21:03:13Z satofumi $
*/
/*!
\brief Quick Robot Development Kit.
*/
namespace qrk
{
/*!
\brief Receive data type
*/
typedef enum {
TypeUnknown, //!< Unknown
QT, //!< Quit to receive
GD, //!< Get Data (each data size: 3 byte)
GS, //!< Get Short data (each data size: 2 byte)
MD, //!< Measure Data (each data size: 3 byte)
MS, //!< Measure Data (each data size: 2 byte)
ME, //!< Intensity data
Mx_Reply, //!< The first response message of Mx command
InvalidData, //!< Error response
} CaptureType;
/*!
\brief Data acquisition setting
*/
class CaptureSettings
{
public:
CaptureType type; //!< Type of receive data
int error_code; //!< Error code
long timestamp; //!< [msec]
int capture_first; //!< Acquisition beginning index
int capture_last; //!< Acquisition end index
int skip_lines; //!< Number of lines to skip
int skip_frames; //!< Data acquisition interval
int remain_times; //!< Remaining number of scans
int data_byte; //!< Number of data bytes
CaptureSettings(void)
: type(TypeUnknown), error_code(-1), timestamp(-1),
capture_first(-1), capture_last(-1),
skip_lines(-1), skip_frames(-1), remain_times(-1), data_byte(-1)
{
}
};
}
#endif /* !QRK_CAPTURE_SETTINGS_H */
|