44 #include <visp/vpConfig.h>
46 #if !defined(_WIN32) && (defined(__unix__) || defined(__unix) || (defined(__APPLE__) && defined(__MACH__)))
48 #include <arpa/inet.h>
53 #include <visp/vpScanPoint.h>
54 #include <visp/vpLaserScan.h>
55 #include <visp/vpLaserScanner.h>
56 #include <visp/vpColVector.h>
57 #include <visp/vpException.h>
114 MagicWordC2 = 0xAFFEC0C2
117 MeasuredData = 0x2202
121 vpSickLDMRS(
const vpSickLDMRS &sick)
122 :
vpLaserScanner(sick), socket_fd(-1), body(NULL), vAngle(), time_offset(0),
123 isFirstMeasure(true), maxlen_body(104000)
127 virtual ~vpSickLDMRS();
129 vpSickLDMRS &operator=(
const vpSickLDMRS &sick)
131 socket_fd = sick.socket_fd;
132 vAngle = sick.vAngle;
133 time_offset = sick.time_offset;
134 isFirstMeasure = sick.isFirstMeasure;
135 maxlen_body = sick.maxlen_body;
136 if (body)
delete [] body;
137 body =
new unsigned char [104000];
138 memcpy(body, sick.body, maxlen_body);
142 bool setup(std::string ip,
int port);
Class that defines a generic laser scanner.
Implements a laser scan data structure that contains especially the list of scanned points that have ...
Class that provides a data structure for the column vectors as well as a set of operations on these v...