On Sunday 11 February 2007 00:29, gh.robin wrote:
> I have settled Heading Bug =180
> autopilot does not work (crazy)
>
> I get  messages
> here an extract
>
> ..................................
> Updating Heading Bug Hold (DG based) Stage 2 Ts 0.0166667
>   input = -0.128936 ref = 0
>   ep_n = 0.128936  ep_n_1 = 0.129309 e_n = 0.128936 ed_n = 0.128936 Tf =
> 1e-06 edf_n = 0.128936 delta_u_n = -1.58609e-05
> P:-3.73499e-05 I:2.14893e-05 D:-2.32856e-10
>   output = 0.000653603
> Updating Heading Bug Hold (DG based) Stage 2 Ts 0.0166667
>   input = -0.12854 ref = 0
>   ep_n = 0.12854  ep_n_1 = 0.128936 e_n = 0.12854 ed_n = 0.12854 Tf = 1e-06
> edf_n = 0.12854 delta_u_n = -1.81036e-05
> P:-3.95257e-05 I:2.14234e-05 D:-1.30541e-09
>   output = 0.000635499
> ..............................................

The autopilot is holding the wings level, right. I think characterizing this 
as "crazy" is very misleading. One might think that it was turning left and 
right.

> And after reloading autopilot
> autopilot works
>
> I get messages
> Here an extract
> ..................................
>
> Updating Heading Bug Hold (DG based) Stage 1 Ts 0.0166667
>   input = -86.2699 ref = 0
>   ep_n = 86.2699  ep_n_1 = 86.3099 e_n = 86.2699 ed_n = 86.2699 Tf = 1e-06
> edf_n = 86.2699 delta_u_n = -0.103803
> P:0.0399801 I:-0.143783 D:1.29082e-08
>  min saturation
>   output = -20
> Updating Heading Bug Hold (DG based) Stage 2 Ts 0.0166667
>   input = -17.7823 ref = -20
>   ep_n = -2.21771  ep_n_1 = -2.22147 e_n = -2.21771 ed_n = 17.7823 Tf =
> 1e-06 edf_n = 17.7823 delta_u_n = 6.21317e-06
> P:0.000375831 I:-0.000369619 D:9.22063e-10
>   output = -0.00492783
>  .......................................................
>
>
> I can notice  with the first example (before reload) only stage2 gives
> messages
>
> With second example (after reload) with autopilot working i do have both
> stage1 and stage2

It looks like the stage 1 controller fails to initialize at startup. Is this 
consistent, or are you, like Lee was, seeing some randomness in what 
controllers aren't working before autopilot reload?

> > If you are getting crazy inputs and outputs, you should run fgfs in a
> > debugger like ddd and step through the FGPIDController::update() method
> > in source/src/Autopilot/xmlauto.cxx to see what is going on.
>
> Because i am not developer ,  i will not be able to do it

Sure you can! ;-)


-- 
Roy Vegard Ovesen

-------------------------------------------------------------------------
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