Difference between revisions of "NaviTrack Tutorial:Integrating:Passing coordinates data"
From NAMIC Wiki
Line 1: | Line 1: | ||
=What you need to do= | =What you need to do= | ||
+ | #Create NaviTrack module to provide a node that can be accessed by you application. | ||
#Modify your application to push and pull NaviTrack events cyclically with certain interval. | #Modify your application to push and pull NaviTrack events cyclically with certain interval. | ||
− | |||
#Create NaviTrack configuration XML file to build tree structure of data flow. | #Create NaviTrack configuration XML file to build tree structure of data flow. | ||
Revision as of 04:14, 25 May 2007
Home < NaviTrack Tutorial:Integrating:Passing coordinates dataContents
What you need to do
- Create NaviTrack module to provide a node that can be accessed by you application.
- Modify your application to push and pull NaviTrack events cyclically with certain interval.
- Create NaviTrack configuration XML file to build tree structure of data flow.
Sending side
Modify MyTutorialModule
pushpos.cxx
Receiving side
Modify MyTutorialSink
pullpos.cxx
Testing
Let's try to send position data from pushpos to pullpos program through network.
tutorial_source.xml (for pushpos)
tutorial_sink.xml (for pullpos)
Run the programs
Open two terminals and go to the directory where the programs exists.
Terminal 1 (pushpos: sending side)
$ ./pushpos tutorial_source.xml
Terminal 2 (pullpos: receiving side)
$ ./pullpos tutorial_sink.xml
Back to Integrating into your application.