nutonomy / nuscenes-devkit

The devkit of the nuScenes dataset.
https://www.nuScenes.org
Other
2.25k stars 623 forks source link

can_bus assignment to key frames? #1086

Closed seamie6 closed 3 months ago

seamie6 commented 3 months ago

Hello, I am wondering if for the can_bus expansion, there is a look-up table for mapping measurements to keyframes or frames by say supplying a token. For a given scene you can expect 40 key frames, but for the can_bus expansion for the pose field, there are 938 measurements.

A manual way I can think of is just taking the keyframes timestamp and looking for the closest match inside of 'pose' but is there a built-in way to perform this? Thank you

whyekit-motional commented 3 months ago

@seamie6 there isn't a built-in way to do what you described, but I think the manual way which you suggested would work fine