Re: [Flightgear-devel] timer help

2005-06-11 Thread Roy Vegard Ovesen
On Saturday 11 June 2005 13:44, eagle monart wrote: i am totaly lost. i ve tried different declarations of delay functions but they starts infinite loops. i tihnk nasal expalined only for xml usage but i didnt find a source to declare settimer() in a source code . I need a

Re: [Flightgear-devel] timer help

2005-06-11 Thread Roy Vegard Ovesen
On Saturday 11 June 2005 14:15, Roy Vegard Ovesen wrote: settimer(foo(...), time) where foo(...) is the function to call and time is the delay in seconds. This will call foo(...) in time seconds from when settimer() is called. Here is a function that repeats, or calls itself every 5

Re: [Flightgear-devel] timer help

2005-06-11 Thread Andy Ross
eagle monart wrote: i am totaly lost. i ve tried different declarations of delay functions but they starts infinite loops. i tihnk nasal expalined only for xml usage but i didnt find a source to declare settimer() in a source code . I need a reference... The documentation for the function is

RE: [Flightgear-devel] timer help

2005-06-11 Thread Vivian Meazza
eagle monart wrote And, as always, posting the code you are having trouble with is much more useful than simply announcing that different versions start infinite loops. :) Andy i wrote different functions here is few examples. by the way i am writing these to the larcsim c172aero

Re: [Flightgear-devel] timer help

2005-06-11 Thread Andy Ross
eagle monart wrote: i am tryng to add a delay in seconds before activation/ deactivation of cockpit functions. my aim is to declare specific drag according to time within component cycle time. i am trying to add an example decleration for that purposebut function goes

Re: [Flightgear-devel] timer help

2005-06-10 Thread Josh Babcock
eagle monart wrote: are there any references to use time delay in functions. i am trying to delay speedbrake for 1.5 scnds everytime activated or deactivated in larcsim . i tried to use sleep() functions in msvc71 but makes the whole sim sleep:) i am looking for example time delays