Haoran-SONG / PiP-Planning-informed-Prediction

(ECCV 2020) PiP: Planning-informed Trajectory Prediction for Autonomous Driving
http://song-haoran.com/planning-informed-prediction/
176 stars 45 forks source link

数据预处理 #16

Open sybhdfw opened 9 months ago

sybhdfw commented 9 months ago

您好,我在读您这篇文章代码的时候发现在处理目标车辆的历史轨迹数据与邻居车辆的历史轨迹数据时有 wholePeriod 参数,在处理目标车辆历史轨迹时wholePeriod参数置0,即以最后观察时刻为原点,在处理邻居车辆历史轨迹时wholePeriod参数置1,即用邻居车辆每一时刻的坐标减目标车辆对应时刻的坐标,这会使得邻居车辆与目标车辆不在同一坐标系中。所以为什么要在处理邻居车辆历史轨迹时将wholePeriod参数置1呢?

LzyhzfOliver commented 4 months ago

确实存在这个问题,两套坐标体系不同,是不是应该都以目标车辆最后观察时刻为原点?@sybhdfw