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.

Moving the airplane with Simconnect

Featured Replies

  • Commercial Member

Anyone know, using Simconnect, how to move the user's airplane around (ie., pushback).

 

I want to improve FS2Crew's pushback utility which relies on the stock FSX pushback mechanism.

 

 

(Not trying to re-invent AES or GSX... just want to make my pushback better for my users)

 

 

  • Commercial Member

There are a couple of ways.

 

You could write in new coords or send data to the VELOCITY BODY Z variable (the easiest way). Sending data to the heading variable would also allow you to turn the aircraft. 

 

The set data example in the SDK would be a good place to start. That and the set throttle sample.

 

You would add some definitions for the velocity vars (here is an example for the Y and Z body velocity)

 

hr = SimConnect_AddToDataDefinition(hSimConnect, DEFINITION_VELOCITY,"VELOCITY BODY Y", "Feet per second");

hr = SimConnect_AddToDataDefinition(hSimConnect, DEFINITION_ACCEL,"VELOCITY BODY Z", "Feet per second");

 

And then when needed you could setdataonsimobject to set the velocity with code like this:

 

bc.velocityy = -30.0f;

hr = SimConnect_SetDataOnSimObject(hSimConnect, DEFINITION_VELOCITY, request[weapon][1], 0, 0,

 

sizeof(bc), &bc);

 

 

www.antsairplanes.com

  • 4 months later...

Do you have the example for doing the pushback? I am needing such functionality as well.

E.G.
Freelance IT Consultant

www.PanamaVibes.com | www.lordofwingsPTY.com | www.coralys.com

@aviationweb

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.