I highly recommend to use the ZeroMQ remote API, instead of the legacy remote API: the ZeroMQ remote API is much more flexible, easier to use, and faster. Additionally, it covers all API functions you'd also use from within CoppeliaSim.
Cheers
Search found 5744 matches
- 15 May 2024, 10:22
- Forum: General questions
- Topic: python API function; joint name ambiguity
- Replies: 3
- Views: 152
- 15 May 2024, 10:19
- Forum: General questions
- Topic: irb360 and path planning
- Replies: 2
- Views: 59
Re: irb360 and path planning
Hello, that is unfortunately too much code to review for us. However take note of following few points: The IRB360 robot is a PKM. As such, it doesn't work out of the box with simIK.findConfigs The IRB360 robot is not redundant. Thus, for each target position, there is either 1 or 0 solution. You ca...
- 08 May 2024, 05:56
- Forum: General questions
- Topic: Manipulator arm on a linear guide
- Replies: 1
- Views: 414
Re: Manipulator arm on a linear guide
Hello, I tried adding the additional joint to the set and checking what would happen, but I realized that this should not be the procedure to follow Why? You can see the linear guide just as another joint, at the base of the robot. e.g.: guideBase --> prismatic joint --> robotBase --> robotJoint1 --...
- 01 May 2024, 13:30
- Forum: General questions
- Topic: How to use the haptic device(TOUCH) to control the KUKA LBR_iiwa_7_R800 ?
- Replies: 19
- Views: 7189
Re: How to use the haptic device(TOUCH) to control the KUKA LBR_iiwa_7_R800 ?
You need to run CoppeliaSim V4.6, at least. Then you need to load the plugin from within your script, e.g.: --lua function sysCall_init() sim = require 'sim' simCHAI3D = require 'simCHAI3D' device = 0 toolRadius = 0.01 workspaceRadius = 0.2 simCHAI3D.start(device, toolRadius, workspaceRadius) end Th...
- 01 May 2024, 10:35
- Forum: General questions
- Topic: Visual servoing
- Replies: 1
- Views: 1020
Re: Visual servoing
Hello,
you can get some inspiration by looking at the demo scene scenes/vision/objectTracking.ttt
Cheers
you can get some inspiration by looking at the demo scene scenes/vision/objectTracking.ttt
Cheers
- 29 Apr 2024, 10:13
- Forum: Bug reports
- Topic: Can't resume simulation after pausing in stepping mode with python-zmqremoteapi
- Replies: 1
- Views: 1038
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: 769
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: 797
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: 788
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: 774
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