#include <battery_pub.h>
Public Member Functions | |
| BatteryPub (ros::NodeHandle nh) | |
Private Member Functions | |
| void | pubBatTimerCB (const ros::TimerEvent &event) |
| void | speakLowTimerCB (const ros::TimerEvent &event) |
| void | speakMsg (std::string msg, int sleep_time) |
Private Attributes | |
| ros::Publisher | bat_pub_ |
| ros::Timer | bat_pub_timer_ |
| std::string | batt_port_ |
| bms::BMSInterface | bms_ |
| ros::Publisher | espeak_pub_ |
| bool | load_battery_hw_ = true |
| int | low_batt_val_ = -1 |
| bool | show_warnings_ = false |
| ros::Timer | speak_low_batt_timer_ |
Definition at line 20 of file battery_pub.h.
| armadillo2_hw::BatteryPub::BatteryPub | ( | ros::NodeHandle | nh | ) |
Definition at line 9 of file battery_pub.cpp.
|
private |
Definition at line 58 of file battery_pub.cpp.
|
private |
Definition at line 53 of file battery_pub.cpp.
|
inlineprivate |
Definition at line 39 of file battery_pub.h.
|
private |
Definition at line 23 of file battery_pub.h.
|
private |
Definition at line 24 of file battery_pub.h.
|
private |
Definition at line 28 of file battery_pub.h.
|
private |
Definition at line 26 of file battery_pub.h.
|
private |
Definition at line 33 of file battery_pub.h.
|
private |
Definition at line 31 of file battery_pub.h.
|
private |
Definition at line 29 of file battery_pub.h.
|
private |
Definition at line 30 of file battery_pub.h.
|
private |
Definition at line 25 of file battery_pub.h.