Uses costmap 2d to assign negative costs if robot footprint is in obstacle on any point of the trajectory.
More...
#include <obstacle_cost_function.h>
Uses costmap 2d to assign negative costs if robot footprint is in obstacle on any point of the trajectory.
class ObstacleCostFunction
Definition at line 88 of file obstacle_cost_function.h.
◆ ObstacleCostFunction()
◆ ~ObstacleCostFunction()
base_local_planner::ObstacleCostFunction::~ObstacleCostFunction |
( |
| ) |
|
◆ footprintCost()
◆ getScalingFactor()
double base_local_planner::ObstacleCostFunction::getScalingFactor |
( |
Trajectory & |
traj, |
|
|
double |
scaling_speed, |
|
|
double |
max_trans_vel, |
|
|
double |
max_scaling_factor |
|
) |
| |
|
static |
◆ prepare()
bool base_local_planner::ObstacleCostFunction::prepare |
( |
| ) |
|
|
virtual |
◆ scoreTrajectory()
double base_local_planner::ObstacleCostFunction::scoreTrajectory |
( |
Trajectory & |
traj | ) |
|
|
virtual |
◆ setFootprint()
void base_local_planner::ObstacleCostFunction::setFootprint |
( |
std::vector< geometry_msgs::Point > |
footprint_spec | ) |
|
◆ setParams()
void base_local_planner::ObstacleCostFunction::setParams |
( |
double |
max_trans_vel, |
|
|
double |
max_scaling_factor, |
|
|
double |
scaling_speed |
|
) |
| |
◆ setSumScores()
void base_local_planner::ObstacleCostFunction::setSumScores |
( |
bool |
score_sums | ) |
|
|
inline |
◆ costmap_
◆ footprint_spec_
std::vector<geometry_msgs::Point> base_local_planner::ObstacleCostFunction::footprint_spec_ |
|
private |
◆ max_scaling_factor_
double base_local_planner::ObstacleCostFunction::max_scaling_factor_ |
|
private |
◆ max_trans_vel_
double base_local_planner::ObstacleCostFunction::max_trans_vel_ |
|
private |
◆ scaling_speed_
double base_local_planner::ObstacleCostFunction::scaling_speed_ |
|
private |
◆ sum_scores_
bool base_local_planner::ObstacleCostFunction::sum_scores_ |
|
private |
◆ world_model_
The documentation for this class was generated from the following files: