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