Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Item Limit in Collision Map

#1
Hello,

Is there a maximum number of items that a collision map can consider? At the end of populating a station, I set all the collision pairs using `Robolink.setCollisionActivePair()`. For some of my larger programs (more items) the collision map seems to unintentionally get reset and loose all the mapping. I have run some tests and found that, if I add one more additional item to the station, the collision map gets reset.
#2
The default maximum number of items in the collision map in RoboDK to be remembered is 200 objects. If you add more items beyond this limit, the collision map may reset and lose all mappings.

To avoid this, you can disable the limit by running the API command:
Code:
RDK.Command("CollisionMapMaxSize", -1)
or by launching RoboDK with the command line argument:
Code:
-CollisionMapMaxSize=-1
This will allow you to handle more items without the collision map resetting.
#3
Ok great. Thank you so much Albert!
  




Users browsing this thread:
2 Guest(s)