Public Member Functions | Private Member Functions | Private Attributes | List of all members
socketcan_bridge::TopicToSocketCAN Class Reference

#include <topic_to_socketcan.h>

Public Member Functions

void setup ()
 TopicToSocketCAN (ros::NodeHandle *nh, ros::NodeHandle *nh_param, can::DriverInterfaceSharedPtr driver)

Private Member Functions

void msgCallback (const can_msgs::Frame::ConstPtr &msg)
void stateCallback (const can::State &s)

Private Attributes

ros::Subscriber can_topic_
can::DriverInterfaceSharedPtr driver_
can::StateListenerConstSharedPtr state_listener_

Detailed Description

Definition at line 37 of file topic_to_socketcan.h.

Constructor & Destructor Documentation

socketcan_bridge::TopicToSocketCAN::TopicToSocketCAN ( ros::NodeHandle nh,
ros::NodeHandle nh_param,
can::DriverInterfaceSharedPtr  driver 

Definition at line 34 of file topic_to_socketcan.cpp.

Member Function Documentation

void socketcan_bridge::TopicToSocketCAN::msgCallback ( const can_msgs::Frame::ConstPtr &  msg)

Definition at line 48 of file topic_to_socketcan.cpp.

void socketcan_bridge::TopicToSocketCAN::setup ( )

Definition at line 42 of file topic_to_socketcan.cpp.

void socketcan_bridge::TopicToSocketCAN::stateCallback ( const can::State s)

Definition at line 78 of file topic_to_socketcan.cpp.

Member Data Documentation

ros::Subscriber socketcan_bridge::TopicToSocketCAN::can_topic_

Definition at line 44 of file topic_to_socketcan.h.

can::DriverInterfaceSharedPtr socketcan_bridge::TopicToSocketCAN::driver_

Definition at line 45 of file topic_to_socketcan.h.

can::StateListenerConstSharedPtr socketcan_bridge::TopicToSocketCAN::state_listener_

Definition at line 47 of file topic_to_socketcan.h.

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

Author(s): Ivor Wanders
autogenerated on Fri May 14 2021 02:59:47