src
main.cpp
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2022 Can-lab Corporation
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*
16
*/
17
18
#include <
ClpeClientApi.h
>
19
20
#include <
ros/ros.h
>
21
22
#include "
ClpeNode.hpp
"
23
24
int
main
(
int
argc,
char
** argv)
25
{
26
ros::init
(argc, argv,
"clpe_node"
);
27
28
const
auto
node =
clpe::ClpeNode<ClpeClientApi>::make_shared
(
ClpeClientApi
());
29
node->Init();
30
ros::spin
();
31
32
return
0;
33
}
ClpeClientApi.h
ros::init
ROSCPP_DECL void init(const M_string &remappings, const std::string &name, uint32_t options=0)
ros.h
main
int main(int argc, char **argv)
Definition:
main.cpp:24
ClpeClientApi
ClpeNode.hpp
ros::spin
ROSCPP_DECL void spin()
clpe::ClpeNode::make_shared
static std::shared_ptr< Me > make_shared(ClpeClientApi &&clpe_api)
Definition:
ClpeNode.hpp:114
clpe_ros
Author(s): Teo Koon Peng
autogenerated on Thu Dec 19 2024 03:50:23