Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: stevedan <[email protected]>
  • Loading branch information
stevedanomodolor committed Oct 8, 2024
1 parent a8aaccf commit aa01e64
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nav2_smac_planner/src/smac_planner_hybrid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -403,8 +403,7 @@ nav_msgs::msg::Path SmacPlannerHybrid::createPlan(
if (orientation_bin >= static_cast<float>(_angle_quantizations)) {
orientation_bin -= static_cast<float>(_angle_quantizations);
}
int orientation_bin_id = static_cast<unsigned int>(floor(orientation_bin));
_a_star->setGoal(mx, my, orientation_bin_id, _goal_heading_mode);
_a_star->setGoal(mx, my, static_cast<unsigned int>(orientation_bin), _goal_heading_mode);

// Setup message
nav_msgs::msg::Path plan;
Expand Down

0 comments on commit aa01e64

Please sign in to comment.