Search found 16 matches

by Hacher
11 Apr 2025, 09:28
Forum: General questions
Topic: How to put an object on the ground and make it contact with the ground exactly?
Replies: 1
Views: 1983

How to put an object on the ground and make it contact with the ground exactly?

When I try to put an object(a cube, for example), I have to use the item shift function to drag or input the position to change this object, but it always have little distance between the ground and the object, and if I drag too much, it will pass through the ground. How to make the target object ...
by Hacher
07 Feb 2025, 03:45
Forum: General questions
Topic: How to check if the configuration cause collision between robot and floor?
Replies: 1
Views: 861

How to check if the configuration cause collision between robot and floor?

When I use the function 'sim.checkCollision', it cannot detect the collsion between floor and robot. Even though the configration that input to the function may cause collision with floor obviously. My code is following:

function sysCall_thread()
robotCollection=sim.createCollection()
sim ...
by Hacher
06 Feb 2025, 02:32
Forum: General questions
Topic: How to call simIK module function in external application ?
Replies: 1
Views: 1326

How to call simIK module function in external application ?

Can function of simIK module(for example, simIK.addElement) be called and used in the external application script ?
by Hacher
17 Jan 2025, 08:22
Forum: General questions
Topic: How to pass a list variable from external application to the script of the server?
Replies: 3
Views: 2506

Re: How to pass a list variable from external application to the script of the server?

Thank you for your reply.
Additionally, I wanna ask that how to make sure how much joint position will chang within each step when drive joint through 'sim.moveToConfig_step' ?
by Hacher
16 Jan 2025, 14:08
Forum: General questions
Topic: How to pass a list variable from external application to the script of the server?
Replies: 3
Views: 2506

How to pass a list variable from external application to the script of the server?

The function I use(sim.moveToConfig) can only be used in the thread script, while the parameter of this function can only be caculated by the external application. Therefore, I wonder konw that is there way to pass the result caculate by the external applicatioin to the sever so that the thread ...
by Hacher
15 Jan 2025, 09:59
Forum: General questions
Topic: How to use the function 'sim.moveToPose()'
Replies: 3
Views: 1689

Re: How to use the function 'sim.moveToPose()'

Thkans for your reply. I have undertood how to use this function, but the trajectory planed by this function may have collision with the ground, is there any method to aviod such collision?

Looking forward to your reply. Thank you.
by Hacher
14 Jan 2025, 13:13
Forum: General questions
Topic: How to use the function 'sim.moveToPose()'
Replies: 3
Views: 1689

How to use the function 'sim.moveToPose()'

I'm trying to use function 'sim.moveToPose()' to make a point to point movement, but I got some problems.
My code:
sim=require'sim'
function sysCall_init()
a=sim.setInt32Signal('RG2_open',0)
end
function sysCall_thread()
local euler={0, -90, 0}
local position={-0.68781, -0.110, 0.31352}
local ...
by Hacher
14 Jan 2025, 04:21
Forum: General questions
Topic: How to ensure that the end gripper and the robot arm always maintain a rigid connection?
Replies: 1
Views: 1233

How to ensure that the end gripper and the robot arm always maintain a rigid connection?

How to ensure that the end gripper and the robot arm always maintain a rigid connection and do not bend at the connection position when there is a load?
As shown in this figure,the gripper and the robot manipulator separate when there is a load on the gripper.
url of figure:
https://imgur.com/a ...
by Hacher
14 Jan 2025, 03:35
Forum: Bug reports
Topic: Strange behaviour of object.
Replies: 2
Views: 4850

Re: Strange behaviour of object.

This problem has been solved.
Don't select "convex hull of non-convex collision links" when import urdf can solve this problem.
by Hacher
14 Jan 2025, 02:40
Forum: Bug reports
Topic: Strange behaviour of object.
Replies: 2
Views: 4850

Strange behaviour of object.

The model imported as URDF has strange behaviour when it comes into contact with other objects.
You can see that in following video:
https://youtu.be/p6sPWxTQ0cE
this truss will just fly away when it is seized by the gripper.
And if I Replacing the trusses with cubes added directly from coppeliasim ...