Search found 1020 matches
- 02 May 2024, 19:46
- Forum: General questions
- Topic: How can I make an Object Un-Detectable through LUA
- Replies: 2
- Views: 42
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...
- 02 May 2024, 19:44
- Forum: General questions
- Topic: i can't custom my table
- Replies: 1
- Views: 32
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...
- 30 Apr 2024, 08:59
- Forum: General questions
- Topic: Add Custom ompl planner to coppeliasim
- Replies: 1
- Views: 52
- 26 Apr 2024, 18:33
- Forum: General questions
- Topic: Control the joint to rotate more than 360 degrees
- Replies: 5
- Views: 175
Re: Control the joint to rotate more than 360 degrees
config[1]
is the numeric parameter that goes from 0 to 1- 25 Apr 2024, 12:50
- Forum: General questions
- Topic: Vision sensor object masks
- Replies: 4
- Views: 128
- 25 Apr 2024, 12:49
- Forum: Bug reports
- Topic: Pb of refresh through remote connexion
- Replies: 3
- Views: 61
Re: Pb of refresh through remote connexion
Thanks for sharing your solution!
- 25 Apr 2024, 08:05
- Forum: General questions
- Topic: How to export point cloud data
- Replies: 1
- Views: 102
Re: How to export point cloud data
Read point cloud content with sim.getPointCloudPoints and write to text file:
Code: Select all
local points = sim.getPointCloudPoints(pointCloudHandle)
local f = assert(io.open(filename, 'w'))
for i = 1, #points, 3 do
f:write(string.format('%f, %f, %f\n', points[i], points[i+1], points[i+2]))
end
f:close()
- 25 Apr 2024, 08:00
- Forum: General questions
- Topic: Question about sim.setJointTargetPosition vs. sim.setJointPosition
- Replies: 1
- Views: 66
Re: Question about sim.setJointTargetPosition vs. sim.setJointPosition
Wether you can directly set the joint position or not depends in which joint mode and control mode the joint is.
- 25 Apr 2024, 07:54
- Forum: General questions
- Topic: how to get objects handles of the IRB360 model using Matlab
- Replies: 3
- Views: 90
Re: how to get objects handles of the IRB360 model using Matlab
Paths starting with
More info at https://manual.coppeliarobotics.com/en/ ... bjects.htm
.
are only available from associated code.More info at https://manual.coppeliarobotics.com/en/ ... bjects.htm
- 24 Apr 2024, 17:05
- Forum: General questions
- Topic: Control the joint to rotate more than 360 degrees
- Replies: 5
- Views: 175
Re: Control the joint to rotate more than 360 degrees
It is correct to use sim.moveToConfig. You can use a 1-dimensional config, starting from {0} , ending in {1} , which would be the parameter for interpolation between an initial and a final config/position/pose. To interpolate between 2 joint positions you can use (1 - config[1]) * initialJointPos + ...