The MAUVE Toolchain
mauve::ros Namespace Reference

The ros namespace contains the ROS binding resources. More...

Namespaces

 conversions
 Namespace containing conversion functions.
 

Classes

struct  Connector
 ROS Connector interface. More...
 
struct  Publisher
 Adapter of the ROS Publisher. More...
 
struct  PublisherCore
 Core of the ROS Publisher Resource. More...
 
struct  PublisherResourceInterface
 Interface of the ROS Publisher Resource. More...
 
struct  RosAbstractShell
 ROS Abstract Shell. More...
 
struct  RosShell
 ROS Shell for conversion. More...
 
struct  SubscriberComponentCore
 
struct  SubscriberComponentShell
 
struct  SubscriberCore
 Core of the ROS Subscriber. More...
 
struct  SubscriberInterface
 Interface of the ROS Subscriber. More...
 

Typedefs

template<typename T , typename ROS_T >
using PublisherComponent = runtime::Component< RosShell< T, ROS_T >, PublisherCore< T, ROS_T >, base::PeriodicStateMachine< RosShell< T, ROS_T >, PublisherCore< T, ROS_T >>>
 
template<typename T , typename ROS_T >
using PublisherResource = runtime::Resource< RosShell< T, ROS_T >, PublisherCore< T, ROS_T >, PublisherResourceInterface< T, ROS_T > >
 
template<typename ROS_T , typename T >
using SubscriberComponent = runtime::Component< RosShell< ROS_T, T >, SubscriberCore< ROS_T, T >, base::PeriodicStateMachine< RosShell< ROS_T, T >, SubscriberCore< ROS_T, T >> >
 
template<typename ROS_T , typename T >
using SubscriberResource = runtime::Resource< RosShell< ROS_T, T >, SubscriberCore< ROS_T, T >, SubscriberInterface< ROS_T, T > >
 

Functions

bool init_node (const std::string &node_name, int thread_count, const ::ros::M_string &remappings=::ros::M_string())
 Initialize the deployment as a ROS node. More...
 

Detailed Description

The ros namespace contains the ROS binding resources.

Function Documentation

bool mauve::ros::init_node ( const std::string &  node_name,
int  thread_count,
const ::ros::M_string &  remappings = ::ros::M_string() 
)

Initialize the deployment as a ROS node.

Parameters
node_nameThe node name (made anonymous)
thread_countNumber of threads of the spinner
remappingsA map of names remapping
Returns
true if node initialized