#include <pdu.h>
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_ |
anonymous enum [private] |
NewEagle::pdu::pdu | ( | ros::NodeHandle & | node, |
ros::NodeHandle & | priv_nh | ||
) |
void NewEagle::pdu::recvCAN | ( | const can_msgs::Frame::ConstPtr & | msg | ) | [private] |
void NewEagle::pdu::recvRelayCmd | ( | const pdu_msgs::RelayCommand::ConstPtr & | msg | ) | [private] |
uint32_t NewEagle::pdu::count_ [private] |
uint32_t NewEagle::pdu::fuseStatusAddr_ [private] |
uint32_t NewEagle::pdu::id_ [private] |
NewEagle::Dbc NewEagle::pdu::pduDbc_ [private] |
std::string NewEagle::pdu::pduFile_ [private] |
ros::Publisher NewEagle::pdu::pub_can_ [private] |
uint32_t NewEagle::pdu::relayCommandAddr_ [private] |
uint32_t NewEagle::pdu::relayStatusAddr_ [private] |
ros::Subscriber NewEagle::pdu::sub_can_ [private] |
ros::Subscriber NewEagle::pdu::sub_relay_cmd_ [private] |