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/hokuyo.h"
#include <stdexcept>
#include <string>
#include <vector>
#include <stdint.h>
#include <algorithm>
#include <time.h>
#include <fcntl.h>
#include "ros/console.h"
#include <sys/time.h>
Include dependency graph for hokuyo.cpp:
This graph shows which files directly or indirectly include this file:

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  )  [inline]

Definition at line 883 of file hokuyo.cpp.

static uint64_t timeHelper (  )  [static]

Helper function for querying the system time.

Definition at line 55 of file hokuyo.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Friends Defines


hokuyo_node
Author(s): Brian P. Gerkey, Jeremy Leibs, Blaise Gassend
autogenerated on Fri Jan 11 09:40:51 2013