Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.
By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.




After giving up and then trying again, I've found another method for FBW. It's the same one that the Aeroproyecto Sukhoi SSJ100 uses, but I modified it a bit for eliminating pitch oscillation. Aeroproyecto used ELEV_TRIM_DN and ELEV_TRIM_UP directly, while I added a proportional term for smoothing these changes (via ELEVATOR_TRIM_SET).
<Update Hidden="Yes">
256 (>L:Kpp, number)
(A:Sim On Ground,bool) ! (A:Autopilot master, bool) ! and (L:FBW_Off,bool) ! and if{
(A:Elevator position, percent) abs 10 > if{
(A:Attitude indicator pitch degrees, degrees) (>L:Pitch_Target,enum) }
els{
(L:Pitch_Target,enum) (A:Attitude indicator pitch degrees, degrees) - (>L:Pitch_ref1,enum)
(L:Pitch_ref2,enum) (L:Pitch_ref1,enum) - (>L:Pitch_delta, degrees)
(L:Pitch_delta, degrees) (L:Kpp, number) * (>L:pitch_output, number)
(L:pitch_output, number) -256 max (>L:pitch_output, number)
(L:pitch_output, number) 256 min (>L:pitch_output, number)
(A:Attitude indicator bank degrees,degrees) abs 35 < if{
(A:ELEVATOR TRIM PCT, enum) 16384 * (L:pitch_output, number) + (>L:pitch_output, number)
(L:pitch_output, number) 16384 min (>L:pitch_output, number)
(L:pitch_output, number) -16384 max (>L:pitch_output, number)
(L:pitch_output, number) (>K:ELEVATOR_TRIM_SET) } }
(L:Pitch_Target,enum) (A:Attitude indicator pitch degrees, degrees) - (>L:Pitch_ref2,enum)
(A:Incidence Alpha, degrees) abs 12 > if{
(A:Elevator Trim Pct,percent) 0 > if{ (>K:ELEV_TRIM_DN) } els{ (>K:ELEV_TRIM_UP) } } }
</Update>

Translation - for above I think Ive got it right...Este código nuevo se copia y pega en el gauge anterior?, o reemplaza alguna parte del código?


Raúl, te respondo en inglés (es el idioma de este foro): since I wanted to add fly-by-wire to the CLS A330, I created a new gauge, copied the code from the Aeroproyecto Sukhoi, and then modified it. If you want to do something similar, just create a new gauge with this code I posted (including theEste código nuevo se copia y pega en el gauge anterior?, o reemplaza alguna parte del código?
<Gauge></Gauge> headers and ending). Then, in the VCockpit01 section of panel.cfg, add a call to this gauge.... no matter if there's no virtual cockpit.


