Skip to content

Commit

Permalink
bug fixed: no need in correction movement when cmd type is "stop"
Browse files Browse the repository at this point in the history
  • Loading branch information
liviniuk committed May 7, 2018
1 parent 67f5d41 commit 55cc9fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eurobot_navigation/scripts/motion_planner.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@ def cmd_callback(self, data):

elif cmd_type == "stop":
self.cmd_id = cmd_id
self.mode = cmd_type
self.terminate_following()

self.mutex.release()
Expand Down

0 comments on commit 55cc9fa

Please sign in to comment.