SMACC2
Loading...
Searching...
No Matches
smacc2_client_library
cl_foundation_pose
include
cl_foundation_pose
cl_foundation_pose.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
#pragma once
21
22
#include <
smacc2/smacc_client.hpp
>
23
#include <vision_msgs/msg/detection3_d_array.hpp>
24
25
#include <
smacc2/client_core_components/cp_topic_subscriber.hpp
>
26
27
namespace
cl_foundation_pose
28
{
29
using namespace
smacc2::client_core_components
;
30
31
class
ClFoundationPose
:
public
smacc2::ISmaccClient
32
{
33
public
:
34
ClFoundationPose
() {}
35
36
template
<
typename
TOrthogonal,
typename
TClient>
37
void
onComponentInitialization
()
38
{
39
this->
createComponent
<
40
CpTopicSubscriber<vision_msgs::msg::Detection3DArray>
, TOrthogonal,
ClFoundationPose
>(
41
std::string(
"/detection3d_array"
));
42
}
43
};
44
45
}
// namespace cl_foundation_pose
cl_foundation_pose::ClFoundationPose
Definition
cl_foundation_pose.hpp:32
cl_foundation_pose::ClFoundationPose::onComponentInitialization
void onComponentInitialization()
Definition
cl_foundation_pose.hpp:37
cl_foundation_pose::ClFoundationPose::ClFoundationPose
ClFoundationPose()
Definition
cl_foundation_pose.hpp:34
smacc2::ISmaccClient
Definition
smacc_client.hpp:46
smacc2::ISmaccClient::createComponent
SmaccComponentType * createComponent(const TArgs &... targs)
Definition
smacc_client_impl.hpp:130
smacc2::client_core_components::CpTopicSubscriber
Definition
cp_topic_subscriber.hpp:35
cp_topic_subscriber.hpp
cl_foundation_pose
Definition
cl_foundation_pose.hpp:28
smacc2::client_core_components
Definition
cp_action_client.hpp:32
smacc_client.hpp
Generated by
1.12.0