Executes the brake test for all joints. A brake test is triggered via service call. More...
#include <canopen_braketest_adapter.h>
Public Member Functions | |
CANOpenBrakeTestAdapter (ros::NodeHandle &nh) | |
Private Types | |
using | BrakeTestStatus = std::pair< int8_t, std::string > |
Private Member Functions | |
void | checkBrakeTestResultForNode (const std::string &node_name) |
ros::Duration | getBrakeTestDuration (const std::string &node_name) |
BrakeTestStatus | getBrakeTestStatusForNode (const std::string &node_name) |
ros::Duration | getMaximumBrakeTestDuration (const std::vector< std::string > &node_names) |
std::vector< std::string > | getNodeNames () |
void | triggerBrakeTestForNode (const std::string &node_name) |
bool | triggerBrakeTests (BrakeTest::Request &, BrakeTest::Response &response) |
Private Attributes | |
ros::ServiceServer | brake_test_srv_ |
Service which triggers brake tests for all joints. More... | |
ros::ServiceClient | canopen_srv_get_client_ |
ros::ServiceClient | canopen_srv_set_client_ |
ros::NodeHandle | nh_ |
Executes the brake test for all joints. A brake test is triggered via service call.
Definition at line 38 of file canopen_braketest_adapter.h.
|
private |
Definition at line 44 of file canopen_braketest_adapter.h.
prbt_hardware_support::CANOpenBrakeTestAdapter::CANOpenBrakeTestAdapter | ( | ros::NodeHandle & | nh | ) |
Definition at line 47 of file canopen_braketest_adapter.cpp.
|
private |
Definition at line 148 of file canopen_braketest_adapter.cpp.
|
private |
Definition at line 67 of file canopen_braketest_adapter.cpp.
|
private |
Definition at line 122 of file canopen_braketest_adapter.cpp.
|
private |
Definition at line 91 of file canopen_braketest_adapter.cpp.
|
private |
Definition at line 158 of file canopen_braketest_adapter.cpp.
|
private |
Definition at line 100 of file canopen_braketest_adapter.cpp.
|
private |
Definition at line 201 of file canopen_braketest_adapter.cpp.
|
private |
Service which triggers brake tests for all joints.
Definition at line 58 of file canopen_braketest_adapter.h.
|
private |
Definition at line 60 of file canopen_braketest_adapter.h.
|
private |
Definition at line 61 of file canopen_braketest_adapter.h.
|
private |
Definition at line 56 of file canopen_braketest_adapter.h.