Jump to content
The simFlight Network Forums

stick shaker offset


Recommended Posts

Excuse me if I'm wrong, but it's the a default FS status for "Stall Warning", which activates the effects before (and during) the actually stalled state?

I'd have thought that reading that status using FSUIPC and using it to drive an actuator through an interface card would be appropriate.

Ian P.

Link to comment
Share on other sites

i think that i can use the default stall warning to trigger the stick shaker. but, in this way, how can i do it?

Ian is correct. It's the stall warning offset I use in my cockpit for the stick shakers. As to how you can make yours work, that presumably needs some sort of output digital to analogue device connection, and either a program to read the offset and drive the output device or, possibly, a Lua plug-in to do the same, assuming the output device is either serial port or USB connected.

Regards

Pete

Link to comment
Share on other sites

hi Pete

i´m using iocards and prosim

what i don´t know is what offset to use, do you have it¿

this is my script

Var 0001, Name stick_shaker, Link FSUIPC_IN, Offset $XXXX, Length X // offset del simulador que activa el shaker

{

IF &stick_shaker = 1 // Si el offset está activo (pérdida o fluttering) es decir el mando tiene que vibrar

{

&rele = 1 // Activa el relé para el vibrador

}

ELSE // Sino

{

&rele = 0 // El relé se queda desconectado

}

}

Var 0002, Name rele, Link IOCARD_OUT, Device ??, Output YY // Activa la salida YY donde está enganchado el relé

Miguel

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.