Function deprecated? sim.addPointCloud()
Posted: 12 Mar 2020, 02:45
Hi, I am using CoppeliaSim 4.0.0 rev4 and found a demo scene workspace.ttt
The Lua script associated with the manipulator LBR_iiwa_7_R800 uses a function that does not seem to appear in the current API:
The workspace calculation seems valid with the KUKA arm, but when I transplanted the code to a UR5 or UR10 arm, the workspace becomes apparently much bigger than it should be.
Also, if I have two arms in the same scene, Lua runtime error comes:
"One of the function's table size is not correct. (sim.addPointCloud)"
Anyone could give a hint? Thanks!
The Lua script associated with the manipulator LBR_iiwa_7_R800 uses a function that does not seem to appear in the current API:
Code: Select all
if usePointCloud then
sim.addPointCloud(0,255,base,0,5,points,{255,255,255,0,0,0,64,64,64,0,0,0},nil,normals)
end
Also, if I have two arms in the same scene, Lua runtime error comes:
"One of the function's table size is not correct. (sim.addPointCloud)"
Anyone could give a hint? Thanks!