made changes to the local planner - added some failsafe code - when trans vel is zero