WorldViz User Forum  

Go Back   WorldViz User Forum > Search Forums

Showing results 1 to 25 of 42
Search took 0.01 seconds.
Search: Posts Made By: JimC
Forum: Vizard 12-11-2012, 10:15 AM
Replies: 5
Views: 10,423
Posted By JimC
Oh, this may also not the only problem but I'm...

Oh, this may also not the only problem but I'm pretty sure your loop function is a no-no. You need to define a function that sets the matrices once, the use a timer to have it called repeatedly.
Forum: Vizard 12-10-2012, 08:00 AM
Replies: 5
Views: 10,423
Posted By JimC
Just quickly looking, the reason T12 isn't...

Just quickly looking, the reason T12 isn't getting set is probably the error (extra '=') in this line:
...
Forum: Vizard 03-22-2012, 07:45 AM
Replies: 4
Views: 9,083
Posted By JimC
I'd try either: 1) spawn a subsidiary thread...

I'd try either:

1) spawn a subsidiary thread using either the thread or threading module to create and handle the tkinter window (no idea if it would work), or;

2) Make the tkinter window a...
Forum: Vizard 05-02-2011, 11:45 AM
Replies: 3
Views: 12,714
Posted By JimC
Got it working. The FAAST installation...

Got it working. The FAAST installation instructions were a little unclear; the SensorKinect Module installer didn't install the drivers into the system, it put them in the PrimeSense Program Files...
Forum: Plug-in development 10-21-2010, 12:58 PM
Replies: 6
Views: 18,255
Posted By JimC
Using default port parameters?

It looks like you're mostly using the default values for the serial port parameters (baud rate, parity, and so on). It might be worth checking that these defaults are the same in pySerial as they are...
Forum: Vizard 05-13-2010, 12:32 PM
Replies: 5
Views: 8,434
Posted By JimC
Have you tried passing all=True to...

Have you tried passing all=True to viz.intersect()?
Forum: Vizard 04-27-2010, 01:17 PM
Replies: 3
Views: 11,850
Posted By JimC
Question Navigation problem

Hi all,

I have a simple CAVE navigator: You point the tracked wand in the direction you want to fly and push the joystick forward. It's implemented by linking the following to the CaveView object:...
Forum: Vizard 03-24-2010, 08:13 AM
Replies: 2
Views: 7,453
Posted By JimC
Question Does Vizard have any particular tricks for...

Does Vizard have any particular tricks for handling rendering latency when measuring RTs? I've generally smacked a photocell on the screen to trigger the RT measurement interval...
Forum: Vizard 03-12-2010, 06:33 AM
Replies: 26
Views: 42,571
Posted By JimC
That's just a warning. AFAIK, all functools is...

That's just a warning. AFAIK, all functools is used for is to fix the docstring of a single decorated function, so just ignore it.
Forum: Vizard 03-11-2010, 12:32 PM
Replies: 26
Views: 42,571
Posted By JimC
I wrote to the author of ctypes-opencv and ended...

I wrote to the author of ctypes-opencv and ended up applying the fixes to the bleeding-edge version and mailing that to him. Interestingly, it looked like there might be some code added to the...
Forum: Vizard 03-10-2010, 10:56 AM
Replies: 26
Views: 42,571
Posted By JimC
Thumbs up OK, I got interested and got it to work (at...

OK, I got interested and got it to work (at least, I got capture-cam and a couple others to run). Download (https://netfiles.uiuc.edu/jimc/shared/ctypes_opencv.zip). The src/ctypes_opencv folder goes...
Forum: Vizard 03-10-2010, 09:48 AM
Replies: 26
Views: 42,571
Posted By JimC
Sorry, that was perhaps not clear. It's still a...

Sorry, that was perhaps not clear. It's still a wrapper around the C dlls, but ctypes allows you to write the wrapper directly in Python rather than in some C-like (SWIG) or C++-like (SIP)...
Forum: Vizard 03-10-2010, 09:38 AM
Replies: 26
Views: 42,571
Posted By JimC
Yes, figuring out how to build complex C/C++...

Yes, figuring out how to build complex C/C++ projects is a hideous nightmare, particularly on Windows with its plethora of compilers. That's why sane people prefer Python. ;)

You might have a look...
Forum: Vizard 03-09-2010, 09:29 AM
Replies: 26
Views: 42,571
Posted By JimC
return _cv.CvMat__setitem__(*args) ...

return _cv.CvMat__setitem__(*args)
RuntimeError: openCV Error:
Status=Sizes of input arguments do not match

My guess would be to try looping through the two arrays and setting corresponding...
Forum: Vizard 03-09-2010, 08:01 AM
Replies: 26
Views: 42,571
Posted By JimC
It works for me in Vizard (with a Logitech...

It works for me in Vizard (with a Logitech QuickCam). A camera driver issue? What do you get if you print type(frame) just before the crash?
Forum: Vizard 03-02-2010, 11:17 AM
Replies: 26
Views: 42,571
Posted By JimC
Never mind. I tried it myself and got the same...

Never mind. I tried it myself and got the same error. When I copied the dlls into the site-packages/opencv directory it went away.
Forum: Vizard 03-02-2010, 11:04 AM
Replies: 26
Views: 42,571
Posted By JimC
In your script (or at the Vizard Python prompt)...

In your script (or at the Vizard Python prompt) type:

import sys
print sys.path

That will tell you where it's looking for modules.
Forum: Vizard 03-02-2010, 09:47 AM
Replies: 26
Views: 42,571
Posted By JimC
Is there an _cv.pyd in site-packages/opencv? What...

Is there an _cv.pyd in site-packages/opencv? What is the value of sys.path?
Forum: Vizard 03-01-2010, 12:35 PM
Replies: 26
Views: 42,571
Posted By JimC
OK, I zipped the files I could find and put them...

OK, I zipped the files I could find and put them at
https://netfiles.uiuc.edu/jimc/shared/pyOpenCV_py24.zip

I may have modified/broken a few of the samples...
Forum: Vizard 02-26-2010, 08:12 AM
Replies: 26
Views: 42,571
Posted By JimC
Not with Vizard, but I've used OpenCV 1.0 with...

Not with Vizard, but I've used OpenCV 1.0 with Python 2.4...I could post the module & dlls somewhere if you want to try that.

I tried building 1.1 on Linux once--couldn't get the Python bindings...
Forum: Vizard 02-16-2010, 07:42 AM
Replies: 4
Views: 7,687
Posted By JimC
Actually, I think it's just me not realizing that...

Actually, I think it's just me not realizing that viz.phys.intersectLine() and viz.intersect() behave differently when all==True. viz.intersectLine() tells you which objects are intersected (one...
Forum: Vizard 02-11-2010, 07:25 AM
Replies: 4
Views: 7,687
Posted By JimC
Doc problems for those who like keyword args...

It seems that the argument names in the docs often don't match those in the code; that is, the docs make it look as though you can pass arguments in keyword form (which I think makes for more...
Forum: Vizard 02-10-2010, 02:16 PM
Replies: 4
Views: 7,687
Posted By JimC
Unhappy viz.phys.intersectLine() doesn't seem to work...

viz.phys.intersectLine() doesn't seem to work with all=True, anyway; I never get more than one intersection. viz.intersect() (sorry, mis-typed it in the original post) works fine, though.
Forum: Vizard 02-10-2010, 01:38 PM
Replies: 4
Views: 7,687
Posted By JimC
Small doc error & clarification

In the docs for viz.phys.intersectLine(), the last argument is called 'listAll'; 'all' is correct.

On this page and for viz.phys.intersect() it states that the function returns a VizIntersect...
Forum: Vizard 01-11-2010, 08:51 AM
Replies: 2
Views: 15,199
Posted By JimC
Question It sounds like maybe the path to the directory...

It sounds like maybe the path to the directory containing winviz.exe is not on your PATH environment variable?
Showing results 1 to 25 of 42

 
Forum Jump

All times are GMT -7. The time now is 04:19 AM.


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