Search found 50 matches

by hpcv
Fri Dec 07, 2007 7:32 am
Forum: General OptiTrack Support
Topic: NP enumerations in c#
Replies: 7
Views: 5081

Re: NP enumerations in c#

Yeah, C# coding standards are different than C++, so I made a start on decapitalizing the names. I wrapped everything into C# enums, but unfortunately, that means you have to typecast the enum to an int before you pass it to a function from the OptiTrack API...
by hpcv
Thu Dec 06, 2007 3:04 am
Forum: Tracking Tools
Topic: VRPN functionality
Replies: 11
Views: 15084

Re: VRPN functionality

Got it to work already, thanks. The device name is indeed the same as the name of the rigid body -- I thought I had tried this, but apparently I made a typo or something. Good thing you have example code up now, it should make life easier for other VRPN users out there! :)
by hpcv
Thu Dec 06, 2007 2:58 am
Forum: General OptiTrack Support
Topic: NP enumerations in c#
Replies: 7
Views: 5081

Re: NP enumerations in c#

I have ported the most used enums and constants to C# from the OptiTrack headers. Haven't made everything into nice names, but a bit of manual work or a clever regex should do the trick. Hope this is useful to you (or someone)! enum NPHWModel { Oldtrackir = 0x100800a8, Smartnav = Oldtrackir + 1, Tra...
by hpcv
Tue Nov 13, 2007 9:44 am
Forum: Tracking Tools
Topic: How large are Rigid Body tracking latencies?
Replies: 15
Views: 14536

How large are Rigid Body tracking latencies?

<t>Hi,<br/> <br/> I noticed that there is a slight lag when tracking a rigid body. Whipping up a simple C++ program, and using a marked "hammer" to hit the space bar, I managed to measure the lag with some accuracy; it is around 100 ms. This is the time from the action in the physical world to the a...
by hpcv
Tue Nov 13, 2007 2:21 am
Forum: General OptiTrack Support
Topic: Problem whith GetFrameImage
Replies: 10
Views: 7409

Re: Problem whith GetFrameImage

You can ask Windows whether the laptop is plugged into the wall, I think. Not exactly what you ask for, but depending on your situation it might suffice.
by hpcv
Tue Nov 13, 2007 1:46 am
Forum: Tracking Tools
Topic: Rigid Body hangs
Replies: 5
Views: 4682

Re: Rigid Body hangs

<t>Argh... I just noticed that the hub that powers the 4 cameras was not plugged into the wall socket, probably hasn't been for quite a while. <br/> <br/> The program seems more stable now. Could a lack of power have caused this problem?<br/> <br/> Update: tool's hanging again. Not just a power issu...
by hpcv
Mon Nov 12, 2007 11:21 am
Forum: Tracking Tools
Topic: Rigid Body hangs
Replies: 5
Views: 4682

Re: Rigid Body hangs

At the moment, the application hangs for about half a minute, then responds again briefly, then goes back to hanging. During the hangs, the CPU usage is only 10-15%, not the near-100% it normally uses.
by hpcv
Mon Nov 12, 2007 8:23 am
Forum: Tracking Tools
Topic: Rigid Body hangs
Replies: 5
Views: 4682

Rigid Body hangs

The new Rigid Body tool, version 1.0.032 beta 11, often locks up on my system. It stops responding and updating its display and I have to kill it. This happens mostly when interacting with it, but it sometimes happens when I load the calibration result, sometimes when I load rigid body definitions, ...
by hpcv
Mon Nov 12, 2007 6:32 am
Forum: General OptiTrack Support
Topic: Problem whith GetFrameImage
Replies: 10
Views: 7409

Re: Problem whith GetFrameImage

<t>I have had some issues myself regarding grounding. Basically, all cameras would go down if I touched the metal casing of one of the V100 cameras, and to get it back up a restart of the Point Cloud or Rigid Body tool was needed. I worked around this by keeping my hands off the cameras, but just so...
by hpcv
Mon Nov 05, 2007 6:54 am
Forum: Tracking Tools
Topic: VRPN functionality
Replies: 11
Views: 15084

VRPN functionality

I'm currently trying to get the Rigid Body toolkit to act as a VRPN server. It nicely opens port 3883 (TCP as well as UDP) as indicated in the program. I assume it exports VRPN tracker devices on that port, but there is no way to find out the name of these devices from the Rigid Body program. The VR...