Skip to content

Commit ed70497

Browse files
sjahrrhaschke
authored andcommitted
Remove display_motion_plans and publish_planning_requests properties (moveit#489)
1 parent 0e02fca commit ed70497

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

core/python/bindings/src/solvers.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,6 @@ void export_solvers(py::module& m) {
7878
.property<double>("goal_joint_tolerance", "float: Tolerance for reaching joint goals")
7979
.property<double>("goal_position_tolerance", "float: Tolerance for reaching position goals")
8080
.property<double>("goal_orientation_tolerance", "float: Tolerance for reaching orientation goals")
81-
.property<bool>("display_motion_plans", "bool: Publish generated solutions via a topic")
82-
.property<bool>("publish_planning_requests", "bool: Publish motion planning requests via a topic")
8381
.def(py::init<const std::string&>(), "pipeline"_a = std::string("ompl"));
8482

8583
properties::class_<JointInterpolationPlanner, PlannerInterface>(

core/src/solvers/pipeline_planner.cpp

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,6 @@ PipelinePlanner::PipelinePlanner(
7171
properties().declare<double>("goal_position_tolerance", 1e-4, "tolerance for reaching position goals");
7272
properties().declare<double>("goal_orientation_tolerance", 1e-4, "tolerance for reaching orientation goals");
7373
// Declare properties that configure the planning pipeline
74-
properties().declare<bool>("display_motion_plans", false,
75-
"publish generated solutions on topic " +
76-
planning_pipeline::PlanningPipeline::DISPLAY_PATH_TOPIC);
77-
properties().declare<bool>("publish_planning_requests", false,
78-
"publish motion planning requests on topic " +
79-
planning_pipeline::PlanningPipeline::MOTION_PLAN_REQUEST_TOPIC);
8074
properties().declare("pipeline_id_planner_id_map", pipeline_id_planner_id_map,
8175
"Set of pipelines and planners used for planning");
8276
}
@@ -135,12 +129,6 @@ void PipelinePlanner::init(const core::RobotModelConstPtr& robot_model) {
135129
}
136130
}
137131
}
138-
139-
// Configure all pipelines according to the configuration in properties
140-
for (auto const& name_pipeline_pair : planning_pipelines_) {
141-
name_pipeline_pair.second->displayComputedMotionPlans(properties().get<bool>("display_motion_plans"));
142-
name_pipeline_pair.second->publishReceivedRequests(properties().get<bool>("publish_planning_requests"));
143-
}
144132
}
145133

146134
bool PipelinePlanner::plan(const planning_scene::PlanningSceneConstPtr& from,

0 commit comments

Comments
 (0)