#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <termios.h>
#include <math.h>
#include <poll.h>
#include <signal.h>
#include "hokuyo_node/hokuyo.h"
#include <algorithm>
#include <time.h>
#include <fcntl.h>
#include "ros/console.h"
#include <sys/time.h>
Go to the source code of this file.
Defines | |
#define | HOKUYO_EXCEPT(except, msg,...) |
Macro for throwing an exception with a message, passing args. | |
Functions | |
template<class C > | |
C | median (std::vector< C > &v) |
static uint64_t | timeHelper () |
Helper function for querying the system time. |
#define HOKUYO_EXCEPT | ( | except, | |
msg, | |||
... | |||
) |
{ \
char buf[1000]; \
snprintf(buf, 1000, msg " (in hokuyo::laser::%s) You may find further details at http://www.ros.org/wiki/hokuyo_node/Troubleshooting" , ##__VA_ARGS__, __FUNCTION__); \
throw except(buf); \
}
Macro for throwing an exception with a message, passing args.
Definition at line 46 of file hokuyo.cpp.
C median | ( | std::vector< C > & | v | ) |
Definition at line 981 of file hokuyo.cpp.
static uint64_t timeHelper | ( | ) | [static] |
Helper function for querying the system time.
Definition at line 55 of file hokuyo.cpp.