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 52 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 24 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 60 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 67 of file brake_test_executor.h.

◆ detect_robot_motion_func_

DetectRobotMotionFunc prbt_hardware_support::BrakeTestExecutor::detect_robot_motion_func_
private

Definition at line 63 of file brake_test_executor.h.

◆ execute_brake_test_func_

TriggerBrakeTestFunc prbt_hardware_support::BrakeTestExecutor::execute_brake_test_func_
private

Definition at line 65 of file brake_test_executor.h.

◆ hold_controller_func_

ControllerHoldFunc prbt_hardware_support::BrakeTestExecutor::hold_controller_func_
private

Definition at line 64 of file brake_test_executor.h.

◆ unhold_controller_func_

ControllerUnholdFunc prbt_hardware_support::BrakeTestExecutor::unhold_controller_func_
private

Definition at line 66 of file brake_test_executor.h.


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


prbt_hardware_support
Author(s):
autogenerated on Mon Feb 28 2022 23:14:34