I was using CoppeliaSim Edu, ver. 4.2.0, and I'm a beginner.
When I was studying the Рioneer_p3dx script, I became interested in these
two lines (nn 4, 5):
Code: Select all
sim.addItemToCollection(obstacles,sim.handle_all,-1,0)
sim.addItemToCollection(obstacles,sim.handle_tree,robot,0)
What are they doing? Perhaps the second line should look like this:
Code: Select all
sim.addItemToCollection(obstacles,sim.handle_tree,robot, 1)
Andrey