Search found 1025 matches

by fferri
09 May 2024, 10:10
Forum: General questions
Topic: When the arm grabs the object, it slips away
Replies: 1
Views: 40

Re: When the arm grabs the object, it slips away

That can happen when grasping objects in a dynamics simulation. You can increase grasping force or you can increase friction of materials. Or if you don't need dynamic grasping, after a completed grasp, you can rigidly attach the object to the gripper (via a force sensor) before moving the arm. See ...
by fferri
09 May 2024, 10:07
Forum: General questions
Topic: Looking for example of random pick and place
Replies: 2
Views: 46

Re: Looking for example of random pick and place

Hi,

demo scene scenes/pickAndPlaceDemo.ttt does that.
by fferri
08 May 2024, 14:22
Forum: General questions
Topic: python API function; joint name ambiguity
Replies: 1
Views: 65

Re: python API function; joint name ambiguity

Remote API: https://manual.coppeliarobotics.com/en/ ... erview.htm

The function to use is sim.getObject (see the example in the above page).
by fferri
08 May 2024, 10:13
Forum: General questions
Topic: Make the robot move along a path
Replies: 6
Views: 582

Re: Make the robot move along a path

mecabot wrote: 07 May 2024, 20:43 Could you please provide a piece of code I can use to use the path information? thanks
https://manual.coppeliarobotics.com/en/paths.htm
by fferri
06 May 2024, 13:13
Forum: General questions
Topic: Make the robot move along a path
Replies: 6
Views: 582

Re: Make the robot move along a path

Simply move the IK target dummy onto the (interpolated) pose returned by sim.getPathInterpolatedConfig. The script of the robot will handle IK, e.g. moving the arm so that IK tip's pose matches IK target's pose (you have to create such script / add IK handling to such script: there's plenty of examp...
by fferri
02 May 2024, 19:46
Forum: General questions
Topic: How can I make an Object Un-Detectable through LUA
Replies: 2
Views: 380

Re: How can I make an Object Un-Detectable through LUA

Object special property value is a bit mask. To set the detectable flag: local oldVal = sim.getObjectSpecialProperty(objectHandle) sim.setObjectSpecialProperty(objectHandle, oldVal | sim.objectspecialproperty_detectable) To clear the detectable flag: local oldVal = sim.getObjectSpecialProperty(objec...
by fferri
02 May 2024, 19:44
Forum: General questions
Topic: i can't custom my table
Replies: 1
Views: 153

Re: i can't custom my table

You can customize the customizable table by opening its script and changing the variables related to table's geometry: -- lua tableConfig.length = 1.4 tableConfig.width = 0.8 tableConfig.height = 0.67 tableConfig.color1 = {0.8, 0.73, 0.7} tableConfig.color2 = {0.57, 0.47, 0.47} After modifying the s...
by fferri
26 Apr 2024, 18:33
Forum: General questions
Topic: Control the joint to rotate more than 360 degrees
Replies: 5
Views: 544

Re: Control the joint to rotate more than 360 degrees

config[1] is the numeric parameter that goes from 0 to 1
by fferri
25 Apr 2024, 12:50
Forum: General questions
Topic: Vision sensor object masks
Replies: 4
Views: 447

Re: Vision sensor object masks

fferri wrote: 22 Apr 2024, 09:25 handle = rgbData[3*i+0]+(rgbData[3*i+1]<<8)+(rgbData[3*i+2]<<16)