Template Function franka_gripper::resultIsReady
Defined in File gripper_action_server.hpp
Function Documentation
-
template<typename T>
bool franka_gripper::resultIsReady(std::future<T> &t, std::chrono::nanoseconds future_wait_timeout) checks whether an asynchronous command has finished
- Template Parameters:
T – the expected return type of the future
- Parameters:
t – the future which should be checked
future_wait_timeout – how long to wait for the result before returning false
- Returns:
whether the asynchronous function has already finished