#include <mrp2_analyzer.h>
Public Member Functions | |
bool | analyze (const boost::shared_ptr< StatusItem > item) |
std::string | getName () const |
std::string | getPath () const |
bool | init (const std::string base_name, const ros::NodeHandle &n) |
bool | match (const std::string name) |
MRP2Analyzer () | |
std::vector< boost::shared_ptr < diagnostic_msgs::DiagnosticStatus > > | report () |
~MRP2Analyzer () | |
Private Attributes | |
bool | batt_high_ |
bool | batt_low_ |
boost::shared_ptr< StatusItem > | battery_item_ |
std::string | battery_path_ |
bool | has_battery_data_ |
bool | has_initialized_ |
bool | has_lights_data_ |
bool | has_motor_l_data_ |
bool | has_motor_r_data_ |
std::string | l_motor_path_ |
bool | lights_controller_halt_ |
boost::shared_ptr< StatusItem > | lights_item_ |
std::string | lights_path_ |
boost::shared_ptr< StatusItem > | motor_l_item_ |
boost::shared_ptr< StatusItem > | motor_r_item_ |
bool | motors_controller_halt_ |
std::string | motors_path_ |
std::string | power_board_name_ |
std::string | r_motor_path_ |
bool | runstop_hit_ |
bool | stall_l_ |
bool | stall_r_ |
Definition at line 13 of file mrp2_analyzer.h.
Definition at line 15 of file mrp2_analyzer.cpp.
bool MRP2Analyzer::analyze | ( | const boost::shared_ptr< StatusItem > | item | ) | [virtual] |
Implements diagnostic_aggregator::Analyzer.
Definition at line 55 of file mrp2_analyzer.cpp.
std::string diagnostic_aggregator::MRP2Analyzer::getName | ( | ) | const [inline, virtual] |
Implements diagnostic_aggregator::Analyzer.
Definition at line 30 of file mrp2_analyzer.h.
std::string diagnostic_aggregator::MRP2Analyzer::getPath | ( | ) | const [inline, virtual] |
Implements diagnostic_aggregator::Analyzer.
Definition at line 28 of file mrp2_analyzer.h.
bool MRP2Analyzer::init | ( | const std::string | base_name, |
const ros::NodeHandle & | n | ||
) | [virtual] |
Implements diagnostic_aggregator::Analyzer.
Definition at line 17 of file mrp2_analyzer.cpp.
bool MRP2Analyzer::match | ( | const std::string | name | ) | [virtual] |
Implements diagnostic_aggregator::Analyzer.
Definition at line 47 of file mrp2_analyzer.cpp.
vector< boost::shared_ptr< diagnostic_msgs::DiagnosticStatus > > MRP2Analyzer::report | ( | ) | [virtual] |
Implements diagnostic_aggregator::Analyzer.
Definition at line 102 of file mrp2_analyzer.cpp.
bool diagnostic_aggregator::MRP2Analyzer::batt_high_ [private] |
Definition at line 41 of file mrp2_analyzer.h.
bool diagnostic_aggregator::MRP2Analyzer::batt_low_ [private] |
Definition at line 41 of file mrp2_analyzer.h.
boost::shared_ptr<StatusItem> diagnostic_aggregator::MRP2Analyzer::battery_item_ [private] |
Definition at line 36 of file mrp2_analyzer.h.
Definition at line 39 of file mrp2_analyzer.h.
bool diagnostic_aggregator::MRP2Analyzer::has_battery_data_ [private] |
Definition at line 41 of file mrp2_analyzer.h.
bool diagnostic_aggregator::MRP2Analyzer::has_initialized_ [private] |
Definition at line 41 of file mrp2_analyzer.h.
bool diagnostic_aggregator::MRP2Analyzer::has_lights_data_ [private] |
Definition at line 41 of file mrp2_analyzer.h.
bool diagnostic_aggregator::MRP2Analyzer::has_motor_l_data_ [private] |
Definition at line 41 of file mrp2_analyzer.h.
bool diagnostic_aggregator::MRP2Analyzer::has_motor_r_data_ [private] |
Definition at line 41 of file mrp2_analyzer.h.
Definition at line 39 of file mrp2_analyzer.h.
bool diagnostic_aggregator::MRP2Analyzer::lights_controller_halt_ [private] |
Definition at line 41 of file mrp2_analyzer.h.
boost::shared_ptr<StatusItem> diagnostic_aggregator::MRP2Analyzer::lights_item_ [private] |
Definition at line 37 of file mrp2_analyzer.h.
Definition at line 39 of file mrp2_analyzer.h.
boost::shared_ptr<StatusItem> diagnostic_aggregator::MRP2Analyzer::motor_l_item_ [private] |
Definition at line 34 of file mrp2_analyzer.h.
boost::shared_ptr<StatusItem> diagnostic_aggregator::MRP2Analyzer::motor_r_item_ [private] |
Definition at line 35 of file mrp2_analyzer.h.
bool diagnostic_aggregator::MRP2Analyzer::motors_controller_halt_ [private] |
Definition at line 41 of file mrp2_analyzer.h.
Definition at line 39 of file mrp2_analyzer.h.
Definition at line 39 of file mrp2_analyzer.h.
Definition at line 39 of file mrp2_analyzer.h.
bool diagnostic_aggregator::MRP2Analyzer::runstop_hit_ [private] |
Definition at line 41 of file mrp2_analyzer.h.
bool diagnostic_aggregator::MRP2Analyzer::stall_l_ [private] |
Definition at line 41 of file mrp2_analyzer.h.
bool diagnostic_aggregator::MRP2Analyzer::stall_r_ [private] |
Definition at line 41 of file mrp2_analyzer.h.