Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
prbt_hardware_support::SystemInfo Class Reference

Provides easy access to system information which are of importance when analyzing bugs. More...

#include <system_info.h>

Public Member Functions

std::string getFirmwareVersionOfJoint (const std::string &joint_name)
 
FirmwareCont getFirmwareVersions ()
 
 SystemInfo (ros::NodeHandle &nh)
 

Static Private Member Functions

static std::vector< std::string > getNodeNames (const ros::NodeHandle &nh)
 

Private Attributes

ros::ServiceClient canopen_srv_get_client_
 
const std::vector< std::string > joint_names_
 

Detailed Description

Provides easy access to system information which are of importance when analyzing bugs.

Definition at line 40 of file system_info.h.

Constructor & Destructor Documentation

prbt_hardware_support::SystemInfo::SystemInfo ( ros::NodeHandle nh)

Definition at line 41 of file system_info.cpp.

Member Function Documentation

std::string prbt_hardware_support::SystemInfo::getFirmwareVersionOfJoint ( const std::string &  joint_name)
Returns
the firmware version of the specified joint.

Definition at line 53 of file system_info.cpp.

FirmwareCont prbt_hardware_support::SystemInfo::getFirmwareVersions ( )
Returns
a container comprised of the firmware version of each joint of the robot.

Definition at line 76 of file system_info.cpp.

std::vector< std::string > prbt_hardware_support::SystemInfo::getNodeNames ( const ros::NodeHandle nh)
staticprivate
Returns
the names of all joints/nodes.

Definition at line 86 of file system_info.cpp.

Member Data Documentation

ros::ServiceClient prbt_hardware_support::SystemInfo::canopen_srv_get_client_
private

Definition at line 64 of file system_info.h.

const std::vector<std::string> prbt_hardware_support::SystemInfo::joint_names_
private

Definition at line 63 of file system_info.h.


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


prbt_hardware_support
Author(s):
autogenerated on Tue Feb 2 2021 03:50:18