Radar point z value


From the mini dataset, the z value of radar point is non-zero.
Does it mean the radar have antenna elements in elevation?
Or it means something else?


Hi @fjin4. I think there is a misunderstanding here. If you just open the pointcloud directly with

from nuscenes.nuscenes import NuScenes
import os
from nuscenes.utils.data_classes import RadarPointCloud
nusc = NuScenes()
rpc = RadarPointCloud.from_file(os.path.join(nusc.dataroot, nusc.sample_data[0][‘filename’]))
assert (rpc.points[2, :] == 0).all()

then you will see that all z values are 0 (relative to the sensor height). However, if you open them with a function like https://github.com/nutonomy/nuscenes-devkit/blob/master/python-sdk/nuscenes/nuscenes.py#L533 , then it will transform them to pointcloud to a different coordinate system.

1 Like