Hi,
you mention that is a Python embedded script.
Does the same happen with a Lua script that does exactly the same things?
Search found 1016 matches
- 29 Jul 2022, 11:51
- Forum: General questions
- Topic: Torque mode control with Python in CoppeliaSim 4.3
- Replies: 6
- Views: 985
- 29 Jul 2022, 10:34
- Forum: General questions
- Topic: how to get a variable from an Non-threaded child script to Threaded child script
- Replies: 1
- Views: 260
Re: how to get a variable from an Non-threaded child script to Threaded child script
There are many possibilities: you can set a signal in one script (e.g. with sim.setStringSignal, and other signal functions ) in one script, and read (or wait for) the signal value in the other thread (sim.getStringSignal, etc...) you can write data to a custom data block (sim.writeCustomDataBlock) ...
- 28 Jul 2022, 09:30
- Forum: General questions
- Topic: getObjectOrientation of a joint
- Replies: 8
- Views: 17894
Re: getObjectOrientation of a joint
The documentation says that when the second argument (i.e.: relativeToObjectHandle ) is a joint, then you can combine the first argument (i.e.: objectHandle ) with sim.handleflag_reljointbaseframe. Everything works as expected for me. Setup: > j=sim.createJoint(sim.joint_revolute_subtype,sim.jointmo...
- 27 Jul 2022, 12:40
- Forum: General questions
- Topic: How to get scriptHandle using ZMQ API?
- Replies: 3
- Views: 259
Re: How to get scriptHandle using ZMQ API?
Prior to 4.3.0rev12 use sim.getScriptHandle
- 27 Jul 2022, 12:38
- Forum: General questions
- Topic: How to get scriptHandle using ZMQ API?
- Replies: 3
- Views: 259
Re: How to get scriptHandle using ZMQ API?
Which CoppeliaSim version?
- 27 Jul 2022, 12:30
- Forum: General questions
- Topic: Walking Bill with Wheelchair
- Replies: 1
- Views: 179
Re: Walking Bill with Wheelchair
Where is that model?
- 27 Jul 2022, 09:10
- Forum: General questions
- Topic: Walking Bill Based on IMU data
- Replies: 1
- Views: 177
- 27 Jul 2022, 09:09
- Forum: General questions
- Topic: Walking BIll
- Replies: 1
- Views: 168
Re: Walking BIll
It moves the mannequin joints programmatically, linearly interpolating from hardcoded waypoints values.
Additionally it moves the whole model by a relative velocity.
Additionally it moves the whole model by a relative velocity.
- 27 Jul 2022, 08:56
- Forum: General questions
- Topic: B0RemoteApi communication between two PCs
- Replies: 4
- Views: 318
Re: B0RemoteApi communication between two PCs
Yes it is normal as publishers/subscribers don't directly talk to each other, but do so via the XPUB/XSUB proxies. B0_HOST_ID must be set to the same machine's IP address or globally available hostname (NOT to the server IP address as you said you did). This means on machine A you will set B0_HOST_I...
- 26 Jul 2022, 11:56
- Forum: General questions
- Topic: B0RemoteApi communication between two PCs
- Replies: 4
- Views: 318
Re: B0RemoteApi communication between two PCs
Hi, setting B0_HOST_ID to localhost doesn't make sense: B0_HOST_ID is the hostname (or IP) advertised to other nodes to reach this machine, so it has to be the LAN IP address, the external IP or hostname. Btw, b0RemoteApi is deprecated. ZeroMQ Remote API is the recommended way for remote API and it ...