Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
test
cleanup.cpp
Go to the documentation of this file.
1
/*********************************************************************
2
* Software License Agreement (BSD License)
3
*
4
* Redistribution and use in source and binary forms, with or without
5
* modification, are permitted provided that the following conditions
6
* are met:
7
*
8
* * Redistributions of source code must retain the above copyright
9
* notice, this list of conditions and the following disclaimer.
10
* * Redistributions in binary form must reproduce the above
11
* copyright notice, this list of conditions and the following
12
* disclaimer in the documentation and/or other materials provided
13
* with the distribution.
14
* * Neither the name of Willow Garage nor the names of its
15
* contributors may be used to endorse or promote products derived
16
* from this software without specific prior written permission.
17
*
18
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
21
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
22
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
23
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
24
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
25
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
28
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29
* POSSIBILITY OF SUCH DAMAGE.
30
*********************************************************************/
31
32
/* Author: Robert Haschke */
33
34
#include <
moveit/move_group_interface/move_group_interface.h
>
35
#include <
ros/ros.h
>
36
37
int
main
(
int
argc,
char
** argv)
38
{
39
ros::init
(argc, argv,
"moveit_test_cleanup_cpp"
,
ros::init_options::AnonymousName
);
40
41
ros::AsyncSpinner
spinner
(1);
42
spinner.
start
();
43
44
moveit::planning_interface::MoveGroupInterface
group
(
"manipulator"
);
45
46
ros::WallDuration
(0.1).
sleep
();
47
return
0;
48
}
ros::init_options::AnonymousName
AnonymousName
ros::init
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
ros::WallDuration
main
int main(int argc, char **argv)
Definition:
cleanup.cpp:37
spinner
void spinner()
movegroup_interface.group
group
Definition:
movegroup_interface.py:5
ros::WallDuration::sleep
bool sleep() const
ros::AsyncSpinner::start
void start()
ros.h
moveit::planning_interface::MoveGroupInterface
Client class to conveniently use the ROS interfaces provided by the move_group node.
Definition:
move_group_interface.h:98
move_group_interface.h
ros::AsyncSpinner
planning_interface
Author(s): Ioan Sucan
autogenerated on Wed Jul 10 2019 04:04:11