Skip to content

Instantly share code, notes, and snippets.

@po1
po1 / spinnable_nodehandle.h
Created November 26, 2013 16:15
SpinningNodeHandle: an extension to NodeHandle that guarantees that a spinner exists SpinnableNodeHandle: another extension that provides start() and stop(), a separate CallbackQueue and a separate asynchronous spinner
#ifndef SPINNABLE_NODEHANDLE_H
#define SPINNABLE_NODEHANDLE_H
#include <boost/thread.hpp>
#include <ros/node_handle.h>
#include <ros/spinner.h>
#include <ros/callback_queue.h>
namespace ros
{