Is there a function to extract all locations of an instance in a given scene?
That is an analogue to render_egoposes for other actors
How to extract all instance locations
Hi. There is no existing function, but you could easily write one. If you work in global coordinates you just need to get all sample_annotation
s for an instance
and accumulate their translation
s (https://github.com/lyft/nuscenes-devkit/blob/master/schema.md#sample_annotation). Note that these are in global coordinates.
1 Like