SMACC2
Loading...
Searching...
No Matches
smacc2_client_library
cl_moveit2z
include
cl_moveit2z
cl_moveit2z.hpp
Go to the documentation of this file.
1
// Copyright 2025 Robosoft Inc.
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
// http://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
15
/*****************************************************************************************************************
16
*
17
* Authors: Pablo Inigo Blasco, Brett Aldrich
18
*
19
*****************************************************************************************************************/
20
21
#pragma once
22
23
#include <
cl_moveit2z/components/cp_motion_planner.hpp
>
24
#include <
cl_moveit2z/components/cp_move_group_interface.hpp
>
25
#include <
smacc2/smacc.hpp
>
26
27
namespace
cl_moveit2z
28
{
29
class
ClMoveit2z
:
public
smacc2::ISmaccClient
30
{
31
public
:
32
ClMoveit2z
(std::string groupName);
33
34
ClMoveit2z
(
const
moveit::planning_interface::MoveGroupInterface::Options & options);
35
36
virtual
~ClMoveit2z
();
37
38
template
<
typename
TOrthogonal,
typename
TClient>
39
void
onComponentInitialization
()
40
{
41
this->
createComponent<CpMoveGroupInterface, TOrthogonal, TClient>
(
options_
);
42
this->
createComponent<CpMotionPlanner, TOrthogonal, TClient>
();
43
}
44
45
inline
const
moveit::planning_interface::MoveGroupInterface::Options &
getOptions
()
const
46
{
47
return
options_
;
48
}
49
50
private
:
51
moveit::planning_interface::MoveGroupInterface::Options
options_
;
52
};
53
}
// namespace cl_moveit2z
cl_moveit2z::ClMoveit2z
Definition
cl_moveit2z.hpp:30
cl_moveit2z::ClMoveit2z::~ClMoveit2z
virtual ~ClMoveit2z()
Definition
cl_moveit2z.cpp:34
cl_moveit2z::ClMoveit2z::onComponentInitialization
void onComponentInitialization()
Definition
cl_moveit2z.hpp:39
cl_moveit2z::ClMoveit2z::ClMoveit2z
ClMoveit2z(std::string groupName)
Definition
cl_moveit2z.cpp:26
cl_moveit2z::ClMoveit2z::getOptions
const moveit::planning_interface::MoveGroupInterface::Options & getOptions() const
Definition
cl_moveit2z.hpp:45
cl_moveit2z::ClMoveit2z::options_
moveit::planning_interface::MoveGroupInterface::Options options_
Definition
cl_moveit2z.hpp:51
smacc2::ISmaccClient
Definition
smacc_client.hpp:45
smacc2::ISmaccClient::createComponent
SmaccComponentType * createComponent(TArgs... targs)
Definition
smacc_client_impl.hpp:132
cp_motion_planner.hpp
cp_move_group_interface.hpp
cl_moveit2z
Definition
cl_moveit2z.hpp:28
smacc.hpp
Generated by
1.12.0