From: Ye Xu <xy0...@gm...> - 2013-04-26 02:10:45
|
Thanks Kristof, that is true, I will go over source code to find out why some time with ABS it needs longer time for a complete stop. best regards, Ye On Thu, Apr 25, 2013 at 4:37 AM, Kristóf Kály-Kullai <ka...@gm...>wrote: > Hello, > > as the physicist here I can answer some of your questions. Well, slip > - mu function is implemented, it is in > > http://sourceforge.net/apps/trac/speed-dreams/browser/trunk/src/modules/simu/simuv4/wheel.cpp#L244 > see the lines above how the variables are calculated. Load sensitivity > is also implemented, right after this line. > > > P.S. I have another quick question, I noticed different road > > conditions and weather > > conditions would have different breaking effects and stop distances. How > > did you implement this feature without the road surface frictions? > > In the same file, in L249, when the force is calculated, mu is > multiplied by a surface friction factor, which depends on the type of > surface, and is decreased when raining. > > As for the ABS, the one implemented in human.cpp models a skilled > driver, that is it acts on the brake pedal to avoid locking. Whereas > real ABS can act on a single wheel as well. Wolf-Dieter started to > implement such a single-wheel braking, the interface is already > present (see brake.cpp L71-L74), not sure how far he reached to useit > in his Simplix robot. So if you want to play with different ABS > implementations, you can use this interface, too. > > Cheers, > Kristof > > > ------------------------------------------------------------------------------ > Try New Relic Now & We'll Send You this Cool Shirt > New Relic is the only SaaS-based application performance monitoring service > that delivers powerful full stack analytics. Optimize and monitor your > browser, app, & servers with just a few lines of code. Try New Relic > and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr > _______________________________________________ > Speed-dreams-devel mailing list > Spe...@li... > https://lists.sourceforge.net/lists/listinfo/speed-dreams-devel > -- Best Regards, Ares Hsu |