Frankx  0.2.0
A High-Level Motion API for Franka
Public Types | Public Member Functions | List of all members
movex::Condition Class Reference

#include <measure.hpp>

Public Types

using CallbackType = std::function< bool(const RobotState_ &, double)>
 

Public Member Functions

 Condition (CallbackType callback)
 
Conditionoperator&& (const Condition &rhs)
 
Conditionoperator|| (const Condition &rhs)
 
bool operator() (const RobotState_ &robot_state, double time)
 Check if the condition is fulfilled. More...
 

Member Typedef Documentation

◆ CallbackType

using movex::Condition::CallbackType = std::function<bool(const RobotState_&, double)>

Constructor & Destructor Documentation

◆ Condition()

movex::Condition::Condition ( CallbackType  callback)
inlineexplicit

Member Function Documentation

◆ operator&&()

Condition& movex::Condition::operator&& ( const Condition rhs)
inline

◆ operator()()

bool movex::Condition::operator() ( const RobotState_ robot_state,
double  time 
)
inline

Check if the condition is fulfilled.

◆ operator||()

Condition& movex::Condition::operator|| ( const Condition rhs)
inline

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