Closed anderwm closed 8 years ago
I would also like to have this feature in indigo too. @anderwm would you mind to create this request targeting indigo-devel too?
Plus if it takes longer than 30 seconds you get virtually no time penalty since the warned flag will resolve that if statement immediately.
Oh, one more thing, please use ros::WallTime
. Otherwise the logic will break in simulation.
It looks like the "exclusion" of shapes is what takes very long, not the initial loading.
Ok then this looks good, +1
… complicated, this commit adds a warning for that case. If the excludeRobotLinksFromOctree() is takes longer than 30 seconds this prints a one time warning.