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

◆ SystemInfo()

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

Definition at line 37 of file system_info.cpp.

Member Function Documentation

◆ getFirmwareVersionOfJoint()

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

Definition at line 49 of file system_info.cpp.

◆ getFirmwareVersions()

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

Definition at line 69 of file system_info.cpp.

◆ getNodeNames()

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

Definition at line 79 of file system_info.cpp.

Member Data Documentation

◆ canopen_srv_get_client_

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

Definition at line 64 of file system_info.h.

◆ joint_names_

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 25 2020 03:19:31