SMACC
Loading...
Searching...
No Matches
smacc_client_library
move_group_interface_client
include
move_group_interface_client
client_behaviors
cb_move_named_target.h
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
#pragma once
8
9
#include <
smacc/smacc_asynchronous_client_behavior.h
>
10
#include <
move_group_interface_client/cl_movegroup.h
>
11
#include <map>
12
#include <string>
13
14
namespace
cl_move_group_interface
15
{
16
//named targets are configured in the urdf file
17
class
CbMoveNamedTarget
:
public
smacc::SmaccAsyncClientBehavior
18
{
19
protected
:
20
ClMoveGroup
*
movegroupClient_
;
21
std::string
namedTarget_
;
22
23
public
:
24
CbMoveNamedTarget
(std::string namedtarget);
25
26
virtual
void
onEntry
()
override
;
27
28
virtual
void
onExit
()
override
;
29
30
std::map<std::string, double>
getNamedTargetValues
();
31
};
32
}
// namespace cl_move_group_interface
cl_movegroup.h
cl_move_group_interface::CbMoveNamedTarget
Definition:
cb_move_named_target.h:18
cl_move_group_interface::CbMoveNamedTarget::namedTarget_
std::string namedTarget_
Definition:
cb_move_named_target.h:21
cl_move_group_interface::CbMoveNamedTarget::movegroupClient_
ClMoveGroup * movegroupClient_
Definition:
cb_move_named_target.h:20
cl_move_group_interface::CbMoveNamedTarget::onEntry
virtual void onEntry() override
Definition:
cb_move_named_target.cpp:16
cl_move_group_interface::CbMoveNamedTarget::getNamedTargetValues
std::map< std::string, double > getNamedTargetValues()
Definition:
cb_move_named_target.cpp:26
cl_move_group_interface::CbMoveNamedTarget::onExit
virtual void onExit() override
Definition:
cb_move_named_target.cpp:22
cl_move_group_interface::ClMoveGroup
Definition:
cl_movegroup.h:62
smacc::SmaccAsyncClientBehavior
Definition:
smacc_asynchronous_client_behavior.h:43
cl_move_group_interface
Definition:
cl_movegroup.h:19
smacc_asynchronous_client_behavior.h
Generated by
1.9.5