Hi
how would I get the z coordinate of the ego_pose ? Would I use nusc.ego_pose[] ? Do I need to use the rotation as well ?
Thanks
Hi
how would I get the z coordinate of the ego_pose ? Would I use nusc.ego_pose[] ? Do I need to use the rotation as well ?
Thanks
Please work through the tutorial: https://www.nuscenes.org/tutorial
It should be nusc.ego_pose[0]['translation'][2]
Apologies for the confusion. I was thinking of the sample_annotation
.
The localization takes place in 2d, hence we unfortunately do not have a z coordinate.
However, except for a few humps the cities have very few slopes.