Jump to content
The simFlight Network Forums

Erikk

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by Erikk

  1. Oke, thank you both for your help. I am making it in VB.net.  BUt what do you mean with ApplicationObjects?  And for Previous lat and lon I have add this

     

    Dim PreviousLat As FsLatitude = New FsLatitude(Latitude.Value)

    Dim PreviousLon As FsLongitude = New FsLongitude(Longitude.Value)

    And should I make another dim.... for the CurrentLat and lon with the same value of lat and lon?

  2. Hi,

     

    Mm okay thank you. I took a look at the manual and the distance between you and EGLL. That's works for me. But what I want is the position from that you start FS. So in the DIM where you write down the coordinates from egll. It should be the coordinates of your starting location. But I have no idea how to get that. 

  3. Okay second topic, my first one goes crazy?

     

    But back to work.

     

    I am trying to make a simple program to see your landing rate. I am working in VB.net. I have now the following code:

     

     

    Dim vertspeed As Offset(Of Integer) = New Offset(Of Integer)(&H2C8)

    Dim landing As Offset(Of Short) = New Offset(Of Short)(&H366)

     

    And
     

    Dim vspeed As Double = vertspeed.Value * 60 * 3.28084 / 256
    Dim land01 As Double = landing.Value
     
    And
     

     

    Me.txtvspeed.Text = vspeed.ToString()

                    Me.txtlanding.Text = land01.ToString()
     
     
                    If landing.Value = 1 Then
     
                        txtlandinrate.Text = vertspeed.Value * 60 * 3.28084 / 256

     

    Okay, how it now works:

     

    When you are on the ground so landing.value is 1. I can see the vs from that moment in a textbox. But de VS changes a lot and the 1 means you are on the ground, not at touchdown. So what is the best way to make this?

     

    Erik

     

×
×
  • 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.