#include <iostream>#include <vector>#include <unistd.h>#include <stdlib.h>#include <time.h>#include <boost/shared_ptr.hpp>#include <boost/bind.hpp>#include <boost/ref.hpp>#include <boost/program_options.hpp>#include <boost/thread/thread.hpp>#include "ocean.h"#include "ros/ros.h"#include "diagnostic_msgs/DiagnosticArray.h"#include "diagnostic_msgs/DiagnosticStatus.h"#include "diagnostic_updater/DiagnosticStatusWrapper.h"#include "rosconsole/macros_generated.h"#include "pr2_msgs/BatteryServer.h"
Go to the source code of this file.
Classes | |
| class | server |
Functions | |
| int | main (int argc, char **argv) |
| float | tempToCelcius (const int &iKelvin) |
| float | toFloat (const int &value) |
Variables | |
| static const float | BATTERY_TEMP_WARN = 50.0 |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 331 of file server.cpp.
| float tempToCelcius | ( | const int & | iKelvin | ) |
Definition at line 37 of file server.cpp.
| float toFloat | ( | const int & | value | ) |
Definition at line 28 of file server.cpp.
const float BATTERY_TEMP_WARN = 50.0 [static] |
Definition at line 26 of file server.cpp.