Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
shadow_robot::SrTestRunner Class Reference

#include <sr_test_runner.hpp>

Inheritance diagram for shadow_robot::SrTestRunner:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void add_diagnostic_parser ()
 Adding a test which parses diagnostics for jitter, dropped messages, etc...
void addManualTests ()
 Those tests require the user input.
void addSensorNoiseTest ()
 Tests the noise of the pose sensor.
void addServicesTest (std::vector< std::string > services_to_test)
void addTopicTest (std::string topic_name, double frequency)
void plot (std::map< std::string, std::vector< double > > joints)
void plot (std::map< std::string, std::vector< double > > joints, bool testing)
void plot (std::map< std::string, std::vector< double > > joints, std::string path)
void plot (std::map< std::string, std::vector< double > > joints, std::string path, bool testing)
 SrTestRunner ()
virtual ~SrTestRunner ()

Private Member Functions

void service_test_cb_ (diagnostic_updater::DiagnosticStatusWrapper &status)

Private Attributes

boost::shared_ptr
< DiagnosticParser
diagnostic_parser_
 Class used for parsing the diagnostics.
boost::shared_ptr< Gnuplotgnuplot_
size_t index_service_to_test_
std::vector< boost::shared_ptr
< ManualTests > > 
manual_tests_
 runs manual test (visual calibration check, tactiles...)
boost::shared_ptr
< SensorNoiseTest
sensor_noise_test_
std::vector< std::string > services_to_test_

Static Private Attributes

static const double SERVICE_TIMEOUT_CONST_

Detailed Description

Definition at line 40 of file sr_test_runner.hpp.


Constructor & Destructor Documentation

Definition at line 34 of file sr_test_runner.cpp.

Definition at line 39 of file sr_test_runner.cpp.


Member Function Documentation

Adding a test which parses diagnostics for jitter, dropped messages, etc...

Definition at line 131 of file sr_test_runner.cpp.

Those tests require the user input.

Definition at line 136 of file sr_test_runner.cpp.

Tests the noise of the pose sensor.

Definition at line 58 of file sr_test_runner.cpp.

void shadow_robot::SrTestRunner::addServicesTest ( std::vector< std::string >  services_to_test)

Definition at line 47 of file sr_test_runner.cpp.

void shadow_robot::SrTestRunner::addTopicTest ( std::string  topic_name,
double  frequency 
)

Definition at line 43 of file sr_test_runner.cpp.

void shadow_robot::SrTestRunner::plot ( std::map< std::string, std::vector< double > >  joints)

Definition at line 75 of file sr_test_runner.cpp.

void shadow_robot::SrTestRunner::plot ( std::map< std::string, std::vector< double > >  joints,
bool  testing 
)

Definition at line 80 of file sr_test_runner.cpp.

void shadow_robot::SrTestRunner::plot ( std::map< std::string, std::vector< double > >  joints,
std::string  path 
)

Definition at line 85 of file sr_test_runner.cpp.

void shadow_robot::SrTestRunner::plot ( std::map< std::string, std::vector< double > >  joints,
std::string  path,
bool  testing 
)

Definition at line 90 of file sr_test_runner.cpp.

Definition at line 64 of file sr_test_runner.cpp.


Member Data Documentation

Class used for parsing the diagnostics.

Definition at line 76 of file sr_test_runner.hpp.

boost::shared_ptr<Gnuplot> shadow_robot::SrTestRunner::gnuplot_ [private]

Definition at line 73 of file sr_test_runner.hpp.

Definition at line 71 of file sr_test_runner.hpp.

std::vector<boost::shared_ptr<ManualTests> > shadow_robot::SrTestRunner::manual_tests_ [private]

runs manual test (visual calibration check, tactiles...)

Definition at line 79 of file sr_test_runner.hpp.

Definition at line 81 of file sr_test_runner.hpp.

Definition at line 67 of file sr_test_runner.hpp.

std::vector<std::string> shadow_robot::SrTestRunner::services_to_test_ [private]

Definition at line 69 of file sr_test_runner.hpp.


The documentation for this class was generated from the following files:


sr_self_test
Author(s): Ugo Cupcic
autogenerated on Mon Oct 6 2014 07:52:52