Schidndler Posted April 13, 2015 Report Posted April 13, 2015 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.
Pete Dowson Posted April 20, 2015 Report Posted April 20, 2015 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
Schidndler Posted April 20, 2015 Author Report Posted April 20, 2015 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.
Pete Dowson Posted April 20, 2015 Report Posted April 20, 2015 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
spokes2112 Posted April 21, 2015 Report Posted April 21, 2015 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now