dboll Posted July 7, 2004 Report Posted July 7, 2004 Does the AI Traffic Data (for TCAS apps, etc.) from offsets 0xD000-0xFFFF include data for the aircraft being flown in the simulation? I see that it contains data for vicinity traffic, but I don't see the actual plane I'm flying in the data. Do the tables have an entry for the current aircraft, or is there some other way to obtain this data (specifically bState) from FSUIPC? Thanks.
Pete Dowson Posted July 7, 2004 Report Posted July 7, 2004 Does the AI Traffic Data (for TCAS apps, etc.) from offsets 0xD000-0xFFFF include data for the aircraft being flown in the simulation? No. The plane you are flying is the subject of most of the rest of the data available from FSUIPC. And if it were to be added tothe TCAS tables it would have to be specifically eliminated by TCAS applications because you don't show your own plane in that way. some other way to obtain this data (specifically bState) from FSUIPC? As I say, most of the rest of the data in the FSUIPC interface is concerned with the aircraft you are flying. but there is no "bstate". That relates to the stage in the AI simulation of traffic. The aircraft you are flying is not subject to artificial intelligence, but your own, real intelligence. You don't have to go through stages, and you know when you are taxiing, taking off, and so on. Don't you? :o Regards, Pete
dboll Posted July 7, 2004 Author Report Posted July 7, 2004 You're right, I would know what I'm doing in the plane, but we're trying to programmatically determine the state of the current flight to adjust visual displays to the state of the flight (taxi, etc.). Anyway, thanks for your prompt answer. P.S. - I saw mention of your cataract surgery. Good luck to you. I too had both eyes done, in 2001 (also two months apart). I've had fantastic results. Of course there are the inevitable optical artifacts to get used to (e.g. halos, glints, etc., which I don't even notice anymore). I was fortunate enough to get what they called multi-focal lenses, somewhat like a fresnel lense where there are concentric beveled surfaces on the lense allowing near and far focus, though I still need reading glasses for computer work. Anyway, good luck to you and give them time to adjust.
Pete Dowson Posted July 7, 2004 Report Posted July 7, 2004 You're right, I would know what I'm doing in the plane, but we're trying to programmatically determine the state of the current flight to adjust visual displays to the state of the flight (taxi, etc.). Okay. You can do that, it just needs a little more thought. You can certainly tell whether the plane is on the ground or in the air, whether it is pushing back, starting up, and so on. With a little history (i.e. checking what is happening) you can tell if you are taking off, climbing, cruising, descending, and probably even landing (gear down and descending are clues). I should think you could derive as much as "bState" gives you for AI aircraft, and probably more. Anyway, good luck to you and give them time to adjust. Thanks! Regards, Pete
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