Skip to content
Snippets Groups Projects
Commit ba3772cb authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Taken into account the obstacles when planning with splines.

parent b16cb26e
No related branches found
No related tags found
1 merge request!7Cleaned up the code:
......@@ -127,7 +127,7 @@ AckermannPlanner::AckermannPlanner(std::string name,AckermannPlannerUtil *planne
std::vector<base_local_planner::TrajectorySampleGenerator*> generator_list;
if(use_splines)
{
// critics.push_back(&obstacle_costs_); // discards trajectories that move into obstacles
critics.push_back(&obstacle_costs_); // discards trajectories that move into obstacles
critics.push_back(&path_costs_); // prefers trajectories on global path
critics.push_back(&goal_costs_); // prefers trajectories that go towards (local) goal, based on wave propagation
critics.push_back(&heading_costs_); // prefers trajectories that go towards (local) goal, based on wave propagation
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment