Home › Forum › SOFA › Using SOFA › [SOLVED] SofaHAPI and Mouse Interference
Tagged: SOFAHapi
- This topic has 3 replies, 3 voices, and was last updated 9 years ago by Hugo.
-
AuthorPosts
-
13 May 2015 at 15:56 #3310SenBlocked
Hi ,
I am trying to use the SOFAHapi Plugin.
I can get the SofaHAPI01 example scene loaded.
I connect a ForceDimension Omega 3 device to my pc and When I runSofaI get 2 strange errors.
a) “Plugin …../sofabin/bin/SofaHAPI_1_0.dll method initExterna
lModule() NOT FOUND” .b) But I also see that my device pointer moves ( in ajerky fashion) only when my mouse is also moved. This suggests some kind of USB collision. Has anyone experienced this.
Theres no force feedback anywayQtViewer: disabling vertical refresh sync
QtViewer: OpenGL 3.1 context created.
[INFO] [requiredPlugin1(RequiredPlugin)]: Loading SofaHAPI
[INFO] [omniDriver1(SofaHAPIHapticsDevice)]: [Device] init
[INFO] [omniDriver1(SofaHAPIHapticsDevice)]: 1 ForceFeedback objects found: Too
l1/lCPForceFeedback1
[INFO] [omniDriver1(SofaHAPIHapticsDevice)]: SofaHAPIHapticsDevice::setDataValu
e
[INFO] [omniDriver1(SofaHAPIHapticsDevice)]: Available device drivers : Any Ent
act ForceDimension HapticMaster Haption
[INFO] [omniDriver1(SofaHAPIHapticsDevice)]: Instantiating device driver Any
Plugin C:/Users/cx827329/Haptics/sofabin/bin/SofaHAPI_1_0.dll method initExterna
lModule() NOT FOUND
[WARN] [genericConstraintSolver1(GenericConstraintSolver)]: ERROR: Required dat
a maxIterations has not been set. (Current value is 1000)
[WARN] [genericConstraintSolver1(GenericConstraintSolver)]: ERROR: Required dat
a tolerance has not been set. (Current value is 0.001)
[INFO] [omniDriver1(SofaHAPIHapticsDevice)]: Enabling device
[INFO] [omniDriver1(SofaHAPIHapticsDevice)]: Enable FFB on tool 0
[INFO] [omniDriver1(SofaHAPIHapticsDevice)]: Enable effect Tool0-lCPForceFeedba
ck1
[WARN] [cGLinearSolver1(CGLinearSolver)]: ERROR: Required data iterations has n
ot been set. (Current value is 25)
[WARN] [cGLinearSolver1(CGLinearSolver)]: ERROR: Required data tolerance has no
t been set. (Current value is 1e-005)
[WARN] [cGLinearSolver1(CGLinearSolver)]: ERROR: Required data threshold has no
t been set. (Current value is 1e-005)
[INFO] [omniDriver1(SofaHAPIHapticsDevice)]: 1 ForceFeedback objects found: Too
l1/lCPForceFeedback1
[INFO] [omniDriver1(SofaHAPIHapticsDevice)]: SofaHAPIHapticsDevice::setDataValu
e
[INFO] [omniDriver1(SofaHAPIHapticsDevice)]: Enable FFB on tool 0
[INFO] [omniDriver1(SofaHAPIHapticsDevice)]: Enable effect Tool0-lCPForceFeedba
ck1
[WARN] [baseCamera(InteractiveCamera)]: Field projectionType has not been found13 May 2015 at 15:57 #3311SenBlockeder… didnt finish the mail above.
Well thats the log from the console of the Modeller.
Any ideas would be appreciated.
best regards
Sourav Sen29 May 2015 at 14:23 #3348DuriezBlockedDear Sen,
I have never tested ForceDimension devices with SOFA, but I know that in Strasbourg, they did it at some points.
I can only provide incomplete answers:
+ Plugin …../sofabin/bin/SofaHAPI_1_0.dll method initExternalModule() NOT FOUND
It seems that a commit of May 6 has introduced a bug in the init of the plugin.
Could you confirm that you are using a version of after May 6 ?
We will commit a revision (to go back to the previous version) this afternoon…+ Conflict with your mouse is really strange !!
Do you have the same conflict on other applications that use ForceDimension devices ?Christian
27 October 2015 at 09:47 #3878HugoKeymasterDear Sen,
If you have no additional questions, or answers, I will close this thread.
Best,Hugo
PS: do no forget in your scenes to define the tolerance, iterations and threshold parameters of the conjugate gradient ! it is key for the convergence of your simulation.
-
AuthorPosts
- You must be logged in to reply to this topic.