Can I get the position of multiple objects at once
Posted: Mon Feb 07, 2022 6:05 am
I'm using pybullet to simulate some object stacking, there be about 1000 objects.
I need to constantly monitor the position of each object,
but getBasePositionAndOrientation() can only get the position of one object, and if I use a for() loop, it will be very slow.
It takes about 5 minutes each time to get the current position of all the objects.
I would like to ask if there is a good solution for this?
I need to constantly monitor the position of each object,
but getBasePositionAndOrientation() can only get the position of one object, and if I use a for() loop, it will be very slow.
It takes about 5 minutes each time to get the current position of all the objects.
I would like to ask if there is a good solution for this?