Skip to content

Commit

Permalink
Fix a parameter mix-up in moveit_cpp loading (moveit#2187)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyZe authored and v4hn committed Jul 3, 2020
1 parent 4a73165 commit e8b3851
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ class PlanningComponent
std::string ns = "plan_request_params/";
nh.param(ns + "planner_id", planner_id, std::string(""));
nh.param(ns + "planning_pipeline", planning_pipeline, std::string(""));
nh.param(ns + "planning_time", planning_attempts, 1);
nh.param(ns + "planning_attempts", planning_time, 5.0);
nh.param(ns + "planning_time", planning_time, 1.0);
nh.param(ns + "planning_attempts", planning_attempts, 5);
nh.param(ns + "max_velocity_scaling_factor", max_velocity_scaling_factor, 1.0);
nh.param(ns + "max_acceleration_scaling_factor", max_acceleration_scaling_factor, 1.0);
}
Expand Down

0 comments on commit e8b3851

Please sign in to comment.