From: Markus R. <rol...@un...> - 2008-04-13 10:09:20
|
Hi, Ben wrote: > 2008-04-12£¬"Markus Rollmann" <rol...@un...> > > The change concerning the use of predicate lists would be nice > > however ;) > > ok, I'll work it out. > After using predicate lists, the arms' wave action of soccerbotbehavior > is abnormal, and I found that it's concerned about the precision. > In SexpParser::ListToString: ss.precision(2). So in order to make > the behavior through integration and network work the same exactly, > there maybe need some changes. We loose precision in the conversion from string to float? I think the sensor should have authority about the precision. So the rounding should occur within the Sensor classes. We already have the gRound() function in gmath.h for this purpose. > Finally, how to output the cvs commit into 'ChangeLog'? That is a feature of the Emacs editor. Load the version control hooks with m-x, vc-load-vc-hooks. Open the Changelog file. And use m-x, vc-update-change-log to transfer your changes. cheers, Markus |