FreeTrack Forum

Welcome, you're not connected. ( Log in - Register )

RSS >  Freetrack through home network.., Increasing FPS.. Decreasing CPU load...
Quarrion #16 18/01/2009 - 04h31

Class : Beta Tester
Posts : 79
Registered on : 09/10/2008

Off line

Try installing FreeTrack on the target machine with TIRViews and running it before you start GlovePIE.
eisenfpferd #17 20/01/2009 - 20h04

Class : Apprenti
Posts : 15
Registered on : 25/01/2008

Off line

Hi Quarrion,

tried it, but no movement.
When I start the tirviews-connection in Freetrack after(!) start the glovepie script the screen hangs until I uncheck the tirviews-connection in FT. After that the FS2004 view switches to another angle (one step) but no constant moving.

Do yo have this constallation working?

/eisenfpferd/
teo #18 22/01/2009 - 11h48

Class : Apprenti
Posts : 9
Registered on : 08/10/2008

Off line

Hi guys

Can you provide  more detailed instructions?
What is osc?
Will it work with falcon?
angryelvis #19 23/02/2009 - 11h36

Class : Apprenti
Posts : 4
Registered on : 28/01/2009

Off line

well i seem to have this working, everything except the re-center function....
i usualy have it on my hat switch when playing normaly, so if anyone could could give me some insight into how to get that set-up through glovepie i'd be a very happy man!
i find it too hard to keep klicking the center tab in freetrack while flying....and the f11 set-up in this script isnt working for me....
wakashimazu #20 26/02/2009 - 04h45

Class : Apprenti
Posts : 1
Registered on : 26/02/2009

Off line

for me work "fine" in falcon (rv) the problem is that there is some kind of lag my network dosnt apper to be slow transfering file  so dont know..any suggestion?

anyway thaks for the scrips
codeking #21 05/03/2009 - 08h59

Class : Apprenti
Posts : 5
Registered on : 02/03/2009

Off line

Yesterday I did FreeTrack working with FSX over network. Used only two configuration files (for SimConnect, one on PC with FSX, and one on notebook with FT) and install SimConnect.msi. It's easy and it works !
Deimos #22 28/03/2009 - 12h34

Class : Beta Tester
Posts : 120
Registered on : 07/11/2007

Off line

codeking @ 05/03/2009 - 09h59 a dit:

Yesterday I did FreeTrack working with FSX over network. Used only two configuration files (for SimConnect, one on PC with FSX, and one on notebook with FT) and install SimConnect.msi. It's easy and it works !



Could you elaborate on this? Do you mean you used simconnect on both computers?  And by "configuration files" do you mean config for simmconnect, or glovepie? I have some trouble getting GlovePie's fake trackir to work in FSX (however it does work in other Trackir-enabled programs).

Anyway, it still would be nice to be able to run FT in master/slave mode - one instance doing the tracking and feeding processed position data (with all smoothing and scaling done) to the second instance on a different PC doing only the output work - this way we could use FT over network and still be able to use its output modes other than Trackir (FT interface, mouse, keyboard).
codeking #23 30/03/2009 - 14h38

Class : Apprenti
Posts : 5
Registered on : 02/03/2009

Off line

I did it with SimConnect, so it works only with FSX. I can write little step-by-step guide how to do it. Let me know if You or anybody needs that.

I'm thinking, that it would'nt be so hard to develop two little apps, one to run FT in slave mode and second to receive FT output and simulates it on client (using interfaces from FT - TrackIR, mouse, keyboards etc). Anyway, there is a lot of thinks already done (int FT) which can be use to develop such a apps.

PS. Sorry for my poor english.
Deimos #24 08/04/2009 - 18h15

Class : Beta Tester
Posts : 120
Registered on : 07/11/2007

Off line

Some kind of guide would be great. Doesn't have to be totally idiot-proof - i guess i'll be able to figure out the details, and even info what software and config files to use would be nice.
codeking #25 09/04/2009 - 21h00

Class : Apprenti
Posts : 5
Registered on : 02/03/2009

Off line

OK, so here it is. I assume that You have two PC's connected and they can see each other (ping). On PC with FSX You have to configure FSX to listening for clients. Open file SimConnect.xml from folder:

Windows Vista
C:\Users\[username]\AppData\Roaming\Microsoft\FSX

(don't know where it is on XP)

If this file doesn't exists - create it. It should looks like this:

<?xml version="1.0" encoding="Windows-1252"?>
<SimBase.Document Type="SimConnect" version="1,0">
 <Descr>SimConnect</Descr>
 <Filename>SimConnect.xml</Filename>
 <Disabled>False</Disabled>
 <SimConnect.Comm>
    <Disabled>False</Disabled>
    <Protocol>IPv4</Protocol>
    <Scope>global</Scope>
    <Address>192.168.0.102</Address>
    <Port>500</Port>
    <MaxClients>1</MaxClients>
    <MaxRecvSize>8192</MaxRecvSize>
    <DisableNagle>True</DisableNagle>
 </SimConnect.Comm>
</SimBase.Document>

On line with <Address>192.168.0.102</Address> You must write Your PC IP address. Port may be 500, but be sure, that You have turned off firewall or added exception to it with selected port number. Line <DisableNagle>True</DisableNagle> is very important. Value False gave me lags so let it be True.

On machine with FT go to C:\Users\[username]\Documents\ folder and create file SimConnect.cfg with following contents:

[SimConnect]
Protocol=IPv4
Address=192.168.0.102
Port=500
MaxReceiveSize=8192
DisableNagle=01

In line Address write IP address of PC with FSX, the same for port number.

Now the last one, You need to have the latest SimConnect.msi installer. It is included with FSX SDK, but (for those who doesn't have deluxe version of FSX) if You search in internet - You will find it easily. Install it and find SimConnect.dll file. I have this file in 1.0.61637 version. I remember that in other version it didn't want to work. Copy this file to FT folder (ie. c:\program files\freetrack in XP - I have it on notebook with FT).

Now it's the moment of truth. Run FSX, run FT, if You did everything right - it will works.

The biggest problem here may be:
- no connection - turn off firewall or add exception to it
- wrong configuration, see file SimConnect.xml and SimConnect.ini as above

It works for me, so it should works for You also. Let me know if You have any problems with it - I will try to help You.

PS. Sorry for my english - still learning.
rbuchner #26 19/05/2009 - 23h14

Class : Apprenti
Posts : 24
Registered on : 21/02/2008

Off line

Hi,

I would like to have this setup:

2 pcs running IL-2 (I will not use it at the same time) and a third running FT.

Depending on which PC I will be using, I want it to detect the FT signal from the third.

is it possible?

Im not good with codes etc... is there a easy way of doing it?

thanks!
presse55 #27 07/08/2009 - 13h38

Class : Apprenti
Posts : 2
Registered on : 03/08/2009

Off line

CodeKing,

That is brilliant!

Correct me if I'm wrong, but I believe you got those snippets from the examples involving ActiveSky?

Anyways, I've done it.

FreeTrack 2.2 on laptop, communicating via SimConnect.dll to PC running FSX.  Works like an absolute charm.

The setup required is quite similar to that running ActiveSky across a network.  So I read that documentation carefully, and got it working after a couple of hours of configuring required files & firewalls on laptop and pc.

In order to have easy access to the files/DLLs involved, it appears you need FSX DeLuxe (or Gold, which is what I have), and then must install the SDK, then SDK/SP1, then SDK/SP1a.  So, the process is kind of long, but in all honesty, quite simple.  I followed the instructions/examples from the ActiveSky website example to the letter, and got my config to work.

So, in a nutshell, as I understand it, the layers are as follows:
Head motion -> IR LEDs -> Webcam on laptop -> FreeTrack 2.2 on laptop -> SimConnect.dll on laptop -> network cable -> SimConnect.dll (not sure here!) on PC -> FSX.
Edited by presse55 on 10/08/2009 at 14h03.
usr #28 12/10/2009 - 23h02

Class : Apprenti
Posts : 43
Registered on : 30/11/2007

Off line

rbuchner @ 19/05/2009 - 23h14 a dit:

Hi,

I would like to have this setup:

2 pcs running IL-2 (I will not use it at the same time) and a third running FT.

Depending on which PC I will be using, I want it to detect the FT signal from the third.

is it possible?

Im not good with codes etc... is there a easy way of doing it?

thanks!



You'd have to write the IP of the "IL2 computer" into the glovepie scripts anyway. You could either make two copies of the "server" script with the two different IPs and load either one or the other, depending on which PC you want to talk to or you could duplicate the OSC output and simply write to two IPs (then maybe you'd have to be "better with codes", no idea how bad your "not good" is)
emmanuel.laude #29 08/11/2011 - 10h55

Class : Apprenti
Posts : 1
Registered on : 08/11/2011

Off line

Hello everybody,

Please, excuse my bad english, I'm french.
I'd like to the same you done (using OSC via GlovePie to control an other computer's mouse).
This time, in my case, the source is not freetrack but juste a mouse.
I know there's some softs to do this, like input director, but, actualy, in glove pie, I "work" on the mouse mouvements to change it before to send it by OSC.
Would you agree to look at/test this scipts. To be basic, I juste put the" OSC sending part" of the sending script (without the mouse data changing which comes before).
The trouble is that, OSC received datas are... bad... the controled cursor at the exit trembles a lot...
I don't understand at all why because the kind (range) of sent values are able to be transmitted by OSC: I tryed to tranmit by variables and it worked.
I also tryed to decrease the glovePie FrameRate to see : nothing changed...
All my tests was from one to the same computer. I don't yet get the other one to do it in reals conditions, but I guess it would be the same.

Thank you very much for your help.

Emmanuel

______________________________________________


//OSC sending script :

// osc.ip = "192.168.0.14" // tested (instead of broadcast)
// pie.FrameRate = 60Hz    // tested
// wait 5s                 // tested

Osc1.broadcast = true
Osc1.port = 54934

var.X =  mouse.DirectInputX
var.y =  mouse.DirectInputY

if var.X < 0 then osc.X_neg =  true else osc.X_neg =  false
if var.y < 0 then osc.y_neg =  true else osc.y_neg =  false

osc1.x = var.x
osc1.y = var.y

___________________________________________


//OSC receiving script :

// osc.ip = "192.168.0.14"  // tested
// pie.FrameRate = 60Hz    // tested

Osc2.ListenPort = 54934
Osc2.Listening = true

if osc.X_neg  then var.X_neg = -1 else  var.X_neg =1
if osc.y_neg  then var.y_neg = -1 else  var.y_neg =1

var.x = osc.x * var.X_neg
var.y = osc.y * var.y_neg

Cursor1.PosX = var.X
Cursor1.PosY = var.y
Edited by emmanuel.laude on 08/11/2011 at 11h10.

 >  Fast reply

Message

 >  Stats

1 user(s) connected during the last 10 minutes (0 member(s) and 1 guest(s)).