Defines | Functions
hokuyo.cpp File Reference
#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>
Include dependency graph for hokuyo.cpp:

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 >
median (std::vector< C > &v)
static uint64_t timeHelper ()
 Helper function for querying the system time.

Define Documentation

#define HOKUYO_EXCEPT (   except,
  msg,
  ... 
)
Value:
{ \
    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.


Function Documentation

template<class C >
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.



hokuyo_node
Author(s): Brian P. Gerkey, Jeremy Leibs, Blaise Gassend
autogenerated on Wed Aug 26 2015 11:49:56