Skip to content

Commit

Permalink
Fix #845 (#846)
Browse files Browse the repository at this point in the history
  • Loading branch information
DLu committed Jan 24, 2019
1 parent 1903e2a commit 9e3c52a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions global_planner/src/orientation_filter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ void OrientationFilter::processPath(const geometry_msgs::PoseStamped& start,
std::vector<geometry_msgs::PoseStamped>& path)
{
int n = path.size();
if (n == 0) return;
switch(omode_) {
case FORWARD:
for(int i=0;i<n-1;i++){
Expand Down

0 comments on commit 9e3c52a

Please sign in to comment.