PDA

View Full Version : Get position data in an own little program


Researcher
01-31-2006, 11:07 AM
Hello,
my question is very simple: How can I get the position data sent from PPT system in my own little C++ program?

The examples in the Vizard environment work fine. But I am not sure how I can access the position data without Vizard.
I tried to use code from the PPT Developer's API, but when I print the values on the console they jump wildly (between about -9 and 8)
Is there a way to access the data, received by the serial port in a C(++) program?

Maybe I just missed something, but I didn't find an example...

mspusch
01-31-2006, 06:14 PM
Hello,

Thanks for this note. You probably work with the latest PPTX4 release which requires a different API than the previous versions.
We have updated the PPT download page and you can find the new API at

http://www.worldviz.com/download/index.php?id=16

All best,

The WorldViz Team

Researcher
02-01-2006, 02:55 AM
This was exactly the piece of code I was looking for!
Now everything works smoothly.

Thank you very very much. :)