76 if (!msg->is_rtr && !msg->is_error && msg->is_extended)
85 pdu_msgs::RelayReport out;
105 pdu_msgs::FuseReport out;
147 can_msgs::Frame frame = message->
GetFrame();
NewEagle::DbcSignal * GetSignal(std::string signalName)
void recvCAN(const can_msgs::Frame::ConstPtr &msg)
void publish(const boost::shared_ptr< M > &message) const
ros::Publisher relay_report_pub_
void SetFrame(const can_msgs::Frame::ConstPtr &msg)
Subscriber subscribe(const std::string &topic, uint32_t queue_size, void(T::*fp)(M), T *obj, const TransportHints &transport_hints=TransportHints())
NewEagle::Dbc NewDbc(const std::string &dbcFile)
ros::Publisher fuse_report_pub_
void recvRelayCmd(const pdu_msgs::RelayCommand::ConstPtr &msg)
ros::Subscriber sub_relay_cmd_
uint32_t relayStatusAddr_
can_msgs::Frame GetFrame()
NewEagle::DbcMessage * GetMessage(std::string messageName)
Publisher advertise(const std::string &topic, uint32_t queue_size, bool latch=false)
void SetResult(double result)
pdu(ros::NodeHandle &node, ros::NodeHandle &priv_nh)
bool getParam(const std::string &key, std::string &s) const
uint32_t relayCommandAddr_