27#include <moveit/move_group_interface/move_group_interface.h>
28#include <moveit/planning_scene_interface/planning_scene_interface.h>
30#include <tf2_geometry_msgs/tf2_geometry_msgs.h>
31#include <geometry_msgs/msg/transform.hpp>
32#include <geometry_msgs/msg/vector3.hpp>
36template <
typename TSource,
typename TOrthogonal>
38:
sc::event<EvMoveGroupMotionExecutionSucceded<TSource, TOrthogonal>>
42template <
typename TSource,
typename TOrthogonal>
44:
sc::event<EvMoveGroupMotionExecutionFailed<TSource, TOrthogonal>>
90 ClMoveGroup(
const moveit::planning_interface::MoveGroupInterface::Options & options);
100 template <
typename TOrthogonal,
typename TSourceObject>
106 this->postEvent<EvMoveGroupMotionExecutionSucceded<TSourceObject, TOrthogonal>>();
112 this->postEvent<EvMoveGroupMotionExecutionFailed<TSourceObject, TOrthogonal>>();
116 template <
typename TCallback,
typename T>
122 template <
typename TCallback,
typename T>
128 const moveit::planning_interface::MoveGroupInterface::Options &
getOptions()
const;
138 moveit::planning_interface::MoveGroupInterface::Options
options_;
std::function< void()> postEventMotionExecutionSucceded_
void onOrthogonalAllocation()
std::shared_ptr< moveit::planning_interface::MoveGroupInterface > moveGroupClientInterface
void postEventMotionExecutionFailed()
const moveit::planning_interface::MoveGroupInterface::Options & getOptions() const
void onInitialize() override
moveit::planning_interface::MoveGroupInterface::Options options_
boost::signals2::connection onMotionExecutionFailed(TCallback callback, T *object)
boost::signals2::connection onMotionExecutionSuccedded(TCallback callback, T *object)
smacc2::SmaccSignal< void()> onSucceded_
std::shared_ptr< moveit::planning_interface::PlanningSceneInterface > planningSceneInterface
std::function< void()> postEventMotionExecutionFailed_
smacc2::SmaccSignal< void()> onFailed_
void postEventMotionExecutionSucceded()
ISmaccStateMachine * getStateMachine()
boost::signals2::connection createSignalConnection(TSmaccSignal &signal, TMemberFunctionPrototype callback, TSmaccObjectType *object)