jhzh / ehci

Automatically exported from code.google.com/p/ehci
0 stars 0 forks source link

Sample code #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The ehci-0.7 windows binary samples seem to be more updated than the source 
code given. Is it possible to release the source code for these binary samples?

What version of the product are you using? On what operating system?
ehci 0.7
Windows 7
Visual Studio 2010

Original issue reported on code.google.com by tim.r.or...@gmail.com on 14 Nov 2010 at 2:53

GoogleCodeExporter commented 9 years ago
The code has just been updated. Thank you for pointing that out and remember we 
are still far from the final version, some bugs might be seen.

Original comment by danielba...@gmail.com on 14 Nov 2010 at 3:43

GoogleCodeExporter commented 9 years ago

Original comment by danielba...@gmail.com on 14 Nov 2010 at 3:44

GoogleCodeExporter commented 9 years ago
Thanks very much - it is an excellent project,where can I find the updated code?

Original comment by tim.r.or...@gmail.com on 14 Nov 2010 at 9:22

GoogleCodeExporter commented 9 years ago
Hi there,
thank you.
The updated code is in the source section. Please use svn to check it out.

Kind regards,
Daniel

Original comment by danielba...@gmail.com on 15 Nov 2010 at 1:03

GoogleCodeExporter commented 9 years ago
Sorry, Im getting problems with this code now.
The console keeps displaying this-
ehci: Deleted 0
ehci: Deleted 2
ehci: Deleted 4
...
ehci: Deleted 194

then I get
Error: no posit: number of points 1/2/3
Head Coordinates X: -431602080.000, Y: -431602080.000, Z: -431602080.000 
[initializing]
Disabling

then ehci: Deleted... again
until after 30 frames, I get-

posit: number of points 1
inates X: -431602080.000 Y: -431602080.000 Z: -431602080.00
inates X: -431602080.000 Y: -431602080.000 Z: -431602080.00
inates X: -431602080.000 Y: -431602080.000 Z: -431602080.00

and these coordinated are always the same even when I move my head (within the 
cameras vision)

Also, sometimes it throws this exception before it finishes-
Debug Assertion Failed!
Program: ...sual Studio 2010\Projects\Ehci\Debug\Simple3D.exe
File: d:\program files\microsoft visual studio 10.0\vc\include\vector
Line: 932
Expression: vector subscript out of range

Original comment by tim.r.or...@gmail.com on 15 Nov 2010 at 12:01

GoogleCodeExporter commented 9 years ago
Well, it seems you've got a problem with RANSAC. Just try turning it off for a 
while.
Go to your data/config.ini file and change it to:
USE_RANSAC 0
RANSAC_SAMPLES 6
RANSAC_DISTANCE_THRESHOLD 30.0
RANSAC_ITERATIONS 20
CAMERA_INDEX 0
OPEN_MOVIE NO
It should be better.
Thanks for the feedback!

Original comment by danielba...@gmail.com on 15 Nov 2010 at 12:59