Jump to content
The simFlight Network Forums

Recommended Posts

Posted
Hello,

 

I have been working on Arduino controlled flight instruments for simulator, working throught C# application with FSUIPC. Code for VOR1 (left side), VOR1 (right side), VOR2 (left side) and VOR2 (right side) has been almost finished but I have one question which I haven't solved. If VOR/GPS switch is in GPS position, VOR1 instruments shows data from GPS. Its sensitivity in standard (enroute) mode should be 5NM at full scale and during approach and terminal operations have a higher sensitivity 0.3 NM at full scale. I have tried some offsets which should determinate if GPS is at enroute mode, approach mode etc.

 

Can anybody help me and tell me how can I get from offsets that GPS is in enroute or approach/terminal ops. mode?

 

Thanks,

Bedrich.

Posted

Any idea?

 

I haven't, sorry. I know nothing at all about the GPS. There are some GPS values mapped to offsets, but I don't know exactly what use they'd be.  The stuff available includes:

 

132C GPS is driving NAV1 indications

6004 anumber of flags about GPS modes

 

 

60FC to 6170 a load of stuff, mostly about approaches

 

Aren't  any of those useful at all?

 

Pete

Posted

Pete, thank you for response. I actually use 0x6004 (GPS signal) and 0x6058 (GPS Needle - distance from track). We have tried several offsets (I don't know now which of them we have tried, I have got somewhere on the paper), but offsets, which should return type of GPS signal have been returning wrong values. I will try it. Thanks a lot.

Posted

Pete, thank you for response. I actually use 0x6004 (GPS signal) and 0x6058 (GPS Needle - distance from track). We have tried several offsets (I don't know now which of them we have tried, I have got somewhere on the paper), but offsets, which should return type of GPS signal have been returning wrong values. I will try it. Thanks a lot.

 

The offsets are populated from SimConnect variables. I've never looked at them myself  -- FSUIPC simply gets them sent to it by SimConnect when they change.

 

Pete

Posted

Bedrich,

 

 Maybe try this - 

 

In XML --

(FlightPlanWaypointApproachMode, enum) -or- (FlightPlanApproachMode, enum) (spelling differences between guidebook and SDK)
"GPS_APPR_TYPE"
NONE = 0,      <---- According to The GPS Guide Book this is enroute (pg. 160 / pg.172 pdf 8.5x11)
TRANSITION = 1,
FINAL = 2,
MISSED = 3 
 
And in the FSUIPC4 offsets status it is listed as 0x6160 as read only with a note of  ?-SimC Mapped to SimConnect variables, but validity unknown. Needs checking and feedback please
 
Hope this helps,
 
Roman 

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.