Functions | Variables
battery_diagnostics.cpp File Reference
#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>
Include dependency graph for battery_diagnostics.cpp:

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

Function Documentation

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.


Variable Documentation

bool sentMail = false

Definition at line 17 of file battery_diagnostics.cpp.

float voltage

Definition at line 16 of file battery_diagnostics.cpp.



segbot_sensors
Author(s): Piyush Khandelwal
autogenerated on Fri Aug 28 2015 13:03:00