Jump to content
The simFlight Network Forums

lvedin

Members
  • Posts

    28
  • Joined

  • Last visited

Everything posted by lvedin

  1. Yes, I since the FSX/P3D SDK does not support control of the actual output nose-wheel and rudder individual. I assigned tiller separate and lowered "rudder" sensitivity to 60%, it cannot be avoided it affect both nose-wheel and rudder, but I like high-speed steering better now. Regards Lennart Vedin
  2. "You manage to create tight turns at 160 knots? Really? What are you assigning your pedals to?" No, sorry if i'm not clear I mean the opposite, low speed give tight turns and high speed give small turn only, and this makes it possible in the sim to handle steering also i high speed. It is confusing that the P3D interface is named "axis Rudder" when it is actually the Pedals they mean, there are four different quantities: Pedals and Tiller are inputs, Nose-wheel and Rudder are outputs. I think I understand the root of issue is in FSX/P3D that AC-modeling can only support interfacing the Pedals quantity, while the nose-wheel and rudder are fixed modeled in the P3D. The modeling is very poor all in all regarding ground-movement behavior. I did also try the tiller input named "axis Steering set" in P3D, it behavior exactly like the pedals, just a parallel input. So thank you for your time :)
  3. Hi Pete ! Ok it is not really a "gear-box" but well a transmission-rate as percent of tiller/pedal to wheel-steer-angle. In Boeing 737 it is +/- 7 deg nose-wheel with the pedals, and 78 deg with the tiller. Tight corners are not possible at all with pedals, but only with the tiller. Of cause the pilot does not apply full pedals in 150 knot if not any abnormal situation. My considerations is that in real 737 the relationships is constant because it is mechanical steering. While in P3D/FSX the pedals relationship change with ground-speed, that's why you can make both tight corners and handle steering in 150 knots with the pedals. Yes it works in sim but it's not real realistic πŸ™‚ . Some other aircraft like Viggen has a manual gear-shift where the pilot can chose between two steering-gears, high-speed or taxi using only pedals. Best regards Lennart Vedin
  4. Thank's for reply Pete ! ( With gear-ratio I meant the steering-gear-box-ratio not landing-gear πŸ™‚ ) Ok I did not know P3D has separated tiller. However the remaining issue is how the pedals effect the nose-wheel in P3D. It definite have way too much effect in low speed (this is of cause to not make a tiller mandatory in sim). I want my pedals to effect the nose-wheel +/- 7 deg regardless of ground-speed, while the rudder shall remain realistic effect to the pedals. So I may only have the 3BAC Rudder and 3BC4 Steering tiller to play with. Realistic pedals to nose-wheel effect may be achieved via 3BC4 Steering tiller and an applicable limitation. But I'm afraid the 3BAC Rudder will affect also the nose-wheel in P3D right ?... and dramatic in low speed. Best Regards and thank,s. / Lennart Vedin
  5. Hello πŸ™‚ ! I want to create realistic tiller/pedals regarding gear ratio for my P3D PMDG B737. Since nose-wheel and rudder are connected to pedals only, I assume the gear-rates are not realistic. So if possible I will unassign pedals in the P3D setup and control nose-wheel angle and rudder angle individual, from my SW. QUESTION: It it possible to control an AC nose-wheel angle and rudder angle individual via FSUIPC control from my SW ? Best regards Lennart Vedin
  6. One shall use PMDG mouse-flag as parameters. I.e. refer corresponding mouse action in the VC. Event ID: EVT_GEAR_LEVER (works for gear up, off and down) Parameter: MOUSE_FLAG_RIGHTSINGLE (this works for gear up)
  7. For me, this is absolute the best tip this year πŸ™‚. There are 1000's of methods and offsets, but only 0x3110 did it, I should not have found in all doc's without pointing it out. Parking brake works and assumed all other as well. Thank's a lot Paul
  8. Hi ! Currently I use unregistered FCUIPC 5. P3D v4. PMDG 737NGX. Refer FCUIPC "Offset Mapping for PMDG 737NGX: All offsets are READ ONLY. To change values please use the Events (known as "controls" in FSUIPC) as listed in the "PMDG_NGX_SDK.h" file which you can find in the PMDG 737NGX SDK. The numerical values of those controls can be used directly in button and key assignments in the FSUIPC4.INI file, or from Lua plug-ins using the ipc.control function. " Primary I want to know if any alternative is possible so I not try things that cannot be done, and what SDK document to refer. I want to send e.g. the PMDG gear-lever command, i.e. Control of "6576 1 BYTE MAIN_GearLever 0: UP 1: OFF 2: DOWN". 1. Alternative via Borland C++ 5.0. I do currently use FSUIPC_Read() and FSUIPC_Write(), but I do not understand if I here can apply "use the Events (known as "controls" in FSUIPC)" ? 2. Alternative assign keys for EVT_GEAR_LEVER 0: UP 1: OFF 2: DOWN. This would works almost as fine since I can send key-strokes from Borland C++. Is this possible in the unregistered FSUIPC5.INI ? I have read about Lua and tried SimConnect C++, but I take those as the last easy options. Best regards and thank's / Lennart Vedin.
  9. Can I ask, how FSUIPC internal communicate with Prepar 3D, is it SimConnect or an other interface ? The question come up due to people state that FSUIPC get incompatible on any P3D update version, while SimConnect is backward compatible.
  10. Hello ! I've start some development for P3D v4. Typical I want to control e.g. PMDG 737 such as Gear up/down, Flaps, cockpit view control etc. SimConnect C++ project fail working correct for me, so I wonder if FSUIPC for P3D can do about the same in a C++ project ? I did use FCUIPC many years ago in C++ via memory map and remember it worked fine. By the way vPilot works fine so the SimConnect is probably somehow fine in my machine it's just me nuts. Regards Lennart Vedin.
  11. The freeware is ready, but I suppose it will only work with the FSUIPC as registred payware now. The freeware will be "FSFixedPos" (EXE or maybe become DLL). I suppose I do need some kind of freeware-registration with a key approved by you, to make the freeware work also with FSUIPC freeware, right ?
  12. Hello Pete ! 1. I have one question regarding application for FS9/FSX. If I develop an application for FS9 using FSUIPC, will it then typical work for FSX user regarding the FSUIPC program-interface? 2. Can this freeware be used without require licensed FSUIPC by user, what is the procedure (what should I do) ? The freeware is small and simple. Some aircraft such as MADDOG MD82 does not stay at fixed position even on Idle and breaks on, and I made a fix so it not move forward under some conditions. The movement is annoying for many users. p.s. ( Some year ago I did work with a commercial via FSUIPC and did get a lot support from you. I'm sorry I abrupt quit the develop without notice, due to personal reasons. ) Best regards Lennart Vedin
  13. http://www.fsvpi.com/ (I got a much lower licence fee specific for my type of application) Sorry I did not know how the timestamp work or what was wrong, just tried follow your example without understand exactly what happen behind the FSUIPC codes. I didnt think or say FSUIPC is in error, I think something is in error, primary I did not understand how the timestamp should work. So I understand timestamp change once after a proper access. This may explane why it doesnt change, cause I didnt write signature correct. I will try later when I come home. I also now understand how you explain, it really need to write as few Process call as possible. I didnt know how much each call acctually make sence to save. Yes I do have an issue to know what I want to read, it's the egg and hen. I dont know what aircraft type/livery information FSUIPC can offer as read out, string or ID. I dont know what kind of aircraft type/livery information FSVPI support and accept. I have to try this out. Right now I just know I need to read out something and try this at FSVPI. I'll check out all your other info also and try out what suit my need. Thank you. I dont think so. I skip empty slots in the two first loops. Just did try to read out the string without the wait-loop, 'cause the wait-loop hang due to my mistake. ok if the char idATC[15] in TCAS_DATA can be used for FSVPI, then I dont need more.
  14. Hello Pete ! Info: I have fixed a solution for the Multiplayer function for my commercial product, using a "FSVPI" custom licence. Now I need to read out traffic using FSUIPC. The purpose is to copy all aircrafts from one PC with traffic, info next PC using Multiplayer. I seams read all aircraft positions without problem. But I get problem at read "ATC aircraft type, plus ATC aircraft model" string. Ref: FSUIPC version 3.48 . Document FSUIPC for Programmers 4th March 2005. "Reading full AI Traffic identity strings" "2. Read the timestamp at D008 (32-bit DWORD)" I tried first all code as your example but reading timestamp at D008 always return zero. Also if the first thing I do (after initializing) is just read timestamp at D008, it return zero every read. If I test read a 32-bit value at another offset e.g. 2E80, it return correct value 0 or 1. If I skip your step "5. Wait till the timestamp in D008 changes." and instead Sleep one sec, process all application messages and then just read "6. Read string result (up to 48 bytes including terminating zero) from D010." there is just zero in the string at D010. Additional info. Prior try read "ATC aircraft type, plus ATC aircraft model" string, I read aircraft ID as typical like e.g. -124 -87. And I pass this ID in "3. Write the AI id (from the TCAS table, see earlier) to D00C (32-bit DWORD)". Question 1: Is it correct that I should use command "ATC aircraft type, plus ATC aircraft model string." to get info what type of aircraft (type e.g. "Boeing 737", "Cessna 172" etc), or how to get most visual information about aircrafts ? Remmark. I dont know exactly what type of string I need, I have to try out. FSVPI can take e.g. just string "737" or an id-integer-number. Question 2: Do you have any idea, or can you say what to try, why cant I read "ATC aircraft type, plus ATC aircraft model string." ? Question 3: Where can I read aircraft pitch and bank, the doc doesn't say ? Thanks and regards ! Attach my code in case I have some obvious misunderstand: traffic.zip traffic.zip
  15. :oops: I've complete missing the document included in the product FSUIPC, but only look SDK pack. There is a hole lot of FS commands in the doc :shock: . I've only tried control by writing to other offset as in the SDK-doc. Thanks and Regards !
  16. Hello Pete ! Some Info: I proceed quite well with my commercial product. As well the market seams interested. I still have one main problem to find someone to solve the FS Multiplayer interface or do it my self. But the product can live without the fully Multiplayer option. Question: It's an other small issue but for the user could be quite enoying when select a new location in FS. If I via FSUIPC change the time a lot (e.g. offset 023B Hour of Zulu time in FS) the message-window [Loading scenery... Loading Trafic...] appear and all is fine. But when I complete change location (i.e. move to a complete new location in the world via "offset 0560 Latitude of aircraft in FS units." and "offset 0568 Longitude of aircraft in FS format"), I want the message-window [Loading scenery... Loading Trafic...] pop up, but it doesn't. Instead the aircraft seams fly to the new location in 100000 knots, jumping around at the new location with just part of the scenery. I did ask you this before. But later I did never find how to "send a Refresh Scenery control". How do I perform this, is it writing to an offset in FSUIPC ? Reference: FS2004, FSUIPC Version 3.48 and FSUIPC for Programmers 4 March 2005. Thanks !
  17. THANKS A LOT :D :D :D It acctually works to copy the weather ! And thanks for info about FS ICAO data, I'll use that later. I copy one station only, and as you wrote, weather is not copied the same exact, but no doubt it come from the weather I did read. I intend to have the weather copying to work no matter how the source PC weather are set, I mean no matter if source PC set it's weather by FS weather menu, or addons like ActiveSky. One more question for now, conserning the task to copy weather: When I have found out current relevant ICAO weather to copy, should I also copy the "GLOB" weather so that if source PC may not have the requested ICAO data, then the global weather will be used instead of requested ICAO ?
  18. Thanks for answers ! I just mean weather does not appear as expected but at least I see some changes. Questions: Does this mean read "CC00-CFFF (Area 3): Weather reading area" and set "C800-CBFF (Area 2): Weather setting area" for several ICAO stations ? Can I use those methods with ICAO code "GLOB" for both read and write, just to make more simply first tests ? Question: Are there any way to know which are the surrounding weather stations ICAO codes that make sence to read and write to copy the weater, are the surrounding weather stations ICAO codes available to read out ? Thanks and regards !
  19. Hello Pete ! I'm trying to copy weather from one PC into an other, somehow in realtime. This is one of the tasks I try to implement in a comercial product. I'm aware that weather will not appear exact the same, but somehow the same. As now I've only partly succeded by some uncontrolled weather setting or clearing weather (well I see something is happend :) ) Question: Reference "NewWeather ReadMe.txt , NewWeather.h". Am I at all trying to do the right thing by read the "C000-C3FF (Area 0): Weather at aircraft", send that data and write it into next PC by "C800-CBFF (Area 2): Weather setting area" using uCommand=NW_SETEXACT and chICAO="GLOB" ? Or what is the perfered method to use in "NewWeather ReadMe.txt" ? Thanks and regards !
  20. Thank you a lot for all information. :D WEATHER: Ok I do understand it will not look or act exactly the same in both PC. Primary I'm pleased if both PC has similar weather condition, updated like in FS "load real weather every 15 minutes". I'll try use FSUIPC "New Weather Interface for FS2004" relevant part for read and set, to transfer weather. TRAFFIC: I have thinking about the issue with traffic some days. Preliminary I thought presumably traffic can be set by FSUIPC. :( I want to copy the traffic independent if traffic come from FS-traffic, addon-traffic or from online player's traffic like VATSIM. To make good sense, airplanes must appear the same poitions in both PC. I'll try as you suggest and I will try to find a programmer, to cooperate (in %) for this DirectX MultiPlay implement FS traffic. Question: Can the traffic be read using FSUIPC, as number of aircrafts, Latitude, Longitude, Altitude, Pitch, Bank, Heading and aircraft type ? I have seen the WidevieW website. Since I will create a product, I can't buy WidevieW for each box I sell. As well I find it hard to cooperate with Luciano Napolitano about his implementation. The reason is, even if I don't intend to create same product, it will be difficult for me to prevent the user to use the product similar as WidevieW. DLL (no question, just reply as my info): Sorry I may explained bad, I did mean external created DLL (not any technical meaning). And I do pass a parameter "FS98MAIN" to a Windows SDK function FindWindow("FS98MAIN", NULL) with return me a handle to the FS2004 window. If I pass "DUMMY" then I get no handle. Regards and thanks again !
  21. It is in this doc: http://www.schiratti.com/files/dowson/FSUIPC_SDK.zip Here is all fuel levels and capacitys: Offset/size/description. 0B74 4 byte Fuel: centre tank level, % * 128 * 65536 Ok Ok 0B78 4 byte Fuel: centre tank capacity: US Gallons (see also offsets 1244–for extra FS2k/CFS2 fuel tanks) Ok Ok 0B7C 4 byte Fuel: left main tank level, % * 128 * 65536 Ok Ok 0B80 4 byte Fuel: left main tank capacity: US Gallons Ok Ok 0B84 4 byte Fuel: left aux tank level, % * 128 * 65536 Ok Ok 0B88 4 byte Fuel: left aux tank capacity: US Gallons Ok Ok 0B8C 4 byte Fuel: left tip tank level, % * 128 * 65536 Ok Ok 0B90 4 byte Fuel: left tip tank capacity: US Gallons Ok Ok 0B94 4 byte Fuel: right main tank level, % * 128 * 65536 Ok Ok 0B98 4 byte Fuel: right main tank capacity: US Gallons Ok Ok 0B9C 4 byte Fuel: right aux tank level, % * 128 * 65536 Ok Ok 0BA0 4 byte Fuel: right aux tank capacity: US Gallons Ok Ok 0BA4 4 byte Fuel: right tip tank level, % * 128 * 65536 Ok Ok 0BA8 4 byte Fuel: right tip tank capacity: US Gallons Ok Ok Hope you don't mind I answer :D , Pete may confirm.
  22. Hello Pete ! I'm interested to transfer weather and dynamic traffic data in realtime from one PC with FS, to an other PC with FS, using FSUIPC. The TCP/IP transfer I will handle my self, but need some help with FS read/write using FSUIPC. The weather and traffic (visual moving airplanes on ground and in air) should appear in the receiving PC with FS, same as in the transmitting PC with FS. I assume this is possible since e.g. Squawkbox write this data using FSUIPC. I don't need to know any details what the data mean, but offsets used for reading/writing weather and traffic in FS2004. And I want to avoid transfer lot of data that anyway is read only. I use the document "FSUIPC SDK 25th Release April 25th 2005", but I get little confused what offsets to use. WEATER: I found following in document about weather: "0E9A 112 byte, Current Weather as Set: details follow." "0F1C 114 byte, Global Weather setting area: details follow." "C000 4096 byte, FS2004 New Weather Interface areas," What offsets and sizes are valid and make sense for writing in FS2004 ? TRAFFIC: I found some details in document about AI: "FS2002/4 A.I. Traffic Data. The offset area from D000 to FFFF inclusive is reserved for this. It is nearly all read-only." "2900 12 A.I. traffic control. Write all 3 32-bit values" I don't know what offsets to use. I suppose I first can read number of airplanes, then read from offset, and multiply the size with number of airplanes writing into the other PC with FS. What offsets and sizes should I use for writing in FS2004 ? POSITION: Moving the player's airplane position. When I change the FSUIPC parameters "0560 8 Latitude of aircraft in FS units." and "0568 8 Longitude of aircraft in FS format", the airplane jump to the new position without sceneries, while sceneries seams flying in the air start update slowly. This will look strange to a user, as well I'm afraid it might cause some crash or failure. Is there a way to force FS to load the new position by the FS progress dialog "Loading sceneries/traffic/weather etc", so that all is updated before going back to normal display mode ? Remark: When I change time "023A 1 Second of time in FS (0–59). to 0240.", FS display the progress dialog automatically, but not for the position change. DLL: I would like to have a DLL module with menus running in FS. I've try some example, using a Cyril Hruscak's template from Avsim, just partly succeed. (I do pass a parameter "FS98MAIN" to find the FS2004 window, I get a FS2004 message "Old module, do you want to load anyway..", but I don't know what parameter to pass for FS2004). May you know what parameter to pass instead of "FS98MAIN" ? I know there is a way to add menus in FS and get there response by using FSUIPC. But is there a way to load, run and unload an external DLL (or even an external EXE) I have created, by call from FSUIPC ? Regards and thanks !
  23. Better write at Peter Dowson's forum here http://forums.simflight.com/viewforum.php?f=54 However I'm rather sure it will work with Teamspeak if you assign correct key.
  24. Hello Pete Dowson ! I've worked with the FSUIPC programinterface. It works perfectly fine for my intention with the FS built in airplanes. Unfortunately it does not work very well with PMDG 737NG. I do not get any response at all with the MCP panel. Do you have any idea if this is the definitely tragic finally fact, or could it be different mapped by PMDG ? Any idea if Level-D 767 could better support standard function using FSUIPC ? I like to control (and read out status) aircrafts as from crew via FSUIPC. PMDG 737 and Level-D are the most interesting for the project. In addition I should say I did write PMDG, support at precisionmanuals dot com , two weeks ago without any response. While Level-D, at the moment I don't know where to write. Thanks !
  25. At least one Squawkbox user per week don't see it ether (Just for your info), I read all VATSIM post. They just don't find other airplanes/ATC (Latt=0, Long=0, 'cause haven't register). Thanks for all help. I'll come back when I have something for sale. :D
×
×
  • 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.