Search found 6617 matches

by coppelia
13 Jun 2018, 14:32
Forum: General questions
Topic: My Robot doesn´t interact with the floor.
Replies: 9
Views: 162

Re: My Robot doesn´t interact with the floor.

You have way too many triangles in your model. All those holes and details are not needed and will only slow down visualization, and simulation in general. Then, your robot is duplicate it seems (several identical objects overlapping). Finally, your robot is interacting with the floor (try lifting i...
by coppelia
13 Jun 2018, 14:26
Forum: General questions
Topic: Looking for a way to set 2 modes of operation in a single non threaded script
Replies: 5
Views: 81

Re: Looking for a way to set 2 modes of operation in a single non threaded script

I highly recommend to switch now to the latest V-REP version, otherwise you will run into more trouble later on.

Cheers
by coppelia
13 Jun 2018, 14:23
Forum: General questions
Topic: Dynamic Simulation
Replies: 1
Views: 45

Re: Dynamic Simulation

Hello,

your manipulator is generating a lot of self-collisions. Try turning Display contact points on to see that. You should work with the shape's respondable masks.

Cheers
by coppelia
13 Jun 2018, 13:38
Forum: General questions
Topic: How to correctly set the initial angular velocity of an object
Replies: 4
Views: 100

Re: How to correctly set the initial angular velocity of an object

sorry for any misunderstanding. The misunderstanding also comes from bad naming for the initial angular velocity components, which should rather be sim.shapefloatparam_init_ang_velocity_x, sim.shapefloatparam_init_ang_velocity_y, sim.shapefloatparam_init_ang_velocity_z . Basically you would use the ...
by coppelia
12 Jun 2018, 12:03
Forum: General questions
Topic: Joint Velocity/Position Control
Replies: 3
Views: 64

Re: Joint Velocity/Position Control

Hello, I would just send the higher-level parameters from the remote API client to a V-REP script (e.g. the 6 target joint angles and the 6 desired joint velocities), and do the job inside of the script. That could be done by calling simxCallScriptFunction for instance. simxSetJointTargetVelocity sh...
by coppelia
12 Jun 2018, 11:55
Forum: General questions
Topic: Looking for a way to set 2 modes of operation in a single non threaded script
Replies: 5
Views: 81

Re: Looking for a way to set 2 modes of operation in a single non threaded script

Hello, not sure what the question relates exactly to... is it about how to have IK and FK set-up at the same time and switching from one to another, and/or is it about a way to interact with the user? I will assume the latter one. For interaction with the user, use custom UIs . You can also use cust...
by coppelia
12 Jun 2018, 11:41
Forum: General questions
Topic: Custom dynamics implementation
Replies: 1
Views: 59

Re: Custom dynamics implementation

Hello, adding another physics engine is actually linked with some other things, next to writing another physics plugin. The parameters of each physics engine need to be editable in V-REP and should also be stored, together with a scene. This makes the whole procedure a bit more complicated. You coul...
by coppelia
12 Jun 2018, 10:30
Forum: General questions
Topic: My Robot doesn´t interact with the floor.
Replies: 9
Views: 162

Re: My Robot doesn´t interact with the floor.

For example share a link to your dropbox file. Or google drive, etc.

Cheers
by coppelia
12 Jun 2018, 10:29
Forum: General questions
Topic: Ambient Light from remote
Replies: 1
Views: 33

Re: Ambient Light from remote

Hello, yes, you can. But you'll have to do this indirectly by calling a script function via simxCallScriptFunction . Inside of the script function, use sim.setArrayParameter (sim.arrayparam_ambient_light,color). Your textured shape might not be influenced by light if the texture Apply mode is not mo...
by coppelia
12 Jun 2018, 10:24
Forum: General questions
Topic: How to correctly set the initial angular velocity of an object
Replies: 4
Views: 100

Re: How to correctly set the initial angular velocity of an object

Hello, you have several ways to get a shape's velocity (linear or angular). First, it is important to understand that you can: compute the velocity from the object's successive positions get the velocity from the physics engine (since the physics engine is taking care of non-static shapes) Above two...