Safdar,<br><br>You can set the initialpose through code by publishing a PoseWithCovarianceStamped message, see: <a href="http://www.ros.org/wiki/amcl#Subscribed_Topics">http://www.ros.org/wiki/amcl#Subscribed_Topics</a>.<br>
<br>When you say the robot moves 1/4 meter and then stops, can you give a bit more information. Does move_base abort? Or does it claim to succeed on its goal? Are there obstacles in rviz that prevent the base from moving the full meter? Are you using the exact code in the tutorial? Or have you made modifications? Etc.<br>
<br>Hope all is well,<br><br>Eitan<br><br><div class="gmail_quote">On Wed, Oct 13, 2010 at 7:33 AM, safdar_zaman <span dir="ltr"><<a href="mailto:safdaraslam@yahoo.com">safdaraslam@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Hi Eitan,<br>
thanks. When I sent goal (1 meter forward) via simple_navigation_goals node<br>
through code. Then Robot started rotating on its place and did not move 1<br>
meter forward. Then I again started every thing and opened rviz, Then i gave<br>
it initial pose by clicking on 2D initial pose button and clicking on the<br>
map. After this I resent goal (1 meter forward) via simple_navigation_goals<br>
node through code. This time Robot moved straight but not one meter (almost<br>
1/4 meter then stopped). So I want to know<br>
1. how to give initial pose without clicking on rviz.<br>
2. why Robot moved less than one meter.<br>
<br>
thanks and regards<br>
<font color="#888888">--<br>
View this message in context: <a href="http://ros-users.122217.n3.nabble.com/Navigation-Goal-tp1681228p1694855.html" target="_blank">http://ros-users.122217.n3.nabble.com/Navigation-Goal-tp1681228p1694855.html</a><br>
</font><div><div></div><div class="h5">Sent from the ROS-Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
</div></div></blockquote></div><br>