volt_distr.h
Go to the documentation of this file.
00001 /*
00002  * volt_distr.h
00003  * Copyright 2013 University of Massachusetts Lowell
00004  * Author: Jonathan Hasenzahl
00005  */
00006 
00007 #ifndef VOLT_DISTR_H_
00008 #define VOLT_DISTR_H_
00009 
00010 #include "ros/ros.h"
00011 #include "volt_distr/volt_distr_creator.h"
00012 #include "volt_distr/volt_distr_viz.h"
00013 #include "neuro_recv/dish_state.h"
00014 #include <string>
00015 #include <fstream>
00016 
00027 class VoltDistr
00028 {
00029 public:
00030     VoltDistr() { init(); }
00031     ~VoltDistr() { delete viz_; }
00032 
00033 private:
00034     void init();
00035     void getParams();
00036     void callback(const neuro_recv::dish_state::ConstPtr& d);
00037 
00038     ros::NodeHandle n_;
00039     ros::Subscriber dish_sub_;
00040 
00041     VoltDistrCreator data_;
00042     VoltDistrViz* viz_;
00043 
00044     std::string log_path_;
00045     std::string img_path_;
00046 
00047     bool do_log_;
00048     bool do_img_;
00049     bool do_truncate_;
00050 };
00051 
00052 #endif


volt_distr
Author(s): Jonathan Hasenzahl
autogenerated on Sun Jan 5 2014 11:12:31