<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Eitan,<br>
    <br>
    I send you a complete package including gazebo simulation for our
    diff drive F5 platform some time ago. You remember? I had similar
    problems ending up for me kicking out the local planner completely.<br>
    <br>
    Regards<br>
    Christian<br>
    <br>
    Am 18.11.2010 18:54, schrieb Eitan Marder-Eppstein:
    <blockquote
      cite="mid:AANLkTimBX4OHAvUhZumbff9LMsA33ZoP7TRFyyvNHULA@mail.gmail.com"
      type="cite">Hey guys,
      <div><br>
      </div>
      <div>So, to join in the discussion. From the video, it looks like
        the base_local_planner gets stuck in a local minimum with the
        parameters configured as they are. Is there any way that you can
        post the package used to create that video so that I can play
        around a little bit? I've wanted to have a case in simulation
        where a diff drive robot behaves badly and it seems like this is
        a simple one that could help me track down some issues the
        navigation stack has with diff drive robots. With that said, its
        true that no one local planner is going to fit all robots. </div>
      <div><br>
      </div>
      <div>We've started development of some other local planners in the
        navigation_experimental stack that might also be worth checking
        out. One is called dwa_local_planner and is a much cleaner
        version of the base_local_planner that includes things like
        scaling the robot's footprint based on speed, allowing for
        holonomic robots to explore more of the y velocity space, and
        exposing parameters via dynamic reconfigure to make tuning them
        a lot easier... we're testing it on the PR2 right now, not sure
        how it'll work on a diff-drive robot. There's also the
        pose_follower which attempts to follow a plan exactly, stopping
        in the presence of obstacles. This also hasn't been tested on
        diff-drive robots and I'd expect it could use a few tweaks to
        really work well, but it might be something to look at. One
        thing to keep in mind with all this, however, is that the
        packages in navigation_experimental are, well, experimental, so
        you're likely to run into some issues from time to time, there
        are no guarantees about API stability yet, and documentation
        isn't great.</div>
      <div><br>
      </div>
      <div>Hope all is well and please do post the simulation package as
        I'd love to take a look at things,</div>
      <div><br>
      </div>
      <div>Eitan<br>
        <br>
        <div class="gmail_quote">2010/11/18 Gonçalo Cabrita <span
            dir="ltr"><<a moz-do-not-send="true"
              href="mailto:goncabrita@gmail.com">goncabrita@gmail.com</a>></span><br>
          <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
            0.8ex; border-left: 1px solid rgb(204, 204, 204);
            padding-left: 1ex;">We've been a bit busy porting everything
            that moves around here to ROS! We'll update our repository
            in the next week with everything we've got!
            <div>
              <br>
            </div>
            <div>I'm attaching the param files we use for the roombas.</div>
            <div><br>
            </div>
            <div>I'm surprised the creates don't have decent odometry
              since they were design for research. We have considered
              using cheap webcams with visual odometry to replace the
              roomba's odometry, but I haven't had time to look into it.
              If my memory serves me when we opened a roomba we found a
              hall sensor with 4 magnets tied to the motor shaft. So I'm
              guessing direction is determined by the motor speed. And
              that why when you push the roomba the
              odometry doesn't count back!</div>
            <div><br>
            </div>
            <div>I'm really interested in solving this matter. If the
              problem really is from the nav stack we're in big trouble
              since everything here is diff drive! We have roombas,
              erratics and scouts!</div>
            <div class="im">
              <div>
                <br>
              </div>
              <div>Gonçalo Cabrita</div>
              <div>ISR - University of Coimbra</div>
            </div>
            <div>Portugal
              <div>
                <div class="h5"><br>
                  <br>
                  <div class="gmail_quote">On Thu, Nov 18, 2010 at 3:45
                    PM, Steven Martin <span dir="ltr"><<a
                        moz-do-not-send="true"
                        href="mailto:s34.martin@connect.qut.edu.au"
                        target="_blank">s34.martin@connect.qut.edu.au</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;">
                      <div>
                        <div style="direction: ltr; font-family: Tahoma;
                          color: rgb(0, 0, 0); font-size: 13px;">
                          <div>Yeh I think my problem is related to
                            odometry, the iCreates don't have any
                            encoders. I thought they did but after
                            looking closer at the driver I am pretty
                            sure its just openloop. Do you have the
                            parameters for amcl in your repository? I
                            had a look but couldn't see them anywhere.<br>
                            <br>
                            I have the code for the pursuit path
                            follower checked in @ <a
                              moz-do-not-send="true"
                              href="http://launchpad.net/cmr"
                              target="_blank">launchpad.net/cmr</a> but
                            its very incomplete. It will compile, you
                            can launch it and it will try and follow a
                            path but it doesn't have any obstacle
                            avoidance and I think I have one of my signs
                            wrong in the code as it  didn't appear to do
                            much following  from the very limited
                            testing I have done.
                            <br>
                            <br>
                            Have a look, its basically as stripped down
                            as I could make a local path planner while
                            still fitting in the ROS framework. Also due
                            to the pretty well useless iCreate odometry
                            I chose to implement this in the global
                            frame and this may have some adverse affects
                            if you are only running localiser @ 3Hz. <br>
                            <br>
                            I will probably have time to look at this
                            next week but I think this is a problem for
                            anybody using nonholonomic robots with the
                            Nav Stack so I would be surprised if someone
                            else hasn't already got a better solution.
                            <br>
                            <br>
                            Steve<br>
                            <br>
                          </div>
                          <div style="font-family: Times New Roman;
                            color: rgb(0, 0, 0); font-size: 16px;">
                            <hr>
                            <div style="direction: ltr;"><font
                                color="#000000" face="Tahoma" size="2">
                                <div><b>From:</b> <a
                                    moz-do-not-send="true"
                                    href="mailto:ros-users-bounces@code.ros.org"
                                    target="_blank">ros-users-bounces@code.ros.org</a>
                                  [<a moz-do-not-send="true"
                                    href="mailto:ros-users-bounces@code.ros.org"
                                    target="_blank">ros-users-bounces@code.ros.org</a>]
                                  on behalf of Gonçalo Cabrita [<a
                                    moz-do-not-send="true"
                                    href="mailto:goncabrita@gmail.com"
                                    target="_blank">goncabrita@gmail.com</a>]<br>
                                </div>
                                <b>Sent:</b> Friday, 19 November 2010
                                12:52 AM<br>
                                <b>To:</b> User discussions<br>
                                <b>Subject:</b> Re: [ros-users]
                                Navigation Stack on tight places<br>
                              </font><br>
                            </div>
                            <div>
                              <div>
                                <div>Hi Steven!
                                  <div><br>
                                  </div>
                                  <div>"<span style="font-family:
                                      Tahoma; font-size: 13px;">ts not a
                                      failure case but do you also see
                                      the one where it turns a little
                                      bit away from the path then does
                                      loop around to rejoin it.?"</span></div>
                                  <div><font face="Tahoma"><br>
                                    </font></div>
                                  <div><font face="Tahoma">You we also
                                      get that a lot! The robot never
                                      sticks to the path the planner
                                      outputs, it wonders around a lot.</font></div>
                                  <div><font face="Tahoma"><br>
                                    </font></div>
                                  <div><font face="Tahoma">We are using
                                      Roombas 560 with Eee PCs and
                                      Hokuyo lasers. We launch the
                                      Roomba the laser and the tf
                                      broadcaster on one file and map
                                      server, amcl and move base on
                                      another one. We have the map
                                      updaters running at 3Hz and the
                                      path planner at 5Hz. Still
                                      sometimes the EeePC skips a loop!
                                      Furthermore, I dunno how the
                                      Create is but our Roombas have
                                      nasty odometry! The encoders have
                                      only 1 channel with 4 pulses per
                                      motor turn!</font></div>
                                  <div><font face="Tahoma"><br>
                                    </font></div>
                                  <div><font face="Tahoma">Anyways, I'm
                                      not familiar with the nav stack
                                      code, but I would like to help if
                                      possible!</font></div>
                                  <div><font face="Tahoma"><br>
                                    </font></div>
                                  <div><font face="Tahoma">Gonçalo
                                      Cabrita</font></div>
                                  <div><font face="Tahoma">ISR -
                                      University of Coimbra</font></div>
                                  <div><font face="Tahoma">Portugal</font></div>
                                  <div><br>
                                    <div class="gmail_quote">On Thu, Nov
                                      18, 2010 at 2:35 PM, Steven Martin
                                      <span dir="ltr">
                                        <<a moz-do-not-send="true"
                                          href="mailto:s34.martin@connect.qut.edu.au"
                                          target="_blank">s34.martin@connect.qut.edu.au</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;">
                                        <div>
                                          <div style="direction: ltr;
                                            font-family: Tahoma; color:
                                            rgb(0, 0, 0); font-size:
                                            13px;">
                                            <div>Yep see that one all
                                              the time. I think the
                                              implementation of DWA is
                                              flawed for tank steer
                                              robots. 
                                              <br>
                                              <br>
                                              Its not a failure case but
                                              do you also see the one
                                              where it turns a little
                                              bit away from the path
                                              then does loop around to
                                              rejoin it.?<br>
                                              <br>
                                              I started implementing
                                              just pure pursuit path
                                              follower to replace DWA
                                              but haven't quite got it
                                              working and been too busy
                                              with other stuff. I think
                                              we need to implement some
                                              other local planners or
                                              just path followers.
                                              <br>
                                              <br>
                                              Also what are you using
                                              for the localization? I
                                              haven't been able to get
                                              AMCL to work reliably on
                                              the iCreates.
                                              <br>
                                            </div>
                                            <div style="font-family:
                                              Times New Roman; color:
                                              rgb(0, 0, 0); font-size:
                                              16px;">
                                              <hr>
                                              <div style="direction:
                                                ltr;"><font
                                                  color="#000000"
                                                  face="Tahoma" size="2"><b>From:</b>
                                                  <a
                                                    moz-do-not-send="true"
href="mailto:ros-users-bounces@code.ros.org" target="_blank">ros-users-bounces@code.ros.org</a>
                                                  [<a
                                                    moz-do-not-send="true"
href="mailto:ros-users-bounces@code.ros.org" target="_blank">ros-users-bounces@code.ros.org</a>]
                                                  on behalf of Gonçalo
                                                  Cabrita [<a
                                                    moz-do-not-send="true"
href="mailto:goncabrita@gmail.com" target="_blank">goncabrita@gmail.com</a>]<br>
                                                  <b>Sent:</b> Thursday,
                                                  18 November 2010 11:51
                                                  PM<br>
                                                  <b>To:</b> <a
                                                    moz-do-not-send="true"
href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br>
                                                  <b>Subject:</b>
                                                  [ros-users] Navigation
                                                  Stack on tight places<br>
                                                </font><br>
                                              </div>
                                              <div>
                                                <div>
                                                  <div>Hi everyone!
                                                    <div><br>
                                                    </div>
                                                    <div>We've been
                                                      using the nav
                                                      stack on our
                                                      Roombas for quite
                                                      a while now,
                                                      mostly on the
                                                      corridors of ISR
                                                      without any
                                                      problems.</div>
                                                    <div><br>
                                                    </div>
                                                    <div>However we have
                                                      a small 4mx3m
                                                      arena we built
                                                      specifically for
                                                      testing odor
                                                      search algorithms
                                                      in which we
                                                      recently started
                                                      to run some
                                                      experiments. We
                                                      quickly found out
                                                      that the nav stack
                                                      has some problems
                                                      moving the robot
                                                      around in tight
                                                      places. Quite
                                                      often we get
                                                      the behavior that
                                                      can be seen in the
                                                      following video...</div>
                                                    <div><br>
                                                    </div>
                                                    <div><a
                                                        moz-do-not-send="true"
href="http://www.youtube.com/watch?v=vy9xoNvmktg" target="_blank">http://www.youtube.com/watch?v=vy9xoNvmktg</a></div>
                                                    <div><br>
                                                    </div>
                                                    <div>In the video we
                                                      are running a
                                                      Roomba inside our
                                                      arena in Stage
                                                      with perfect
                                                      odometry. The
                                                      robot stalls
                                                      against a wall and
                                                      stays there for
                                                      30mins until we
                                                      stop it.
                                                      On occasion the
                                                      robot eventually gets
                                                      out after a while.</div>
                                                    <div><br>
                                                    </div>
                                                    <div>At first I
                                                      thought this could
                                                      be happening
                                                      because of the
                                                      poor performance
                                                      of the EeePCs the
                                                      Roombas carry
                                                      around or because
                                                      of the
                                                      Roomba's crappy odometry,
                                                      but in Stage on a
                                                      Core2Duo laptop we
                                                      were able to see
                                                      the same behavior.</div>
                                                    <div><br>
                                                    </div>
                                                    <div>Has anyone
                                                      experienced
                                                      this behavior before?</div>
                                                  </div>
                                                </div>
                                              </div>
                                            </div>
                                          </div>
                                        </div>
                                        <br>
_______________________________________________<br>
                                        ros-users mailing list<br>
                                        <a moz-do-not-send="true"
                                          href="mailto:ros-users@code.ros.org"
                                          target="_blank">ros-users@code.ros.org</a><br>
                                        <a moz-do-not-send="true"
                                          href="https://code.ros.org/mailman/listinfo/ros-users"
                                          target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
                                        <br>
                                      </blockquote>
                                    </div>
                                    <br>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                      <br>
                      _______________________________________________<br>
                      ros-users mailing list<br>
                      <a moz-do-not-send="true"
                        href="mailto:ros-users@code.ros.org"
                        target="_blank">ros-users@code.ros.org</a><br>
                      <a moz-do-not-send="true"
                        href="https://code.ros.org/mailman/listinfo/ros-users"
                        target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
                      <br>
                    </blockquote>
                  </div>
                  <br>
                </div>
              </div>
            </div>
            <br>
            _______________________________________________<br>
            ros-users mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
            <a moz-do-not-send="true"
              href="https://code.ros.org/mailman/listinfo/ros-users"
              target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
ros-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a>
<a class="moz-txt-link-freetext" href="https://code.ros.org/mailman/listinfo/ros-users">https://code.ros.org/mailman/listinfo/ros-users</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
___________________________________________
REC GmbH
Dr. Christian Verbeek
Robert-Koch-Str. 2, 82152 Planegg

Tel:    +49 89 85689672
Fax:    +49 89 85902327
Mobile: +49 160 7056589
e-mail: <a class="moz-txt-link-abbreviated" href="mailto:verbeek@servicerobotics.eu">verbeek@servicerobotics.eu</a>

Geschäftsführer: Dr. Christian Verbeek
Registergericht: AG München (HRB 154463)
____________________________________________ 

</pre>
  </body>
</html>