Hi Usman,
I have looked through your files and tried the basic configuration.
Your setup is quite complex and there are some inconsistencies in
some of your launch and configuration files. For example, when
including other parameter files, you have a mix of absolute paths
and package-based paths. For example, in your file
move_base_altered.launch.xml, your move_base node is loading some
parameters from:
<rosparam
file="/home/usman/research_gaz_ros/src/turtlebot_research/navigation/param/costmap_common_params.yaml"
command="load" ns="global_costmap"/>
which is an absolute path to a file I don't have and below that in
the same file:
<rosparam file="$(find
turtlebot_navigation)/param/move_base_params.yaml"
command="load"/>
which uses the proper "find package" syntax and is pointing to a
system-level parameter file from the turtlebot_navigation package.
Another place there is an absolute path is in your
mylaunch_turtlebot_0.1.launch file:
<include file="/src/launch/turtlebot.launch">
which again points to a file I don't have.
So I would begin by going through all your files and making sure
that there are no absolute paths being used anywhere. Instead, copy
those files into your package and use the "find package" syntax.
Although I could not use your launch files for the reasons above, I
was at least able to use your parameter files by using my own launch
files to load your .yaml files. Note that I had to also use the
move_base_params.yaml file from the turtlebot_navigation package
since this file turns on the DWA planner--otherwise, the parameters
in your dwa_local_planner_params.yaml file are ignored.
With your parameters loaded into move_base, I was able to see the
spinning you reported although it was more of an oscillation left
and right when the robot reached one of the goal points. I was able
to eliminate this oscillation by changing the vx_samples parameter
from 3 to 6 and by changing the vy_samples parameter from 10 to 0
(which it should be anyway for a non-holonomic robot).
Hopefully that will help you out a little. That's about all the
time I can spend on your particular setup. If you run into more
trouble, I would suggest posting to
http://answers.ros.org where
there are potentially thousands of people who have tried all sorts
of navigation setups.
Good luck!
--patrick