LocalGuidance
A library that generates velocity references to follow a path.
any_node Namespace Reference

Classes

class  Node
 
class  Nodewrap
 
class  ThreadedPublisher
 
class  ThrottledSubscriber
 

Typedefs

template<typename MessageType >
using ThreadedPublisherPtr = std::shared_ptr< ThreadedPublisher< MessageType >>
 
template<typename MessageType , typename CallbackClass >
using ThrottledSubscriberPtr = std::shared_ptr< ThrottledSubscriber< MessageType, CallbackClass >>
 

Functions

bool setProcessPriority (int priority)
 
template<typename msg >
ros::Publisher advertise (ros::NodeHandle &nh, const std::string &name, const std::string &defaultTopic, uint32_t queue_size, bool latch=false)
 
template<typename msg >
ThreadedPublisherPtr< msg > threadedAdvertise (ros::NodeHandle &nh, const std::string &name, const std::string &defaultTopic, uint32_t queue_size, bool latch=false, unsigned int maxMessageBufferSize=10)
 
template<class M , class T >
ros::Subscriber subscribe (ros::NodeHandle &nh, const std::string &name, const std::string &defaultTopic, uint32_t queue_size, void(T::*fp)(const boost::shared_ptr< M const > &), T *obj, const ros::TransportHints &transport_hints=ros::TransportHints())
 
template<class M , class T >
ThrottledSubscriberPtr< M, T > throttledSubscribe (double timeStep, ros::NodeHandle &nh, const std::string &name, const std::string &defaultTopic, uint32_t queue_size, void(T::*fp)(const boost::shared_ptr< M const > &), T *obj, const ros::TransportHints &transport_hints=ros::TransportHints())
 
template<class T , class MReq , class MRes >
ros::ServiceServer advertiseService (ros::NodeHandle &nh, const std::string &name, const std::string &defaultService, bool(T::*srv_func)(MReq &, MRes &), T *obj)
 
template<class MReq , class MRes >
ros::ServiceClient serviceClient (ros::NodeHandle &nh, const std::string &name, const std::string &defaultService, const ros::M_string &header_values=ros::M_string())
 
template<class Service >
ros::ServiceClient serviceClient (ros::NodeHandle &nh, const std::string &name, const std::string &defaultService, const ros::M_string &header_values=ros::M_string())
 

Typedef Documentation

template<typename MessageType >
using any_node::ThreadedPublisherPtr = typedef std::shared_ptr<ThreadedPublisher<MessageType>>
template<typename MessageType , typename CallbackClass >
using any_node::ThrottledSubscriberPtr = typedef std::shared_ptr<ThrottledSubscriber<MessageType, CallbackClass>>

Function Documentation

template<typename msg >
ros::Publisher any_node::advertise ( ros::NodeHandle &  nh,
const std::string &  name,
const std::string &  defaultTopic,
uint32_t  queue_size,
bool  latch = false 
)
template<class T , class MReq , class MRes >
ros::ServiceServer any_node::advertiseService ( ros::NodeHandle &  nh,
const std::string &  name,
const std::string &  defaultService,
bool(T::*)(MReq &, MRes &)  srv_func,
T *  obj 
)
template<class MReq , class MRes >
ros::ServiceClient any_node::serviceClient ( ros::NodeHandle &  nh,
const std::string &  name,
const std::string &  defaultService,
const ros::M_string &  header_values = ros::M_string() 
)
template<class Service >
ros::ServiceClient any_node::serviceClient ( ros::NodeHandle &  nh,
const std::string &  name,
const std::string &  defaultService,
const ros::M_string &  header_values = ros::M_string() 
)
bool any_node::setProcessPriority ( int  priority)
template<class M , class T >
ros::Subscriber any_node::subscribe ( ros::NodeHandle &  nh,
const std::string &  name,
const std::string &  defaultTopic,
uint32_t  queue_size,
void(T::*)(const boost::shared_ptr< M const > &)  fp,
T *  obj,
const ros::TransportHints &  transport_hints = ros::TransportHints() 
)
template<typename msg >
ThreadedPublisherPtr<msg> any_node::threadedAdvertise ( ros::NodeHandle &  nh,
const std::string &  name,
const std::string &  defaultTopic,
uint32_t  queue_size,
bool  latch = false,
unsigned int  maxMessageBufferSize = 10 
)
template<class M , class T >
ThrottledSubscriberPtr<M,T> any_node::throttledSubscribe ( double  timeStep,
ros::NodeHandle &  nh,
const std::string &  name,
const std::string &  defaultTopic,
uint32_t  queue_size,
void(T::*)(const boost::shared_ptr< M const > &)  fp,
T *  obj,
const ros::TransportHints &  transport_hints = ros::TransportHints() 
)