#358 rmp driver has default max_yawspeed in degrees

closed-accepted
nobody
player (137)
5
2011-07-17
2011-07-13
Jayen Ashar
No

line 279 of segwayrmp.cc should be:
this->max_yawspeed = (int) (RTOD(cf->ReadAngle(section, "max_yawspeed", DTOR(40))));

that is, according to http://playerstage.sourceforge.net/doc/Player-cvs/player/classConfigFile.html#a6943cb2b881a5730aa5ce140d33cc5b2 , "ReadAngle" takes "value", the third argument, in radians, not degrees, so the 40 should be DTOR(40).

Discussion

  • Jayen Ashar
    Jayen Ashar
    2011-07-13

    • labels: --> player
     
  • Jayen Ashar
    Jayen Ashar
    2011-07-13

    whoops, forgot to assign a category.

     
  • Rich Mattes
    Rich Mattes
    2011-07-17

    Fixed in SVN HEAD. Thanks for the report!

     
  • Rich Mattes
    Rich Mattes
    2011-07-17

    • status: open --> closed-accepted