Protected Types | Protected Member Functions | Protected Attributes | List of all members
UavcanToRosConverter< IN_UAVCAN, OUT_ROS > Class Template Referenceabstract

#include <converters.hpp>

Inheritance diagram for UavcanToRosConverter< IN_UAVCAN, OUT_ROS >:
Inheritance graph
[legend]

Protected Types

typedef IN_UAVCAN IN_UAVCAN_MSG
 
typedef OUT_ROS OUT_ROS_MSG
 

Protected Member Functions

virtual void uavcan_callback (const uavcan::ReceivedDataStructure< IN_UAVCAN_MSG > &uavcan_msg)=0
 
 UavcanToRosConverter (ros::NodeHandle &ros_node, UavcanNode &uavcan_node, const char *ros_topic)
 

Protected Attributes

OUT_ROS_MSG ros_msg_
 
ros::Publisher ros_pub_
 
uavcan::Subscriber< IN_UAVCAN_MSGuavcan_sub_
 

Detailed Description

template<typename IN_UAVCAN, typename OUT_ROS>
class UavcanToRosConverter< IN_UAVCAN, OUT_ROS >

Definition at line 64 of file converters.hpp.

Member Typedef Documentation

◆ IN_UAVCAN_MSG

template<typename IN_UAVCAN , typename OUT_ROS >
typedef IN_UAVCAN UavcanToRosConverter< IN_UAVCAN, OUT_ROS >::IN_UAVCAN_MSG
protected

Definition at line 67 of file converters.hpp.

◆ OUT_ROS_MSG

template<typename IN_UAVCAN , typename OUT_ROS >
typedef OUT_ROS UavcanToRosConverter< IN_UAVCAN, OUT_ROS >::OUT_ROS_MSG
protected

Definition at line 66 of file converters.hpp.

Constructor & Destructor Documentation

◆ UavcanToRosConverter()

template<typename IN_UAVCAN , typename OUT_ROS >
UavcanToRosConverter< IN_UAVCAN, OUT_ROS >::UavcanToRosConverter ( ros::NodeHandle ros_node,
UavcanNode uavcan_node,
const char *  ros_topic 
)
inlineprotected

Definition at line 73 of file converters.hpp.

Member Function Documentation

◆ uavcan_callback()

template<typename IN_UAVCAN , typename OUT_ROS >
virtual void UavcanToRosConverter< IN_UAVCAN, OUT_ROS >::uavcan_callback ( const uavcan::ReceivedDataStructure< IN_UAVCAN_MSG > &  uavcan_msg)
protectedpure virtual

Member Data Documentation

◆ ros_msg_

template<typename IN_UAVCAN , typename OUT_ROS >
OUT_ROS_MSG UavcanToRosConverter< IN_UAVCAN, OUT_ROS >::ros_msg_
protected

Definition at line 70 of file converters.hpp.

◆ ros_pub_

template<typename IN_UAVCAN , typename OUT_ROS >
ros::Publisher UavcanToRosConverter< IN_UAVCAN, OUT_ROS >::ros_pub_
protected

Definition at line 68 of file converters.hpp.

◆ uavcan_sub_

template<typename IN_UAVCAN , typename OUT_ROS >
uavcan::Subscriber<IN_UAVCAN_MSG> UavcanToRosConverter< IN_UAVCAN, OUT_ROS >::uavcan_sub_
protected

Definition at line 69 of file converters.hpp.


The documentation for this class was generated from the following file:


uavcan_communicator
Author(s):
autogenerated on Fri Dec 13 2024 03:10:04