Sorry once again.
here is the file for scene,
https://drive.google.com/file/d/1i-l0gw ... sp=sharing
here is the entire folder,
https://drive.google.com/drive/folders/ ... sp=sharing
it is 'Task_1B.ttt'
please look into as fast as you can, Uregent! thank you !
ZMQapiRequest issues
Re: ZMQapiRequest issues
you are mixing up everything. When you run from within CoppeliaSim, you do not need to use the remote API (and moreover, you are using the deprecated legacy remote API instead of the ZeroMQ remote API)
When running Python from within CoppeliaSim, you can do, e.g.:
Cheers
When running Python from within CoppeliaSim, you can do, e.g.:
Code: Select all
#python
def sysCall_init():
sim = require('sim')
objectHandle = sim.getObject('.')
print('The object I am attached to has alias: ' + sim.getObjectAlias(objectHandle))
def sysCall_sensing():
print(sim.getSimulationTime())
-
- Posts: 7
- Joined: 24 Oct 2023, 12:40
Re: ZMQapiRequest issues
Thanks a lot, it worked.
Thank you !!
Thank you !!