Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

hydraulic control failures

Featured Replies

Any-one know how to emulate "STIFF" controls when a simulated hydraulic failure occurs? I am wanting to make the controls slow to react to control input, but have had no success yet. Arne posted a macro sometime back that would act as a kind of delay for gauge needles, and I was wondering if that kind of thought process could be used for the controls to slow the overall input from a joystick.Steve

Still thinking about this, and I'm leaning towards this type of thought process:Hydraulics failed?? {IF} Detect axis movement.(L:HydraulicsFail,bool) if{ (A:YOKE Y POSITION,percent) (G:Var1) - (A:YOKE Y POSITION,percent) (>G:Var1) }If axis has moved, implement some type of delay and apply it to the appropriate axis(A:YOKE Y POSITION,percent)100 / 16384 * DELAY (>K:AXIS_ELEVATOR_SET)If my thought process is correct, how would I implement a delay from the axis input to the axis set?Steve

As joystick input is hard-coded into the sim it is only possible to hijack the input when no new signal arrives from the joystick. Then you can do your AXIS_ ... stuff, but this will be overwrtitten instantly as soon as the jostick is either moved again or the potentiometer decides to send out a spike. Nevertheless I think it could actually do what you want if you code your AXIS_ events carefully.

  • Author

I think you are correct, it is probably possible. I have been able to use an event trap to completely inhibit control surface movement. When the command to move the control surface is detected, the gauge responds with the same command, using the surface's current position as the argument. The only trick is differentiating this gauge generated event from events generated by other sources - you don't want the gauge to respond to its own event commands.One could presumably do the same kind of thing to simulate sluggish control surface response - calculate the maximum deflection currently allowed, and use that value as the argument when the gauge responds to user commanded events.Doug

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.