Search found 5738 matches
- 02 Apr 2024, 08:21
- Forum: General questions
- Topic: Collision avoidance/detection in chain
- Replies: 1
- Views: 247
Re: Collision avoidance/detection in chain
Hello, if you are talking about collision response (versus collision detection ), then indeed, the respondable mask is what you should look at. Make sure that two consecutive respondable shapes have a respondable mask that results in zero, when AND-combined (AND binary operator). Since the shapes al...
- 02 Apr 2024, 08:06
- Forum: General questions
- Topic: how to send data from matlab to CoppeliaSim
- Replies: 1
- Views: 291
Re: how to send data from matlab to CoppeliaSim
Hello, to send data over to CoppeliaSim, simply call sim.callScriptFunction and make sure you have an appropriate script function in the Lua script to receive and process the data. Also make sure that the script is initialized at the time it is called from MATLAB. By the way, I hope the frequency of...
- 02 Apr 2024, 07:59
- Forum: General questions
- Topic: Using Joint target position with Python Coppelia API binding
- Replies: 2
- Views: 709
Re: Using Joint target position with Python Coppelia API binding
Hello, if you want to control a joint or kinematic chain in 3D space instead of joint space, then you should use inverse kinematics (IK) . In your case, if you want a joint to follows a specific 3D point, try with this exercise: Make sure your joint (for now) is in kinematics mode attach it to an ob...
- 02 Apr 2024, 07:35
- Forum: General questions
- Topic: inverse kinematics in v4.6.0
- Replies: 1
- Views: 595
Re: inverse kinematics in v4.6.0
If you want to understand IK, then best would be to read/follow this section , in particular that one . This tutorial about IK is also available. You can also very easily set up IK by doing following: Start with a raw model, e.g. Models/robots/non-mobile/7 DoF manipulator.ttm If it has a script atta...
- 02 Apr 2024, 07:28
- Forum: General questions
- Topic: Can not be remote with MATLAB on Mac
- Replies: 3
- Views: 1701
Re: Can not be remote with MATLAB on Mac
The legacy remote API is deprecated. We highly recommend to switch to the ZeroMQ remote API , which is now de facto the default remote API. With the legacy remote API, there was never simRemoteApi.start(19999) in the main script. But in any case, you can call simRemoteApi.start from wherever you wan...
- 02 Apr 2024, 06:19
- Forum: Bug reports
- Topic: ZMQ remote API failing after the same amount of runs of a simulation
- Replies: 7
- Views: 2217
Re: ZMQ remote API failing after the same amount of runs of a simulation
From first tests, it appears that sim.loadScene is the culprit. This bug somehow also happens with sim.loadModel. A first workaround would be to avoid constantly reloading the same scene/model: after a simulation stop, the scene should anyways be mostly restored to its original state (i.e. just befo...
- 28 Mar 2024, 13:51
- Forum: General questions
- Topic: Can not be remote with MATLAB on Mac
- Replies: 3
- Views: 1701
Re: Can not be remote with MATLAB on Mac
Hello, I am not sure I understand your problem... if I understand you correctly, you are trying to use the ZeroMQ remote API via MATLAB, but that doesn't work. What is the problem? Is there any error message? What CoppeliaSim version are you running? What kind of relative code in the main script are...
- 28 Mar 2024, 13:41
- Forum: General questions
- Topic: About the rope in coppelisim
- Replies: 1
- Views: 1946
Re: About the rope in coppelisim
Hello, have a look at the demo scene scenes/mujoco/stringsRopesClothsAndSoftBodies.ttt : Following are the steps required: Create a prismatic joint Create 2 dummies In the dummy dialog , set the dummy type to Dynamic, tendon constraint Set the linked dummy to the other dummy Click Engine properties ...
- 28 Mar 2024, 13:28
- Forum: Bug reports
- Topic: ZMQ remote API failing after the same amount of runs of a simulation
- Replies: 7
- Views: 2217
Re: ZMQ remote API failing after the same amount of runs of a simulation
Thanks, with that I can reproduce the bug. Need to investigate more...
Cheers
Cheers
- 28 Mar 2024, 07:33
- Forum: General questions
- Topic: How to get the angle change of rotating joints during simulation
- Replies: 1
- Views: 1588
Re: How to get the angle change of rotating joints during simulation
Hello,
there are several functions related to 3D transformations you could use. But best is probably to use sim.getRotationAxis. Make sure to also read the section on positions, orientations and transformations.
Cheers
there are several functions related to 3D transformations you could use. But best is probably to use sim.getRotationAxis. Make sure to also read the section on positions, orientations and transformations.
Cheers