Public Member Functions | Private Types | Private Member Functions | Private Attributes
NewEagle::pdu Class Reference

#include <pdu.h>

List of all members.

Public Member Functions

 pdu (ros::NodeHandle &node, ros::NodeHandle &priv_nh)

Private Types

enum  { RELAY_STATUS_BASE_ADDR = 0x18ffa100, FUSE_STATUS_BASE_ADDR = 0x18ffa000, RELAY_COMMAND_BASE_ADDR = 0x18ef0000 }

Private Member Functions

void recvCAN (const can_msgs::Frame::ConstPtr &msg)
void recvRelayCmd (const pdu_msgs::RelayCommand::ConstPtr &msg)

Private Attributes

uint32_t count_
ros::Publisher fuse_report_pub_
uint32_t fuseStatusAddr_
uint32_t id_
NewEagle::Dbc pduDbc_
std::string pduFile_
ros::Publisher pub_can_
ros::Publisher relay_report_pub_
uint32_t relayCommandAddr_
uint32_t relayStatusAddr_
ros::Subscriber sub_can_
ros::Subscriber sub_relay_cmd_

Detailed Description

Definition at line 56 of file pdu.h.


Member Enumeration Documentation

anonymous enum [private]
Enumerator:
RELAY_STATUS_BASE_ADDR 
FUSE_STATUS_BASE_ADDR 
RELAY_COMMAND_BASE_ADDR 

Definition at line 58 of file pdu.h.


Constructor & Destructor Documentation

NewEagle::pdu::pdu ( ros::NodeHandle node,
ros::NodeHandle priv_nh 
)

Definition at line 46 of file pdu.cpp.


Member Function Documentation

void NewEagle::pdu::recvCAN ( const can_msgs::Frame::ConstPtr &  msg) [private]

Definition at line 74 of file pdu.cpp.

void NewEagle::pdu::recvRelayCmd ( const pdu_msgs::RelayCommand::ConstPtr &  msg) [private]

Definition at line 129 of file pdu.cpp.


Member Data Documentation

uint32_t NewEagle::pdu::count_ [private]

Definition at line 73 of file pdu.h.

Definition at line 87 of file pdu.h.

uint32_t NewEagle::pdu::fuseStatusAddr_ [private]

Definition at line 71 of file pdu.h.

uint32_t NewEagle::pdu::id_ [private]

Definition at line 68 of file pdu.h.

Definition at line 75 of file pdu.h.

std::string NewEagle::pdu::pduFile_ [private]

Definition at line 76 of file pdu.h.

Definition at line 86 of file pdu.h.

Definition at line 88 of file pdu.h.

Definition at line 69 of file pdu.h.

uint32_t NewEagle::pdu::relayStatusAddr_ [private]

Definition at line 70 of file pdu.h.

Definition at line 82 of file pdu.h.

Definition at line 83 of file pdu.h.


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


pdu
Author(s): Ryan Borchert , Ryan Borchert
autogenerated on Mon Jun 24 2019 19:18:36