Search found 15 matches

by zhengkz
05 Feb 2024, 09:04
Forum: General questions
Topic: Running several scenes in parallel, is possible?
Replies: 10
Views: 32338

Re: Running several scenes in parallel, is possible?

Hi,

I wonder if I use coppeliasim.bridge.load() to open several instances in different threads. Do I still need to set the port for different instances? If it is needed, how to set that? Thanks!

Best,
Kz
by zhengkz
30 Dec 2023, 01:41
Forum: General questions
Topic: URDF API
Replies: 3
Views: 17297

Re: URDF API

It seems only to support Lua API. If I want to use it with Python, what will be the best way to implement that? Thanks!

Best,
Kz
by zhengkz
26 Dec 2023, 01:13
Forum: General questions
Topic: URDF API
Replies: 3
Views: 17297

URDF API

Hi,

I wonder how to import/export URDF through API. I tried to use simURDF.import, but it shows attempt to index a nil value (global 'simURDF')

Best,
Kz
by zhengkz
14 Dec 2023, 21:21
Forum: General questions
Topic: Hidden in Rendering
Replies: 4
Views: 22808

Re: Hidden in Rendering

To give a more clear example, I attached two images below: https://minigpt-5.s3.amazonaws.com/front_rgb.png image 1 https://minigpt-5.s3.amazonaws.com/front_mask.png image 2 Image 1 comes from a normal RGB camera, and Image 2 comes from a handle-coded camera. You can see there are two large shadows ...
by zhengkz
14 Dec 2023, 20:29
Forum: General questions
Topic: Document and Question for coppeliaSim.lib
Replies: 3
Views: 20055

Re: Document and Question for coppeliaSim.lib

Hi,

I have some further questions. What's the difference between simLoop(None, 0) and sim.step(). I find my thread will be blocked after I call sim.step() even though I have set sim.setStepping(True).

Best,
Kz
by zhengkz
14 Dec 2023, 19:27
Forum: General questions
Topic: Hidden in Rendering
Replies: 4
Views: 22808

Re: Hidden in Rendering

Thanks for your reply! I'm wondering what values should I set the visibility layer to hide/show. By default, will all vision sensors always only render the objects in the first layer and ignore other layers? Thanks!

Best,
Kz
by zhengkz
14 Dec 2023, 08:02
Forum: General questions
Topic: Hidden in Rendering
Replies: 4
Views: 22808

Hidden in Rendering

Hi,

I wonder how to stop rendering a specific object for vision sensors, especially when the sensor is under 'color-coded handles' mode.

I have tried 'Hidden during simulation' and changed the visibility layers, but neither works for the rendering. Hope for your reply!

Best,
Kz
by zhengkz
14 Dec 2023, 01:00
Forum: General questions
Topic: How to get simIK and simOMPL in python?
Replies: 5
Views: 28891

Re: How to get simIK and simOMPL in python?

I'm using IK to generate linear paths for the robot arm during some manipulation tasks. The callback function is used to check for collisions during planning. I checked the IK and OMPL documents and I didn't find an easier way for collision checking. Is there any demo or example to show how to add c...
by zhengkz
13 Dec 2023, 10:17
Forum: General questions
Topic: How to get simIK and simOMPL in python?
Replies: 5
Views: 28891

Re: How to get simIK and simOMPL in python?

I have tried to use simIK = coppeliasim.bridge.call('scriptClientBridge.require', ['simIK']) simIK = coppeliasim.bridge.require('simIK') But it cannot pass a Python function as an argument for validation callback in simIK.generatePath function. The error is about ValueError: cannot serialize unknown...
by zhengkz
08 Dec 2023, 10:22
Forum: General questions
Topic: Question about path in v4.6
Replies: 1
Views: 18752

Question about path in v4.6

Hi,

I wonder how to insert more control points into a path in v4.6? In the previous 4.1 version, there is a function named

Code: Select all

sim.insertPathCtrlPoints
However, I cannot find a similar function in the 4.6 API. Thanks!

Best,
Kz