moveit2
The MoveIt Motion Planning Framework for ROS 2.
Loading...
Searching...
No Matches
moveit_py
src
moveit
core.cpp
Go to the documentation of this file.
1
/*********************************************************************
2
* Software License Agreement (BSD License)
3
*
4
* Copyright (c) 2022, Peter David Fagan
5
* All rights reserved.
6
*
7
* Redistribution and use in source and binary forms, with or without
8
* modification, are permitted provided that the following conditions
9
* are met:
10
*
11
* * Redistributions of source code must retain the above copyright
12
* notice, this list of conditions and the following disclaimer.
13
* * Redistributions in binary form must reproduce the above
14
* copyright notice, this list of conditions and the following
15
* disclaimer in the documentation and/or other materials provided
16
* with the distribution.
17
* * Neither the name of PickNik Inc. nor the names of its
18
* contributors may be used to endorse or promote products derived
19
* from this software without specific prior written permission.
20
*
21
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
24
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
25
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
26
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
27
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
28
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
29
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
31
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32
* POSSIBILITY OF SUCH DAMAGE.
33
*********************************************************************/
34
35
/* Author: Peter David Fagan */
36
37
#include "
moveit_core/collision_detection/collision_common.h
"
38
#include "
moveit_core/collision_detection/collision_matrix.h
"
39
#include "
moveit_core/collision_detection/world.h
"
40
#include "
moveit_core/controller_manager/controller_manager.h
"
41
#include "
moveit_core/kinematic_constraints/utils.h
"
42
#include "
moveit_core/planning_interface/planning_response.h
"
43
#include "
moveit_core/planning_scene/planning_scene.h
"
44
#include "
moveit_core/robot_model/joint_model.h
"
45
#include "
moveit_core/robot_model/joint_model_group.h
"
46
#include "
moveit_core/robot_model/robot_model.h
"
47
#include "
moveit_core/robot_state/robot_state.h
"
48
#include "
moveit_core/robot_trajectory/robot_trajectory.h
"
49
50
PYBIND11_MODULE
(core, m)
51
{
52
m.doc() = R
"(
53
Python bindings for moveit_core functionalities.
54
)";
55
56
// Provide custom function signatures
57
py::options options;
58
options.disable_function_signatures();
59
60
// Construct module classes
61
moveit_py::bind_collision_detection::initCollisionRequest
(m);
62
moveit_py::bind_collision_detection::initCollisionResult
(m);
63
moveit_py::bind_collision_detection::initWorld
(m);
64
moveit_py::bind_collision_detection::initAcm
(m);
65
moveit_py::bind_controller_manager::initExecutionStatus
(m);
66
moveit_py::bind_kinematic_constraints::initKinematicConstraints
(m);
67
moveit_py::bind_planning_scene::initPlanningScene
(m);
68
moveit_py::bind_planning_interface::initMotionPlanResponse
(m);
69
moveit_py::bind_robot_model::initJointModel
(m);
70
moveit_py::bind_robot_model::initJointModelGroup
(m);
71
moveit_py::bind_robot_model::initRobotModel
(m);
72
moveit_py::bind_robot_state::initRobotState
(m);
73
moveit_py::bind_robot_trajectory::initRobotTrajectory
(m);
74
// TODO (peterdavidfagan): complete LinkModel bindings
75
// LinkModel
76
// py::class_<moveit::core::LinkModel>(m, "LinkModel");
77
78
// TODO (peterdavidfagan): complete JointModel bindings
79
// JointModel (this is an abstract base class)
80
// py::class_<moveit::core::JointModel>(m, "JointModel");
81
}
PYBIND11_MODULE
PYBIND11_MODULE(core, m)
Definition
core.cpp:50
collision_common.h
collision_matrix.h
world.h
controller_manager.h
utils.h
planning_response.h
planning_scene.h
joint_model.h
joint_model_group.h
robot_model.h
robot_state.h
robot_trajectory.h
moveit_py::bind_collision_detection::initAcm
void initAcm(py::module &m)
Definition
collision_matrix.cpp:74
moveit_py::bind_collision_detection::initCollisionResult
void initCollisionResult(py::module &m)
Definition
collision_common.cpp:83
moveit_py::bind_collision_detection::initWorld
void initWorld(py::module &m)
Definition
world.cpp:43
moveit_py::bind_collision_detection::initCollisionRequest
void initCollisionRequest(py::module &m)
Definition
collision_common.cpp:43
moveit_py::bind_controller_manager::initExecutionStatus
void initExecutionStatus(py::module &m)
Definition
controller_manager.cpp:43
moveit_py::bind_kinematic_constraints::initKinematicConstraints
void initKinematicConstraints(py::module &m)
Definition
utils.cpp:143
moveit_py::bind_planning_interface::initMotionPlanResponse
void initMotionPlanResponse(py::module &m)
Definition
planning_response.cpp:74
moveit_py::bind_planning_scene::initPlanningScene
void initPlanningScene(py::module &m)
Definition
planning_scene.cpp:100
moveit_py::bind_robot_model::initRobotModel
void initRobotModel(py::module &m)
Definition
robot_model.cpp:48
moveit_py::bind_robot_model::initJointModelGroup
void initJointModelGroup(py::module &m)
Definition
joint_model_group.cpp:51
moveit_py::bind_robot_model::initJointModel
void initJointModel(py::module &m)
Definition
joint_model.cpp:45
moveit_py::bind_robot_state::initRobotState
void initRobotState(py::module &m)
Definition
robot_state.cpp:209
moveit_py::bind_robot_trajectory::initRobotTrajectory
void initRobotTrajectory(py::module &m)
Definition
robot_trajectory.cpp:61
Generated by
1.9.8