Menu

#505 Enhancement to fiducial finder so it can detect short robots

Unstable
closed-accepted
Stage (103)
5
2010-03-09
2009-10-27
Tyler Gunn
No

Apply to v8327.
Adds a new flag to the fiducial finder, ignore_fiducial_zloc.
By default this is turned off and the fiducial finder works as it always has.
The default behaviour of the fiducial finder results in a short robot being undetectable by the fiducial finder on a taller robot. This is because the ray traced out from the taller robot passes over top of the shorter robot.
With the ignore_fiducial_zloc option set to 1, a taller robot will now detect a shorter robot. This is accomplished by adjusting the code so that a hit is detected even if the fiducial is lower than the finder's ray.
I've also included a sample world file; the patch has the info in it, but it didn't seem to apply for me. I've attached it as well.

Discussion

  • Tyler Gunn

    Tyler Gunn - 2009-10-27

    Apply to 8327,

     
  • Tyler Gunn

    Tyler Gunn - 2009-10-27

    Example world file, should the patch not create it.

     
  • Richard Vaughan

    Richard Vaughan - 2010-03-09

    The changes have been made in SVN trunk.
    Thank you for your contribution.

     
  • Richard Vaughan

    Richard Vaughan - 2010-03-09
    • status: open --> closed-accepted
     
  • Richard Vaughan

    Richard Vaughan - 2010-03-09

    added this functionality in rev 8564, using raytrace()'s zloc-ignoring flag. changed the keyword to ignore_zloc for brevity. Thanks for the good idea.

     

Log in to post a comment.