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