WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Precision Position Tracker (PPT) (https://forum.worldviz.com/forumdisplay.php?f=9)
-   -   Get position data in an own little program (https://forum.worldviz.com/showthread.php?t=495)

Researcher 01-31-2006 11:07 AM

Get position data in an own little program
 
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. :)


All times are GMT -7. The time now is 10:56 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC