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.

Distance and radial fix

Featured Replies

Hi All Can anyone help me with the conversion of this formula to RPN or a more basic description so I can translate it. Also how would the lat and lon values be shown for use inFS9.lat=asin(sin(lat1)*cos(d)+cos(lat1)*sin(d)*cos(tc)) IF (cos(lat)=0) lon=lon1 // endpoint a pole ELSE lon=mod(lon1-asin(sin(tc)*sin(d)/cos(lat))+pi,2*pi)-pi ENDIF

Paul EGLD

Did you try using the GPS to figure this out? Sorry cannot help with the conversion.EX.Current Aircraft Lat --> GeoCalcLatitude1Current Aircraft Lon --> GeoCalcLongitude1Requested Radial --> GeoCalcAzimuth2Requested Distance --> GeoCalcLengthFor the output 1 of the 2 sets may work -Set #1GeoCalcIntersectionLatitudeGeoCalcIntersectionLatitudeSet#2GeoCalcExtrapolationLatitudeGeoCalcExtrapolationLongitudeAccording to the MSDN ESP library the inputs are all writable. Did not try at all, did want to eventually, it was an idea I've had for a while for a project... So if it works for you can you let me know?Hope this may help,Roman

20AUG21_Avsim_Sig.png?dl=1  FS RTWR   SHRS F-111   JoinFS   Little Navmap 
 

 

  • Author

Thanks for the tips but I don't think I can do this with the Fs GPS stuff. The formula seems to do it all with only 4 inputs. Lat & Long , Radial degree & distance. I am trying to code a KNS 80 with the Psudo VOR placement, This formula could give the position from another VOR. Roman I will keep you informed of progress.

Paul EGLD

Paul, The KNS80b, yeah that is the same model i am hoping to do sometime. My idea was to use the GPS for it all. This is just a preliminary theory & no part has been tested other than the VOR search & GeoCalc from previous projects.Use the GPS to find the VOR by frequency using Nearest VOR Data looping to find proper VOR by matching freq/VOR type(s) Select the NearestVorCurrentLine by matching frq. then- Selected NearestVorCurrentLatitude--> GeoCalcLatitude1Selected NearestVorCurrentLongitude --> GeoCalcLongitude1Requested Radial --> GeoCalcAzimuth2Requested Distance --> GeoCalcLengthFor the output 1 of the 2 sets may work - (most likely #1)Set #1GeoCalcIntersectionLatitudeGeoCalcIntersectionLatitudeSet#2GeoCalcExtrapolationLatitudeGeoCalcExtrapolationLongitudeThen send output GeoCalc LAT/LON to GPS flightplan using the proper index and FlightPlanNewWaypointLatitude/FlightPlanNewWaypointLongitudeGPS drives NAV1 will then take care of the AP/ deviation display / other stuff.I am using http://msdn.microsoft.com/en-us/library/cc526954.aspx to see what can be written, what is available etc..Since this is a MS SDK, mileage may vary.. :(BTW do you have the KNS80 manual? PM me if you need it.Good luck - definitely a brain bruising project, have fun! Roman

20AUG21_Avsim_Sig.png?dl=1  FS RTWR   SHRS F-111   JoinFS   Little Navmap 
 

 

Paul, The KNS80b, yeah that is the same model i am hoping to do sometime. My idea was to use the GPS for it all. This is just a preliminary theory & no part has been tested other than the VOR search & GeoCalc from previous projects.Use the GPS to find the VOR by frequency using Nearest VOR Data looping to find proper VOR by matching freq/VOR type(s) Select the NearestVorCurrentLine by matching frq. then- Selected NearestVorCurrentLatitude--> GeoCalcLatitude1Selected NearestVorCurrentLongitude --> GeoCalcLongitude1Requested Radial --> GeoCalcAzimuth2Requested Distance --> GeoCalcLengthFor the output 1 of the 2 sets may work - (most likely #1)Set #1GeoCalcIntersectionLatitudeGeoCalcIntersectionLatitudeSet#2GeoCalcExtrapolationLatitudeGeoCalcExtrapolationLongitudeThen send output GeoCalc LAT/LON to GPS flightplan using the proper index and FlightPlanNewWaypointLatitude/FlightPlanNewWaypointLongitudeGPS drives NAV1 will then take care of the AP/ deviation display / other stuff.I am using http://msdn.microsoft.com/en-us/library/cc526954.aspx to see what can be written, what is available etc..Since this is a MS SDK, mileage may vary.. :(BTW do you have the KNS80 manual? PM me if you need it.Good luck - definitely a brain bruising project, have fun! Roman
Maybe using the civa INS you can solve your problem.Gianfranco

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.