Search found 7926 matches

by coppelia
07 Jul 2020, 14:30
Forum: General questions
Topic: Calculate run/execution time
Replies: 3
Views: 77

Re: Calculate run/execution time

If you use sim.getSystemTimeInMs then you can see what kind of underlying API functions are used. But basically, those functions only make sense to measure time differences. No absolute times. About the computational effort... that is more difficult. Probably there is a tool that allows to inspect t...
by coppelia
07 Jul 2020, 14:24
Forum: General questions
Topic: UR5 robot
Replies: 1
Views: 26

Re: UR5 robot

Hello, so your surgical tool is basically an end-effector that you wish to attach to the tip of the UR5 robot. The tip of the UR robot is a force/torque sensor ( UR5_connection ). You can directly attach a shape to that connection (position it appropriately, keep it selected, then ctrl-select the co...
by coppelia
07 Jul 2020, 14:14
Forum: General questions
Topic: How to change the direction of a model hierarchy?
Replies: 2
Views: 30

Re: How to change the direction of a model hierarchy?

Hello, you don't need to change the direction. What touches the floor doesn't mean that it needs to be at the base of the hierarchy. You can select the left foot as the base of the hierarchy, the right foot, the left leg, etc. In your case, the best would be to chose what you specified as Link2 as t...
by coppelia
07 Jul 2020, 14:10
Forum: General questions
Topic: Hexapod Example 1
Replies: 5
Views: 78

Re: Hexapod Example 1

ow, correct, forgot about that one ;)
by coppelia
07 Jul 2020, 13:50
Forum: Bug reports
Topic: coppeliaSim crash problem
Replies: 7
Views: 174

Re: coppeliaSim crash problem

Another solution would be: compile CoppeliaSimLib as headless (i.e if you compile with Qt, add CONFIG += HEADLESS at the top of the c oppeliaSimLib.pro project file). You may also get that binary from us . use the Pov-Ray plugin . Binaries are here . set all vision sensors you want to use the images...
by coppelia
03 Jul 2020, 12:16
Forum: General questions
Topic: Hexapod Example 1
Replies: 5
Views: 78

Re: Hexapod Example 1

You can reproduce that model based on the hexapod.ttm model: simply attach a child script to each leg (or first joint leg) and have each child script be in control of only its own leg. Data or higher-level control could come from the child script attached to the body of the robot. Look here for the ...
by coppelia
02 Jul 2020, 14:17
Forum: Bug reports
Topic: headless bug ?
Replies: 4
Views: 66

Re: headless bug ?

This is because following is causing an error in headless mode: flyModeCameraHandle=sim.getInt32Parameter(sim.intparam_flymode_camera_handle) i.e. because flymode doesn't make sense in headless mode. Remove that and a few of the lines below, and it should work fine. You can test if in headless mode ...
by coppelia
30 Jun 2020, 14:48
Forum: Bug reports
Topic: coppeliaSim crash problem
Replies: 7
Views: 174

Re: coppeliaSim crash problem

as a last option, you can try to change the OpenGL settings via the left-side toolbar button ("User settings", then "Adjust OpenGL settings", then try with a different Offscreen context type.

Cheers
by coppelia
30 Jun 2020, 14:29
Forum: General questions
Topic: Hexapod Example 1
Replies: 5
Views: 78

Re: Hexapod Example 1

Hello,

are you referring to the very old version of the hexapod robot? Where each leg would have its own child script and receive instructions from the body of the robot?
That model is deprecated and not a good example, since it used also deprecated API commands.
What is your purpose with it?

Cheers