BorisBogaerts / CoppeliaSim-VR-Toolbox

This repository contains the code to experience CoppeliaSim in VR
https://www.youtube.com/watch?v=yMydjviF7yg
BSD 3-Clause "New" or "Revised" License
35 stars 18 forks source link

Error: [string -unknown location]:?: Call failed. (simCallScriptFunctionEx on isRunning@HTC_VIVE) (Trinus) #6

Open BorisBogaerts opened 4 years ago

BorisBogaerts commented 4 years ago

Hello Boris,

I'm using the phone with Trinus(an app let mobile phone become VR headset) to simulate the HTC VIVE. Everything works well until I run the example scene 'hello vr world' Steam VR is stuck in running vrepVIVE and V-REP prints out Error: [string -unknown location]:?: Call failed. (simCallScriptFunctionEx on isRunning@HTC_VIVE) What can I do to fix it? Thank you!

Kind regards Lily

Problem

Originally posted by @lyl1999923 in https://github.com/BorisBogaerts/CoppeliaSim-VR-Toolbox/issues/1#issuecomment-679000805

BorisBogaerts commented 4 years ago

Hi Lily,

This error does not tell me much about the actual problem, so could you please provide more details. Did you perform all installation steps? Did you already start the simulation? Which version of the toolbox do you use with what version of coppeliaSim? Can you confirm that the file HTC_VIVE.lua is in the folder C:\Program Files\CoppeliaRobotics\CoppeliaSimEdu (or in the location where coppeliaSim is installed on your system).

Kind regards, Boris

lyl1999923 commented 4 years ago

I follow the installation video on Youtube ,and already start the simulation.(run steam VR>>run vrepVive.exe>>run vrep scene) I am using the CoppeliaSim VR Toolbox 2.2 and V-REP PRO EDU V3.6.2.(Maybe the version 3.5 could perform well,I will try it later) And at the coppeliaSim installed location I find HTV_VIVE.lua there.

Thank you for your reply!

BorisBogaerts commented 4 years ago

Could you please share what is printed in the vrepVive.exe shell, this will help me determine in which stage of the loading the error occurs.

lyl1999923 commented 4 years ago

vrepVIVE output.txt Here is the output of the vrepVive.exe shell. Thank you very much!

BorisBogaerts commented 4 years ago

That looks like it should be working. Is there a file called debug.log in the VR interface installation directory?

lyl1999923 commented 4 years ago

No. I can't find the debug file in the VR interface installation directory,neither the Vrep installation directory. Maybe the problem is about the device I use,I will try another one later. Thank you !

BorisBogaerts commented 4 years ago

It seems like there isn't a problem with the interface. However the interface makes use of VTK which in turn makes use of openVR. It seems like something is going wrong there.