Public Member Functions | Private Attributes | List of all members
LoopbackNode Class Reference

Public Member Functions

void diagnose (diagnostic_updater::DiagnosticStatusWrapper &stat)
 
 LoopbackNode (double period)
 
void print_mxt_packet (MXTCMD &mxt)
 
bool update (double timeout=0.06)
 
 ~LoopbackNode ()
 

Private Attributes

struct sockaddr_in addr_
 
int counter_
 Packet counter. More...
 
double period_
 Periodic time [s]. More...
 
MXTCMD recv_buff_
 
MXTCMD send_buff_
 
int socket_
 
ros::Time time_now_
 
ros::Time time_old_
 

Detailed Description

Definition at line 38 of file melfa_loopback_node.cpp.

Constructor & Destructor Documentation

LoopbackNode::LoopbackNode ( double  period)
inline

Definition at line 57 of file melfa_loopback_node.cpp.

LoopbackNode::~LoopbackNode ( )
inline

Definition at line 67 of file melfa_loopback_node.cpp.

Member Function Documentation

void LoopbackNode::diagnose ( diagnostic_updater::DiagnosticStatusWrapper stat)
inline

Definition at line 159 of file melfa_loopback_node.cpp.

void LoopbackNode::print_mxt_packet ( MXTCMD mxt)
inline

Definition at line 134 of file melfa_loopback_node.cpp.

bool LoopbackNode::update ( double  timeout = 0.06)
inline
Parameters
timeoutTimeout for reciving a packet [s]

Definition at line 74 of file melfa_loopback_node.cpp.

Member Data Documentation

struct sockaddr_in LoopbackNode::addr_
private

Definition at line 48 of file melfa_loopback_node.cpp.

int LoopbackNode::counter_
private

Packet counter.

Definition at line 42 of file melfa_loopback_node.cpp.

double LoopbackNode::period_
private

Periodic time [s].

Definition at line 45 of file melfa_loopback_node.cpp.

MXTCMD LoopbackNode::recv_buff_
private

Definition at line 51 of file melfa_loopback_node.cpp.

MXTCMD LoopbackNode::send_buff_
private

Definition at line 50 of file melfa_loopback_node.cpp.

int LoopbackNode::socket_
private

Definition at line 47 of file melfa_loopback_node.cpp.

ros::Time LoopbackNode::time_now_
private

Definition at line 53 of file melfa_loopback_node.cpp.

ros::Time LoopbackNode::time_old_
private

Definition at line 54 of file melfa_loopback_node.cpp.


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


melfa_driver
Author(s): Ryosuke Tajima
autogenerated on Mon Jun 10 2019 14:04:51