Search found 7 matches

by allen0413
20 Feb 2021, 10:14
Forum: General questions
Topic: How sim.getShapeMesh works?
Replies: 1
Views: 436

How sim.getShapeMesh works?

Hello, My goal is to retrieve the orientation and position of normal to every surface on a shape, and I'm pretty sure the API needed is sim.getShapeMesh, but not sure how it works. For example, for a pure shape cuboid, it gives me normals like below: {0, 0, -1, 0, 0, -1, 0, 0, -1, 0, 0, -1, 0, 0, -1...
by allen0413
01 Dec 2020, 09:49
Forum: Bug reports
Topic: RG2 closing inappropriately
Replies: 1
Views: 6425

RG2 closing inappropriately

Hi there, I'm developing a project that learns to grab things with a RG2 gripper. By speeding the training process, I would like to raise the motorVelocity (In its child script), but here comes the problem. When motorVelocity gets larger (like 1 m/s), the left and right touches start to close and op...
by allen0413
08 Jun 2020, 04:06
Forum: General questions
Topic: Error message from sim.convexDecompose
Replies: 2
Views: 469

Re: Error message from sim.convexDecompose

Or is there anyway to simply just skip the error?
by allen0413
06 Jun 2020, 13:32
Forum: General questions
Topic: Error message from sim.convexDecompose
Replies: 2
Views: 469

Error message from sim.convexDecompose

As I try to do exact the same thing about this post, https://forum.coppeliarobotics.com/viewtopic.php?p=32037#p32037 It seems working fine, but still gives me an error message : Lua runtime error: [string "CHILD SCRIPT Mike"]:7: Invalid argument. (sim.convexDecompose) stack traceback: [C]:...
by allen0413
27 May 2020, 09:13
Forum: General questions
Topic: Measure surface area or volume of an object
Replies: 2
Views: 621

Measure surface area or volume of an object

Hey guys, Is there a function or any way to measure the surface area or volume (not size of the bounding box) of an object? I searched the Object Parameter IDs list but not sure if there's anything can be the solution. Maybe use a proximity sensor? In that case, how to measure it precisely? Thanks, ...
by allen0413
12 May 2020, 09:09
Forum: Bug reports
Topic: v-hacd crash problem
Replies: 9
Views: 5030

Re: v-hacd crash problem

It works! Thanks!
by allen0413
08 May 2020, 08:13
Forum: Bug reports
Topic: v-hacd crash problem
Replies: 9
Views: 5030

Re: v-hacd crash problem

Hi, I have the same problem here. So I'm trying to update the convex decompose plugin but don't know how, can you briefly explain it?
Running on Win10. Thank you.