MoveIt Pro API
Core Behaviors for MoveIt Pro
Loading...
Searching...
No Matches
record_joint_trajectory_synchronization.hpp File Reference
#include <functional>
#include <mutex>
#include <utility>
Include dependency graph for record_joint_trajectory_synchronization.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

namespace  moveit_pro
 
namespace  moveit_pro::behaviors
 
namespace  moveit_pro::behaviors::internal
 

Functions

template<typename Lockable , typename StopTransition >
void moveit_pro::behaviors::internal::stopRecordingUnderLock (Lockable &mutex, StopTransition &&set_stopped)
 Performs the stop transition while holding the mutex shared with trajectory mutation.
 
template<typename Lockable , typename StopPredicate , typename TrajectoryMutation >
bool moveit_pro::behaviors::internal::mutateTrajectoryUnlessStopped (Lockable &mutex, StopPredicate &&is_stopped, TrajectoryMutation &&mutate_trajectory)
 Mutates the trajectory only while the stop predicate is false under the shared mutex.