I kept the main structure of the demo script, and I just change the parameters of the manipulator.
However, when it was running, the obstacle avoidance failed meanwhile the collision detection worked. Also I was informed as below:
Would anyone tell me which problem I may get into?Lua runtime error: [string "CHILD SCRIPT 0link"]:50: Collection does not exist. (sim.getConfigForTipPose)
stack traceback:
[C]: in function 'getConfigForTipPose'
[string "CHILD SCRIPT 0link"]:50: in function 'findCollisionFreeConfigAndCheckApproach'
[string "CHILD SCRIPT 0link"]:73: in function 'findSeveralCollisionFreeConfigsAndCheckApproach'
[string "CHILD SCRIPT 0link"]:275: in function <[string "CHILD SCRIPT 0link"]:233>