|
38 | 38 |
|
39 | 39 | %{
|
40 | 40 |
|
| 41 | +// tesseract_common |
| 42 | +#include <tesseract_common/plugin_loader.h> |
| 43 | + |
| 44 | +// tesseract_kinematics |
| 45 | +#include <tesseract_kinematics/core/joint_group.h> |
| 46 | +#include <tesseract_kinematics/core/kinematic_group.h> |
| 47 | + |
| 48 | +// tesseract_environment |
| 49 | +#include <tesseract_environment/commands.h> |
| 50 | +#include <tesseract_environment/events.h> |
| 51 | +#include <tesseract_environment/environment.h> |
| 52 | + |
| 53 | +// tesseract_collision |
| 54 | +#include <tesseract_collision/core/types.h> |
| 55 | +#include <tesseract_collision/core/discrete_contact_manager.h> |
| 56 | +#include <tesseract_collision/core/continuous_contact_manager.h> |
| 57 | + |
| 58 | +// tesseract_command_language |
| 59 | +#include <tesseract_command_language/fwd.h> |
| 60 | +#include <tesseract_command_language/move_instruction.h> |
| 61 | +#include <tesseract_command_language/composite_instruction.h> |
| 62 | +#include <tesseract_command_language/profile_dictionary.h> |
| 63 | + |
41 | 64 | // tesseract_motion_planners_simple
|
42 | 65 | #include <tesseract_motion_planners/simple/profile/simple_planner_profile.h>
|
43 | 66 | #include <tesseract_motion_planners/simple/profile/simple_planner_lvs_plan_profile.h>
|
|
84 | 107 | // tesseract_task_composer
|
85 | 108 | #include <tesseract_task_composer/core/task_composer_node_info.h>
|
86 | 109 | #include <tesseract_task_composer/core/task_composer_data_storage.h>
|
87 |
| -#include <tesseract_task_composer/core/task_composer_problem.h> |
| 110 | +//#include <tesseract_task_composer/core/task_composer_problem.h> |
88 | 111 | #include <tesseract_task_composer/core/task_composer_node.h>
|
89 | 112 | #include <tesseract_task_composer/core/task_composer_graph.h>
|
90 | 113 | #include <tesseract_task_composer/core/task_composer_future.h>
|
91 | 114 | #include <tesseract_task_composer/core/task_composer_task.h>
|
92 | 115 | #include <tesseract_task_composer/core/task_composer_executor.h>
|
93 | 116 | #include <tesseract_task_composer/core/task_composer_plugin_factory.h>
|
94 | 117 | #include <tesseract_task_composer/core/task_composer_server.h>
|
| 118 | +#include <tesseract_task_composer/core/task_composer_pipeline.h> |
| 119 | +#include <tesseract_task_composer/core/task_composer_context.h> |
95 | 120 |
|
96 |
| -#include <tesseract_task_composer/planning/planning_task_composer_problem.h> |
| 121 | +// #include <tesseract_task_composer/planning/planning_task_composer_problem.h> |
97 | 122 |
|
98 | 123 | #include <tesseract_task_composer/taskflow/taskflow_task_composer_plugin_factories.h>
|
99 | 124 | #include <tesseract_task_composer/planning/planning_task_composer_plugin_factories.h>
|
|
104 | 129 |
|
105 | 130 | // tesseract_task_composer profiles
|
106 | 131 |
|
107 |
| -#include <tesseract_task_composer/planning/profiles/check_input_profile.h> |
| 132 | +// #include <tesseract_task_composer/planning/profiles/check_input_profile.h> |
108 | 133 | #include <tesseract_task_composer/planning/profiles/contact_check_profile.h>
|
109 | 134 | #include <tesseract_task_composer/planning/profiles/fix_state_bounds_profile.h>
|
110 | 135 | #include <tesseract_task_composer/planning/profiles/fix_state_collision_profile.h>
|
|
116 | 141 | #include <tesseract_task_composer/planning/profiles/upsample_trajectory_profile.h>
|
117 | 142 |
|
118 | 143 |
|
119 |
| - |
120 | 144 | #include <tesseract_geometry/geometries.h>
|
121 | 145 | #include <tesseract_common/resource_locator.h>
|
122 | 146 | #include <tesseract_srdf/kinematics_information.h>
|
|
144 | 168 | %unique_ptr_as(source_class_type, tesseract_planning, dest_class_type, tesseract_planning)
|
145 | 169 | %enddef
|
146 | 170 |
|
| 171 | +%include "tesseract_task_composer/core/fwd.h" |
| 172 | + |
| 173 | +// task_composer_keys |
| 174 | +%include "tesseract_task_composer/core/task_composer_keys.h" |
| 175 | +%template(get) tesseract_planning::TaskComposerKeys::get<std::string>; |
| 176 | + |
147 | 177 | // task_composer_node_info
|
148 | 178 |
|
149 | 179 | %s_u_ptr(TaskComposerNodeInfo)
|
150 | 180 | %s_u_ptr(TaskComposerNodeInfoContainer)
|
151 |
| -%s_u_ptr(TaskComposerProblem) |
| 181 | +// %s_u_ptr(TaskComposerProblem) |
152 | 182 | // TODO: Handle maps containing unique_ptr
|
153 | 183 | // %template(MapUuidTaskComposerNodeInfoUPtr) std::map<boost::uuids::uuid, std::unique_ptr<tesseract_planning::TaskComposerNodeInfo> >;
|
154 | 184 | %ignore tesseract_planning::TaskComposerNodeInfoContainer::getInfoMap;
|
| 185 | +%ignore tesseract_planning::TaskComposerNodeInfo::find; |
| 186 | +%ignore tesseract_planning::TaskComposerNodeInfoContainer::find; |
155 | 187 | %include "tesseract_task_composer/core/task_composer_node_info.h"
|
156 | 188 |
|
157 | 189 | // task_composer_data_storage
|
|
160 | 192 | // TODO: Handle tesseract_common::AnyPoly
|
161 | 193 | %include "tesseract_task_composer/core/task_composer_data_storage.h"
|
162 | 194 |
|
| 195 | +%unique_ptr_constructor(tesseract_planning::TaskComposerDataStorage, %arg(), %arg()); |
| 196 | + |
163 | 197 | // task_composer_problem
|
164 | 198 |
|
165 | 199 | // %include "tesseract_task_composer/core/task_composer_problem.h"
|
@@ -222,6 +256,8 @@ enum class future_status {
|
222 | 256 | %shared_ptr(tesseract_planning::TaskComposerNodeFactory)
|
223 | 257 | %shared_ptr(tesseract_planning::TaskComposerExecutorFactory)
|
224 | 258 |
|
| 259 | +%shared_ptr(tesseract_planning::TaskComposerPluginFactory) |
| 260 | + |
225 | 261 | %include "tesseract_task_composer/core/task_composer_plugin_factory.h"
|
226 | 262 |
|
227 | 263 | // task_composer_server
|
@@ -263,9 +299,10 @@ enum class future_status {
|
263 | 299 | %arg(env, profiles, name));*/
|
264 | 300 |
|
265 | 301 | // contact_check_profile
|
266 |
| -%shared_ptr(tesseract_planning::ContactCheckProfile) |
267 |
| -%include "tesseract_task_composer/planning/profiles/contact_check_profile.h" |
268 |
| -%tesseract_command_language_add_profile_type(ContactCheckProfile); |
| 302 | +// TODO: Fix library linking |
| 303 | +// %shared_ptr(tesseract_planning::ContactCheckProfile) |
| 304 | +// %include "tesseract_task_composer/planning/profiles/contact_check_profile.h" |
| 305 | +// %tesseract_command_language_add_profile_type(ContactCheckProfile); |
269 | 306 |
|
270 | 307 | // fix_state_bounds_profile
|
271 | 308 | %shared_ptr(tesseract_planning::FixStateBoundsProfile)
|
@@ -310,9 +347,10 @@ enum class future_status {
|
310 | 347 | %tesseract_command_language_add_profile_type(UpsampleTrajectoryProfile);
|
311 | 348 |
|
312 | 349 | %init %{
|
313 |
| -tesseract_common::PluginLoader::addSymbolLibraryToSearchLibrariesEnv(tesseract_planning::TaskComposerPlanningFactoriesAnchor(), "TESSERACT_TASK_COMPOSER_PLUGINS"); |
314 |
| -tesseract_common::PluginLoader::addSymbolLibraryToSearchLibrariesEnv(tesseract_planning::TaskComposerTaskflowFactoriesAnchor(), "TESSERACT_TASK_COMPOSER_PLUGINS"); |
315 |
| -tesseract_common::PluginLoader::addSymbolLibraryToSearchLibrariesEnv(tesseract_planning::TaskComposerTaskFactoryAnchor(), "TESSERACT_TASK_COMPOSER_PLUGINS"); |
| 350 | +// TODO: fix anchors |
| 351 | +// tesseract_common::PluginLoader::addSymbolLibraryToSearchLibrariesEnv(tesseract_planning::TaskComposerPlanningFactoriesAnchor(), "TESSERACT_TASK_COMPOSER_PLUGINS"); |
| 352 | +// tesseract_common::PluginLoader::addSymbolLibraryToSearchLibrariesEnv(tesseract_planning::TaskComposerTaskflowFactoriesAnchor(), "TESSERACT_TASK_COMPOSER_PLUGINS"); |
| 353 | +// tesseract_common::PluginLoader::addSymbolLibraryToSearchLibrariesEnv(tesseract_planning::TaskComposerTaskFactoryAnchor(), "TESSERACT_TASK_COMPOSER_PLUGINS"); |
316 | 354 |
|
317 | 355 | %}
|
318 | 356 |
|
|
0 commit comments