8 : HeuristicPlugin(
"step_cost_heuristic")
14 if (!HeuristicPlugin::loadParams(params))
17 params.getParam(
"const_step_cost_estimator/step_cost",
step_cost_, 0.1);
31 double expected_steps = 0.0;
37 getDeltaStep(from.getPose(), to.getPose(), dstep);
40 expected_steps = sqrt(expected_steps_x*expected_steps_x + expected_steps_y*expected_steps_y);
43 double diff_angle = 0.0;
45 diff_angle = std::abs(angles::shortest_angular_distance(to.getYaw(), from.getYaw()));
56 #include <pluginlib/class_list_macros.h>