On Monday 02 April 2007 16:17:31 Nick Warne wrote: > Hi John, > > On Monday 02 April 2007 15:31:43 John Denker wrote: > > So my suggestion is to figure out the /real/ throttle behavior > > of interest, and model that. If floating-point is even the > > slightest obstacle to building a realistic model, please explain. > > I wasn't complaining here, just raising this issue. > > By my reckoning, if a throttle is OFF, then it is OFF, and not 0.000015 ON. > > Sure, use a floating point, but does it really have to be that accurate > that a very slightly out-of-calibration JS by 1 point out of 65535 makes it > wrong? > > Surely 0.001 is reasonable enough step? > > BTW, this was only an observation working with Vivian today - it isn't my > aircraft to make the changes to.
OK, to put this to bed, Vivian has fixed up the code so that a 'less than' condition is used rather than an exact figure. Nick ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel