David Megginson wrote:

> Andy Ross writes:
>
>  > I believe, although I am not authortative on this, that the "dt"
>  > parameter specifies an integer number of iterations...
>
> That confusion is my fault.  For the FDMs use a multiloop with the
> number of iterations to run; the general subsystems use a dt for
> elapsed time in milliseconds.  This needs some architectural repair
> and documentation.

So, is dt recording elapse time or set to the current step time? If a sharp
programmer like Andy is getting confused about what dt really is, then
perhaps the variable should be called "ms_elapsed" or "t_stepsize", etc.?

I'm a big fan of more descriptive variables for just these reasons. It does
mean "suffering" the penalty of having to type longer symbol names, but makes
for better code the first time around.

Regards,

Charlie H.



_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to