test2.py

Typically: "How do I... ", "How can I... " questions
Post Reply
Jolene
Posts: 3
Joined: 26 Jun 2024, 10:59

test2.py

Post by Jolene »

Hello, I am new to Coppelia and recently got my VSCode working with Coppelia through ZMQ. I am trying to run the test files, in test2.py I am missing the test2Scene.ttt file. Any chance I could download this from somewhere? I tried creating it out of a blank file but then the objects don't exist.

sim.loadScene(sim.getStringParam(sim.stringparam_scenedefaultdir) + '/../test2Scene.ttt')

Thanks!

coppelia
Site Admin
Posts: 10504
Joined: 14 Dec 2012, 00:25

Re: test2.py

Post by coppelia »

Hello,

that test script (including the test2Scene.ttt) is not meant to be ran: it is an internal test we use(d). I think the test*.py scripts were actually not intended to be part of the repository.
Have instead a look at the other example files, e.g. simpleMovement.py

Cheers

Post Reply