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 (BrakeTest::Request &req, 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 51 of file brake_test_executor.h.

Constructor & Destructor Documentation

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 23 of file brake_test_executor.cpp.

Member Function Documentation

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

Definition at line 60 of file brake_test_executor.cpp.

Member Data Documentation

BrakeTestResultFunc prbt_hardware_support::BrakeTestExecutor::brake_test_result_func_
private

Definition at line 68 of file brake_test_executor.h.

DetectRobotMotionFunc prbt_hardware_support::BrakeTestExecutor::detect_robot_motion_func_
private

Definition at line 64 of file brake_test_executor.h.

TriggerBrakeTestFunc prbt_hardware_support::BrakeTestExecutor::execute_brake_test_func_
private

Definition at line 66 of file brake_test_executor.h.

ControllerHoldFunc prbt_hardware_support::BrakeTestExecutor::hold_controller_func_
private

Definition at line 65 of file brake_test_executor.h.

ControllerUnholdFunc prbt_hardware_support::BrakeTestExecutor::unhold_controller_func_
private

Definition at line 67 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 2 2021 03:50:18