49 #include <visp3/core/vpDebug.h>
50 #include <visp3/sensor/vpSickLDMRS.h>
51 #include <visp3/io/vpParseArgv.h>
54 #if !defined(_WIN32) && (defined(__unix__) || defined(__unix) || (defined(__APPLE__) && defined(__MACH__)))
60 std::string ip =
"131.254.12.119";
64 unsigned long int iter = 0;
69 if (laser.
measure(laserscan) ==
false)
73 std::cout <<
"iter: " << iter <<
" time: "
79 std::cout <<
"Catch an exception: " << e << std::endl;
88 std::cout <<
"This example is only working on UNIX platforms \n"
89 <<
"since the Sick LD-MRS driver was not ported to Windows."
bool setup(std::string ip, int port)
error that can be emited by ViSP classes.
Implements a laser scan data structure that contains especially the list of scanned points that have ...
VISP_EXPORT double measureTimeMs()
Driver for the Sick LD-MRS laser scanner.
bool measure(vpLaserScan laserscan[4])
void setIpAddress(std::string ip_address)