53 #include <visp/vpDebug.h>
54 #include <visp/vpSickLDMRS.h>
55 #include <visp/vpParseArgv.h>
58 #if !defined(_WIN32) && (defined(__unix__) || defined(__unix) || (defined(__APPLE__) && defined(__MACH__)))
64 std::string ip =
"131.254.12.119";
66 laser.setIpAddress(ip);
68 unsigned long int iter = 0;
73 if (laser.measure(laserscan) ==
false)
77 std::cout <<
"iter: " << iter <<
" time: "
83 std::cout <<
"Catch an exception: " << e << std::endl;
92 std::cout <<
"This example is only working on UNIX platforms \n"
93 <<
"since the Sick LD-MRS driver was not ported to Windows."
error that can be emited by ViSP classes.
static double measureTimeMs()
Implements a laser scan data structure that contains especially the list of scanned points that have ...