in sim.importShape: file not found.
I have check and make sure that my simulation file (.ttt file) and object file are in the same folder.
My capture for more detail:
https://drive.google.com/file/d/1tnmfW_ ... drive_link
My child script in python code to import object is below:
Code: Select all
def sysCall_actuation():
inStrings = [1, "VREP/objects", "shape"]
inFloats = [0, 0, 0, 0, 0, 0, 0, 0, 10, 0]
def function(inFloats, inStrings):
inMeshPath = inStrings[1]
inShapePosition = {inFloats[1], inFloats[2], inFloats[3]}
inShapeOrientation = {inFloats[4], inFloats[5], inFloats[6]}
inShapeShapeColor = {inFloats[7], inFloats[8], inFloats[9]}
shapeHandle = sim.importShape(0, inMeshPath, 0, 0, 1)
function(inFloats, inStrings)
pass