Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iri_ackermann_local_planner
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
labrobotica
ros
navigation
iri_ackermann_local_planner
Commits
10ed0ec9
Commit
10ed0ec9
authored
2 years ago
by
Sergi Hernandez
Browse files
Options
Downloads
Patches
Plain Diff
Used the oriented footprint to avoid problems with the obstacle costs.
parent
a7660e04
No related branches found
No related tags found
1 merge request
!7
Cleaned up the code:
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/ackermann_planner_ros.cpp
+3
-1
3 additions, 1 deletion
src/ackermann_planner_ros.cpp
with
3 additions
and
1 deletion
src/ackermann_planner_ros.cpp
+
3
−
1
View file @
10ed0ec9
...
...
@@ -179,7 +179,9 @@ bool AckermannPlannerROS::ackermann_compute_velocity_commands(geometry_msgs::Pos
drive_cmds
.
header
.
frame_id
=
costmap_ros_
->
getBaseFrameID
();
// call with updated footprint
base_local_planner
::
Trajectory
path
=
dp_
->
find_best_path
(
global_pose
,
ackermann
,
drive_cmds
,
costmap_ros_
->
getRobotFootprint
());
std
::
vector
<
geometry_msgs
::
Point
>
robot_footprint
;
costmap_ros_
->
getOrientedFootprint
(
robot_footprint
);
base_local_planner
::
Trajectory
path
=
dp_
->
find_best_path
(
global_pose
,
ackermann
,
drive_cmds
,
robot_footprint
);
//ROS_ERROR("Best: %.2f, %.2f, %.2f, %.2f", path.xv_, path.yv_, path.thetav_, path.cost_);
//pass along drive commands
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment