* Melchior FRANZ -- Friday 18 August 2006 17:41:
>       settimer(func {
>           print("PLOT ", getprop("/velocities/uBody-fps"), " ",
>                   getprop("/accelerations/pilot/y-accel-fps_sec"));
>       }, 0);

Err ... of course this should be a function that calls itself:

  var ubody = props.globals.getNode("/velocities/uBody-fps", 1);
  var yaccel = props.globals.getNode("/accelerations/pilot/y-accel-fps_sec", 1);
  loop = func {
      print("PLOT ", ubody.getValue(), " ", yaccel.getValue());
      settimer(loop, 0);
  }
  loop();

m.  :-)

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to