#363 bug in snd driver

closed-fixed
player (137)
5
2012-01-01
2011-11-25
No

In snd.cc, the following assignments

goal\_position\_tol = cf->ReadTupleLength\(section, "goal\_tol", 0, robot\_radius/2\);
goal\_angle\_tol = cf->ReadTupleLength\(section, "goal\_tol", 1, DTOR\(30.0\)\);

should be

goal\_position\_tol = cf->ReadTupleLength\(section, "goal\_position\_tol", 0, robot\_radius/2\);
goal\_angle\_tol = cf->ReadTupleLength\(section, "goal\_angle\_tol", 0, DTOR\(30.0\)\);

otherwise goal_position_tol and goal_angle_tol cannot be set in the configuration file.

Discussion

  • Rich Mattes

    Rich Mattes - 2012-01-01

    I've fixed this in SVN head. Note that the lengths and angles now conform to the Config File's length and angle parsing features. Lengths and Angles are read in as meters and degrees by default, and converted to meters and radians for internal use. More info can be found at http://playerstage.sourceforge.net/wiki/Writing_configuration_files#Units

     
  • Rich Mattes

    Rich Mattes - 2012-01-01
    • status: open --> closed-fixed
     

Log in to post a comment.