Skip to content

Commit 21787b3

Browse files
sjahrrhaschke
authored andcommitted
Remove display_motion_plans and publish_planning_requests properties (moveit#489)
1 parent f4cd7d5 commit 21787b3

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
@@ -84,12 +84,6 @@ PipelinePlanner::PipelinePlanner(
8484
properties().declare<double>("goal_position_tolerance", 1e-4, "tolerance for reaching position goals");
8585
properties().declare<double>("goal_orientation_tolerance", 1e-4, "tolerance for reaching orientation goals");
8686
// Declare properties that configure the planning pipeline
87-
properties().declare<bool>("display_motion_plans", false,
88-
"publish generated solutions on topic " +
89-
planning_pipeline::PlanningPipeline::DISPLAY_PATH_TOPIC);
90-
properties().declare<bool>("publish_planning_requests", false,
91-
"publish motion planning requests on topic " +
92-
planning_pipeline::PlanningPipeline::MOTION_PLAN_REQUEST_TOPIC);
9387
properties().declare<std::unordered_map<std::string, std::string>>(
9488
"pipeline_id_planner_id_map", std::unordered_map<std::string, std::string>(),
9589
"Set of pipelines and planners used for planning");
@@ -143,12 +137,6 @@ void PipelinePlanner::init(const core::RobotModelConstPtr& robot_model) {
143137
throw std::runtime_error(
144138
"Cannot initialize PipelinePlanner: Could not create any valid entries for planning pipeline maps!");
145139
}
146-
147-
// Configure all pipelines according to the configuration in properties
148-
for (auto const& name_pipeline_pair : planning_pipelines_) {
149-
name_pipeline_pair.second->displayComputedMotionPlans(properties().get<bool>("display_motion_plans"));
150-
name_pipeline_pair.second->publishReceivedRequests(properties().get<bool>("publish_planning_requests"));
151-
}
152140
}
153141

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

0 commit comments

Comments
 (0)