FreeTrack Forum

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

RSS >  Programme C++
bourgneuf #1 20/01/2009 - 17h08

Class : Apprenti
Posts : 1
Registered on : 20/01/2009

Off line

Bonjour a tous,

J'ai télécharger et installer parfaitement bien FreeTrack pour mon pc.
En regardant dans les dossiers, j'ai trouvé freetrack_c_interface.cpp
Or j'aimerai utilisé freetrack dans un programme en cpp perso

Es ce qu'il y a une personne qui sait comment utilisé ce fichier car j'ai rien trouvé dans la doc.
:blink:

je vous remercie pour votre réponse

bourgneuf
babasior #2 21/01/2009 - 14h53

Webmaster (admin)
Class : Webmaster (admin)
Posts : 930
Registered on : 09/07/2007

Off line Www

Il faut poser cette question à "The_target" !  :rolleyes:

Ce fichier fait partie du "SDK FreeTrack" à l'intention des développeurs qui souhaiteraient implémenter FreeTrack dans leur logiciel !

Ces commandes sont envoyées à FreeTrack par l'intermédiaire de la DLL "FreeTrackClient.dll"

Dans le SDK tu as aussi un fichier "FreeTrackTest.exe" qui permet de valider si ton application envoie bien les données de tracking ...
jros@unavarra.es #3 30/01/2009 - 17h44

Class : Apprenti
Posts : 2
Registered on : 30/01/2009

Off line

Sorry but I only able to read french :)

I've been reviewing the code of freetrack_c_interface.cpp and is outdated, mainly because the data structure that is supposed to fill is outdated with respect to v2.2.

The updating seems trivial if you look at

TFreeTrackData = packed record
   DataID : Cardinal;
  ....
 end;

in

FTTypes.pas

and compare it to the struct in

freetrack_c_interface.cpp

There is also a function that seems to be missing in the current FreeTrackClient.dll,
you can comment its occurrences in
freetrack_c_interface.cpp, surely you won't need it.

It would be desirable to find freetrack_c_interface.cpp within the source code, and some reference to C++ interfacing in the FAQ or manual.

Right now we are reading the 6DOF from a WiiMote using the corrected version of freetrack_c_interface.cpp,

What can be done to calibrate the given numbers to to exact physical positions, for example relative to a reference in the camera of the WiiMote??. We are thinking about using WiiMote to get the position of the head of a robot (because we don't have absolute encoders), and this requires some degree of precision in physical space.
xhonzi #4 08/04/2009 - 17h50

Class : Apprenti
Posts : 13
Registered on : 28/12/2008

Off line

Is anyone able to update the cpp?
gosgirl #5 17/08/2009 - 06h29

Class : Apprenti
Posts : 4
Registered on : 17/08/2009

Off line

 >  Fast reply

Message

 >  Stats

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