Skip to content

Commit 613a1d4

Browse files
committed
remove everyting related to the now unused state space factories in the ompl interface
1 parent b392f59 commit 613a1d4

File tree

9 files changed

+1
-452
lines changed

9 files changed

+1
-452
lines changed

moveit_planners/ompl/ompl_interface/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,8 @@ add_library(${MOVEIT_LIB_NAME}
55
src/planning_context_manager.cpp
66
src/model_based_planning_context.cpp
77
src/parameterization/model_based_state_space.cpp
8-
src/parameterization/model_based_state_space_factory.cpp
98
src/parameterization/joint_space/joint_model_state_space.cpp
10-
src/parameterization/joint_space/joint_model_state_space_factory.cpp
119
src/parameterization/work_space/pose_model_state_space.cpp
12-
src/parameterization/work_space/pose_model_state_space_factory.cpp
1310
src/detail/threadsafe_state_storage.cpp
1411
src/detail/state_validity_checker.cpp
1512
src/detail/projection_evaluators.cpp

moveit_planners/ompl/ompl_interface/include/moveit/ompl_interface/parameterization/joint_space/joint_model_state_space_factory.h

Lines changed: 0 additions & 54 deletions
This file was deleted.

moveit_planners/ompl/ompl_interface/include/moveit/ompl_interface/parameterization/model_based_state_space_factory.h

Lines changed: 0 additions & 76 deletions
This file was deleted.

moveit_planners/ompl/ompl_interface/include/moveit/ompl_interface/parameterization/work_space/pose_model_state_space_factory.h

Lines changed: 0 additions & 54 deletions
This file was deleted.

moveit_planners/ompl/ompl_interface/include/moveit/ompl_interface/planning_context_manager.h

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838

3939
#include <moveit/ompl_interface/model_based_planning_context.h>
4040
#include <moveit/ompl_interface/parameterization/model_based_state_space.h>
41-
#include <moveit/ompl_interface/parameterization/model_based_state_space_factory.h>
4241
#include <moveit/constraint_samplers/constraint_sampler_manager.h>
4342
#include <moveit/macros/class_forward.h>
4443

@@ -181,30 +180,17 @@ class PlanningContextManager
181180
known_planners_[planner_id] = pa;
182181
}
183182

184-
void registerStateSpaceFactory(const ModelBasedStateSpaceFactoryPtr& factory)
185-
{
186-
state_space_factories_[factory->getType()] = factory;
187-
}
188-
189183
const std::map<std::string, ConfiguredPlannerAllocator>& getRegisteredPlannerAllocators() const
190184
{
191185
return known_planners_;
192186
}
193187

194-
const std::map<std::string, ModelBasedStateSpaceFactoryPtr>& getRegisteredStateSpaceFactories() const
195-
{
196-
return state_space_factories_;
197-
}
198-
199188
ConfiguredPlannerSelector getPlannerSelector() const;
200189

201190
protected:
202-
typedef std::function<const ModelBasedStateSpaceFactoryPtr&(const std::string&)> StateSpaceFactoryTypeSelector;
203-
204191
ConfiguredPlannerAllocator plannerSelector(const std::string& planner) const;
205192

206193
void registerDefaultPlanners();
207-
void registerDefaultStateSpaces();
208194

209195
template <typename T>
210196
void registerPlannerAllocatorHelper(const std::string& planner_id);
@@ -214,11 +200,6 @@ class PlanningContextManager
214200
const std::string& state_space_parameterization_type,
215201
const moveit_msgs::MotionPlanRequest& req) const;
216202

217-
const ModelBasedStateSpaceFactoryPtr& getStateSpaceFactory1(const std::string& group_name,
218-
const std::string& factory_type) const;
219-
const ModelBasedStateSpaceFactoryPtr& getStateSpaceFactory2(const std::string& group_name,
220-
const moveit_msgs::MotionPlanRequest& req) const;
221-
222203
/** \brief Check whether a joint model group has an inverse kinematics solver available. **/
223204
bool doesGroupHaveIKSolver(const std::string& group_name) const;
224205

@@ -234,7 +215,6 @@ class PlanningContextManager
234215
constraint_samplers::ConstraintSamplerManagerPtr constraint_sampler_manager_;
235216

236217
std::map<std::string, ConfiguredPlannerAllocator> known_planners_;
237-
std::map<std::string, ModelBasedStateSpaceFactoryPtr> state_space_factories_;
238218

239219
/** \brief All the existing planning configurations. The name
240220
of the configuration is the key of the map. This name can

moveit_planners/ompl/ompl_interface/src/parameterization/joint_space/joint_model_state_space_factory.cpp

Lines changed: 0 additions & 56 deletions
This file was deleted.

moveit_planners/ompl/ompl_interface/src/parameterization/model_based_state_space_factory.cpp

Lines changed: 0 additions & 45 deletions
This file was deleted.

0 commit comments

Comments
 (0)