Search found 5739 matches
- 29 Apr 2024, 10:13
- Forum: Bug reports
- Topic: Can't resume simulation after pausing in stepping mode with python-zmqremoteapi
- Replies: 1
- Views: 72
Re: Can't resume simulation after pausing in stepping mode with python-zmqremoteapi
Hello, yes, that is right. The sim.pauseSimulation API command actually only makes sense if there is some interaction with the user afterwards, otherwise there is no need/reason to pause a simulation: instead, simply do not step anymore and the result is the same. However, try to add function sysCal...
- 24 Apr 2024, 08:19
- Forum: General questions
- Topic: Remote API error
- Replies: 1
- Views: 84
Re: Remote API error
Hello,
it seems you are trying to use the old, deprecated remote API. Make sure to use the ZeroMQ remote APi, which is faster, more flexible, and simpler to use.
Cheers
it seems you are trying to use the old, deprecated remote API. Make sure to use the ZeroMQ remote APi, which is faster, more flexible, and simpler to use.
Cheers
- 24 Apr 2024, 08:08
- Forum: General questions
- Topic: how to get objects handles of the IRB360 model using Matlab
- Replies: 3
- Views: 87
Re: how to get objects handles of the IRB360 model using Matlab
Hello,
please do not use the legacy remote API anymore. Instead, use the ZeroMQ remote API, which is more flexible, complete, and faster.
To retrieve the handle of an object via the ZeroMQ remote API, do this:
Cheers
please do not use the legacy remote API anymore. Instead, use the ZeroMQ remote API, which is more flexible, complete, and faster.
To retrieve the handle of an object via the ZeroMQ remote API, do this:
Code: Select all
objectHandle = sim.getObject('/path/to/object');
- 24 Apr 2024, 08:04
- Forum: General questions
- Topic: How to generate objects using scripts?
- Replies: 1
- Views: 75
Re: How to generate objects using scripts?
Hello, have a look at following functions for example: sim.createPrimitiveShape sim.createMeshShape sim.loadModel sim.setObjectInt32Param(shapeHandle, sim.shapeintparam_respondable, respondable) sim.setObjectInt32Param(shapeHandle, sim.shapeintparam_static, static) sim.setShapeMass sim.setShapeInert...
- 24 Apr 2024, 08:01
- Forum: General questions
- Topic: How to get sensor data of Accerometer and GyroSensor in MATLAB?
- Replies: 1
- Views: 70
Re: How to get sensor data of Accerometer and GyroSensor in MATLAB?
Hello,
the error very probably happens because the signal is not set (yet), and the call to sim.getFloatSignal returns nothing. So you can't assign nothing to a variable in MATLAB. Use a try-catch block to handle a possibly non-existing return value.
Cheers
the error very probably happens because the signal is not set (yet), and the call to sim.getFloatSignal returns nothing. So you can't assign nothing to a variable in MATLAB. Use a try-catch block to handle a possibly non-existing return value.
Cheers
- 24 Apr 2024, 07:37
- Forum: General questions
- Topic: How to make dummy move along a given path?
- Replies: 2
- Views: 67
Re: How to make dummy move along a given path?
See also the demo scene scenes/movingAlongAPath-lua.ttt
Cheers
Cheers
- 24 Apr 2024, 07:36
- Forum: General questions
- Topic: How to speed up simulation?
- Replies: 4
- Views: 810
Re: How to speed up simulation?
Hello, yes, it is normal that the display is black, since you disabled rendering with: sim.setBoolParam(sim.boolparam_display_enabled, False) Disabling rendering will not disable vision sensors that will still be able to function normally. Instead of sim.getVisionSensorCharImage, use sim.getVisionSe...
- 24 Apr 2024, 07:25
- Forum: General questions
- Topic: The issue of console window not being able to hide
- Replies: 1
- Views: 73
Re: The issue of console window not being able to hide
Hello,
it seems that Windows is now handling console windows in a grouped fashion, and you cannot directly hide individual consoles anymore: those consoles will simply be minimized, not hidden. This now also happens with older CoppeliaSim releases (on Windows 11).
Cheers
it seems that Windows is now handling console windows in a grouped fashion, and you cannot directly hide individual consoles anymore: those consoles will simply be minimized, not hidden. This now also happens with older CoppeliaSim releases (on Windows 11).
Cheers
- 24 Apr 2024, 07:01
- Forum: General questions
- Topic: Questions about the use of sim_message_keypress
- Replies: 1
- Views: 82
Re: Questions about the use of sim_message_keypress
Hello, this is an undocumented feature. Use following to get inspiration: --lua sim = require'sim' function sysCall_thread() while true do -- Read the keyboard messages (make sure the focus is on the main window, scene view): local msg, auxData = sim.getSimulatorMessage() if msg ~= -1 then if msg ==...
- 24 Apr 2024, 06:53
- Forum: Bug reports
- Topic: Heightfield ground doesn't match actual solid floor
- Replies: 1
- Views: 70
Re: Heightfield ground doesn't match actual solid floor
Hello,
thanks for the mention, yes, we are aware of that and it should be fixed for next release (in 2-4 weeks).
Cheers
thanks for the mention, yes, we are aware of that and it should be fixed for next release (in 2-4 weeks).
Cheers