which translates the radar data from the ego-frame of when RADAR_FRONT was captured into the coordinate system of the REFERENCE CAMERA, as the 0th index represents the transformation from ego-frame to REF_CAMs coordinate frame.
To my understanding, when creating the radar data in get_radar_data(), shouldn't we instead be originally translating the radar data into ego-frame of when REFERENCE CAMERA was captured if we wanted everything to be perfect? ie:
ref_sd_token = sample_rec['data']['REF_CAM']
The difference in position in ego-frame between these two would not be substantial at all, and I do not think it would provide much benefit but is this correct? Thank you
I think there is a slight issue with translating between different coordinate frames when constructing the radar data and preparing it for training.
In the
get_radar_data()
function insidenuscenesdataset.py
file we have the code excerpt:The end result is all the radar data in stored in reference to the ego-frame of when RADAR_FRONT was captured for the current record.
Then in
train_nuscenes.py
we have:which translates the radar data from the ego-frame of when RADAR_FRONT was captured into the coordinate system of the REFERENCE CAMERA, as the 0th index represents the transformation from ego-frame to REF_CAMs coordinate frame.
To my understanding, when creating the radar data in
get_radar_data()
, shouldn't we instead be originally translating the radar data into ego-frame of when REFERENCE CAMERA was captured if we wanted everything to be perfect? ie:The difference in position in ego-frame between these two would not be substantial at all, and I do not think it would provide much benefit but is this correct? Thank you