#include <cob_bms_driver_node.h>
Public Member Functions | |
CobBmsDriverNode () | |
void | pollNextInLists () |
bool | prepare () |
~CobBmsDriverNode () | |
Public Attributes | |
diagnostic_updater::Updater | updater_ |
Private Types | |
typedef std::multimap< uint8_t, BmsParameter::Ptr > | ConfigMap |
Private Member Functions | |
void | diagnosticsTimerCallback (const ros::TimerEvent &) |
void | evaluatePollPeriodFrom (int poll_frequency) |
bool | getParams () |
void | handleFrames (const can::Frame &f) |
bool | loadConfigMap (XmlRpc::XmlRpcValue &diagnostics, std::vector< std::string > &topics) |
void | optimizePollingLists () |
void | pollBmsForIds (const uint16_t first_id, const uint16_t second_id) |
void | produceDiagnostics (diagnostic_updater::DiagnosticStatusWrapper &stat) |
Private Attributes | |
int | bms_id_to_poll_ |
std::string | can_device_ |
ConfigMap | config_map_ |
boost::mutex | data_mutex_ |
can::CommInterface::FrameListenerConstSharedPtr | frame_listener_ |
ros::NodeHandle | nh_ |
ros::NodeHandle | nh_priv_ |
int | poll_period_for_two_ids_in_ms_ |
std::vector< uint8_t > | polling_list1_ |
std::vector< uint8_t >::iterator | polling_list1_it_ |
std::vector< uint8_t > | polling_list2_ |
std::vector< uint8_t >::iterator | polling_list2_it_ |
can::ThreadedSocketCANInterface | socketcan_interface_ |
diagnostic_updater::DiagnosticStatusWrapper | stat_ |
ros::Timer | updater_timer_ |
Definition at line 48 of file cob_bms_driver_node.h.
|
private |
Definition at line 54 of file cob_bms_driver_node.h.
CobBmsDriverNode::CobBmsDriverNode | ( | ) |
Definition at line 129 of file cob_bms_driver_node.cpp.
CobBmsDriverNode::~CobBmsDriverNode | ( | ) |
Definition at line 133 of file cob_bms_driver_node.cpp.
|
private |
Definition at line 447 of file cob_bms_driver_node.cpp.
|
private |
Definition at line 335 of file cob_bms_driver_node.cpp.
|
private |
Definition at line 172 of file cob_bms_driver_node.cpp.
|
private |
Definition at line 401 of file cob_bms_driver_node.cpp.
|
private |
Definition at line 231 of file cob_bms_driver_node.cpp.
|
private |
Definition at line 349 of file cob_bms_driver_node.cpp.
|
private |
Definition at line 366 of file cob_bms_driver_node.cpp.
void CobBmsDriverNode::pollNextInLists | ( | ) |
Definition at line 380 of file cob_bms_driver_node.cpp.
bool CobBmsDriverNode::prepare | ( | ) |
Definition at line 139 of file cob_bms_driver_node.cpp.
|
private |
Definition at line 415 of file cob_bms_driver_node.cpp.
|
private |
Definition at line 60 of file cob_bms_driver_node.h.
|
private |
Definition at line 59 of file cob_bms_driver_node.h.
|
private |
Definition at line 57 of file cob_bms_driver_node.h.
|
private |
Definition at line 63 of file cob_bms_driver_node.h.
|
private |
Definition at line 75 of file cob_bms_driver_node.h.
|
private |
Definition at line 51 of file cob_bms_driver_node.h.
|
private |
Definition at line 52 of file cob_bms_driver_node.h.
|
private |
Definition at line 58 of file cob_bms_driver_node.h.
|
private |
Definition at line 66 of file cob_bms_driver_node.h.
|
private |
Definition at line 68 of file cob_bms_driver_node.h.
|
private |
Definition at line 67 of file cob_bms_driver_node.h.
|
private |
Definition at line 69 of file cob_bms_driver_node.h.
|
private |
Definition at line 72 of file cob_bms_driver_node.h.
|
private |
Definition at line 78 of file cob_bms_driver_node.h.
diagnostic_updater::Updater CobBmsDriverNode::updater_ |
Definition at line 109 of file cob_bms_driver_node.h.
|
private |
Definition at line 61 of file cob_bms_driver_node.h.