#include "ros/ros.h"
#include "ros/time.h"
#include <vector>
#include "std_msgs/Header.h"
#include "std_msgs/Float32.h"
#include "diagnostic_msgs/DiagnosticStatus.h"
#include "diagnostic_msgs/DiagnosticArray.h"
#include "diagnostic_msgs/KeyValue.h"
#include "smart_battery_msgs/SmartBatteryStatus.h"
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <boost/thread.hpp>
#include <boost/lexical_cast.hpp>
Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
int | sendMail (std::string outboundList, std::string sender) |
void | voltageCallback (const smart_battery_msgs::SmartBatteryStatus::ConstPtr &msg) |
Variables | |
bool | sentMail = false |
float | voltage |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 43 of file battery_diagnostics.cpp.
int sendMail | ( | std::string | outboundList, |
std::string | sender | ||
) |
Definition at line 23 of file battery_diagnostics.cpp.
void voltageCallback | ( | const smart_battery_msgs::SmartBatteryStatus::ConstPtr & | msg | ) |
Definition at line 18 of file battery_diagnostics.cpp.
bool sentMail = false |
Definition at line 17 of file battery_diagnostics.cpp.
float voltage |
Definition at line 16 of file battery_diagnostics.cpp.