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

Triggers execution of brake tests only if the controller is not executing a trajectory. More...

#include <brake_test_executor.h>

Public Member Functions

 BrakeTestExecutor (DetectRobotMotionFunc &&detect_robot_motion_func, ControllerHoldFunc &&controller_hold_func, TriggerBrakeTestFunc &&trigger_brake_test_func, ControllerUnholdFunc &&unhold_func, BrakeTestResultFunc &&brake_test_result_fun)
 
bool executeBrakeTest (pilz_msgs::BrakeTest::Request &req, pilz_msgs::BrakeTest::Response &response)
 

Private Attributes

BrakeTestResultFunc brake_test_result_func_
 
DetectRobotMotionFunc detect_robot_motion_func_
 
TriggerBrakeTestFunc execute_brake_test_func_
 
ControllerHoldFunc hold_controller_func_
 
ControllerUnholdFunc unhold_controller_func_
 

Detailed Description

Triggers execution of brake tests only if the controller is not executing a trajectory.

Definition at line 53 of file brake_test_executor.h.

Constructor & Destructor Documentation

◆ BrakeTestExecutor()

prbt_hardware_support::BrakeTestExecutor::BrakeTestExecutor ( DetectRobotMotionFunc &&  detect_robot_motion_func,
ControllerHoldFunc &&  controller_hold_func,
TriggerBrakeTestFunc &&  trigger_brake_test_func,
ControllerUnholdFunc &&  unhold_func,
BrakeTestResultFunc &&  brake_test_result_fun 
)

Definition at line 25 of file brake_test_executor.cpp.

Member Function Documentation

◆ executeBrakeTest()

bool prbt_hardware_support::BrakeTestExecutor::executeBrakeTest ( pilz_msgs::BrakeTest::Request &  req,
pilz_msgs::BrakeTest::Response &  response 
)

Definition at line 62 of file brake_test_executor.cpp.

Member Data Documentation

◆ brake_test_result_func_

BrakeTestResultFunc prbt_hardware_support::BrakeTestExecutor::brake_test_result_func_
private

Definition at line 70 of file brake_test_executor.h.

◆ detect_robot_motion_func_

DetectRobotMotionFunc prbt_hardware_support::BrakeTestExecutor::detect_robot_motion_func_
private

Definition at line 66 of file brake_test_executor.h.

◆ execute_brake_test_func_

TriggerBrakeTestFunc prbt_hardware_support::BrakeTestExecutor::execute_brake_test_func_
private

Definition at line 68 of file brake_test_executor.h.

◆ hold_controller_func_

ControllerHoldFunc prbt_hardware_support::BrakeTestExecutor::hold_controller_func_
private

Definition at line 67 of file brake_test_executor.h.

◆ unhold_controller_func_

ControllerUnholdFunc prbt_hardware_support::BrakeTestExecutor::unhold_controller_func_
private

Definition at line 69 of file brake_test_executor.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