#include <socketcan_to_topic.h>
Public Member Functions | |
void | setup () |
SocketCANToTopic (ros::NodeHandle *nh, ros::NodeHandle *nh_param, boost::shared_ptr< can::DriverInterface > driver) | |
Private Member Functions | |
void | frameCallback (const can::Frame &f) |
void | stateCallback (const can::State &s) |
Private Attributes | |
ros::Publisher | can_topic_ |
boost::shared_ptr < can::DriverInterface > | driver_ |
can::CommInterface::FrameListener::Ptr | frame_listener_ |
can::StateInterface::StateListener::Ptr | state_listener_ |
Definition at line 37 of file socketcan_to_topic.h.
socketcan_bridge::SocketCANToTopic::SocketCANToTopic | ( | ros::NodeHandle * | nh, |
ros::NodeHandle * | nh_param, | ||
boost::shared_ptr< can::DriverInterface > | driver | ||
) |
Definition at line 35 of file socketcan_to_topic.cpp.
void socketcan_bridge::SocketCANToTopic::frameCallback | ( | const can::Frame & | f | ) | [private] |
Definition at line 52 of file socketcan_to_topic.cpp.
Definition at line 42 of file socketcan_to_topic.cpp.
void socketcan_bridge::SocketCANToTopic::stateCallback | ( | const can::State & | s | ) | [private] |
Definition at line 83 of file socketcan_to_topic.cpp.
Definition at line 44 of file socketcan_to_topic.h.
boost::shared_ptr<can::DriverInterface> socketcan_bridge::SocketCANToTopic::driver_ [private] |
Definition at line 45 of file socketcan_to_topic.h.
can::CommInterface::FrameListener::Ptr socketcan_bridge::SocketCANToTopic::frame_listener_ [private] |
Definition at line 47 of file socketcan_to_topic.h.
can::StateInterface::StateListener::Ptr socketcan_bridge::SocketCANToTopic::state_listener_ [private] |
Definition at line 48 of file socketcan_to_topic.h.