SMACC
Loading...
Searching...
No Matches
smacc_client_library
move_group_interface_client
src
move_group_interface_client
cl_movegroup.cpp
Go to the documentation of this file.
1
/*****************************************************************************************************************
2
* ReelRobotix Inc. - Software License Agreement Copyright (c) 2018-2020
3
* Authors: Pablo Inigo Blasco, Brett Aldrich
4
*
5
******************************************************************************************************************/
6
7
#include <
move_group_interface_client/cl_movegroup.h
>
8
namespace
cl_move_group_interface
9
{
10
11
ClMoveGroup::ClMoveGroup
(std::string groupName)
12
: moveGroupClientInterface(groupName)
13
{
14
ros::WallDuration(10.0).sleep();
15
}
16
17
ClMoveGroup::~ClMoveGroup
()
18
{
19
}
20
21
void
ClMoveGroup::postEventMotionExecutionSucceded
()
22
{
23
ROS_INFO(
"[ClMoveGroup] Post Motion Success Event"
);
24
postEventMotionExecutionSucceded_
();
25
}
26
27
void
ClMoveGroup::postEventMotionExecutionFailed
()
28
{
29
ROS_INFO(
"[ClMoveGroup] Post Motion Failure Event"
);
30
postEventMotionExecutionFailed_
();
31
}
32
33
}
// namespace cl_move_group_interface
cl_movegroup.h
cl_move_group_interface::ClMoveGroup::postEventMotionExecutionSucceded_
std::function< void()> postEventMotionExecutionSucceded_
Definition:
cl_movegroup.h:64
cl_move_group_interface::ClMoveGroup::postEventMotionExecutionFailed
void postEventMotionExecutionFailed()
Definition:
cl_movegroup.cpp:27
cl_move_group_interface::ClMoveGroup::ClMoveGroup
ClMoveGroup(std::string groupName)
Definition:
cl_movegroup.cpp:11
cl_move_group_interface::ClMoveGroup::postEventMotionExecutionFailed_
std::function< void()> postEventMotionExecutionFailed_
Definition:
cl_movegroup.h:65
cl_move_group_interface::ClMoveGroup::postEventMotionExecutionSucceded
void postEventMotionExecutionSucceded()
Definition:
cl_movegroup.cpp:21
cl_move_group_interface::ClMoveGroup::~ClMoveGroup
virtual ~ClMoveGroup()
Definition:
cl_movegroup.cpp:17
cl_move_group_interface
Definition:
cl_movegroup.h:19
Generated by
1.9.5