#include <sr_test_runner.hpp>
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< Gnuplot > | gnuplot_ |
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_ |
Definition at line 40 of file sr_test_runner.hpp.
Definition at line 34 of file sr_test_runner.cpp.
shadow_robot::SrTestRunner::~SrTestRunner | ( | ) | [virtual] |
Definition at line 39 of file sr_test_runner.cpp.
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.
void shadow_robot::SrTestRunner::service_test_cb_ | ( | diagnostic_updater::DiagnosticStatusWrapper & | status | ) | [private] |
Definition at line 64 of file sr_test_runner.cpp.
boost::shared_ptr<DiagnosticParser> shadow_robot::SrTestRunner::diagnostic_parser_ [private] |
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.
size_t shadow_robot::SrTestRunner::index_service_to_test_ [private] |
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.
boost::shared_ptr<SensorNoiseTest> shadow_robot::SrTestRunner::sensor_noise_test_ [private] |
Definition at line 81 of file sr_test_runner.hpp.
const double shadow_robot::SrTestRunner::SERVICE_TIMEOUT_CONST_ [static, private] |
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.