18 #ifndef COB_BMS_DRIVER_NODE_H 19 #define COB_BMS_DRIVER_NODE_H 38 diagnostic_msgs::KeyValue
kv;
54 typedef std::multimap<uint8_t, BmsParameter::Ptr>
ConfigMap;
87 void evaluatePollPeriodFrom(
int poll_frequency);
92 void optimizePollingLists();
96 void pollBmsForIds(
const uint16_t first_id,
const uint16_t second_id);
118 void pollNextInLists();
122 #endif //COB_BMS_DRIVER_NODE_H
boost::shared_ptr< BmsParameter > Ptr
int poll_period_for_two_ids_in_ms_
diagnostic_updater::DiagnosticStatusWrapper stat_
std::vector< uint8_t > polling_list2_
std::vector< uint8_t >::iterator polling_list2_it_
std::vector< uint8_t >::iterator polling_list1_it_
std::vector< uint8_t > polling_list1_
std::multimap< uint8_t, BmsParameter::Ptr > ConfigMap
virtual void update(const can::Frame &f)=0
virtual void advertise(ros::NodeHandle &nh, const std::string &topic)=0
can::CommInterface::FrameListenerConstSharedPtr frame_listener_
diagnostic_msgs::KeyValue kv
can::ThreadedSocketCANInterface socketcan_interface_
diagnostic_updater::Updater updater_
ros::Timer updater_timer_