Skip to content

Commit

Permalink
fix build error at galactic enviroment
Browse files Browse the repository at this point in the history
Signed-off-by: scepter914 <scepter914@gmail.com>
  • Loading branch information
scepter914 committed Nov 24, 2022
1 parent eb8ce30 commit a1d1d70
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ pcl::PointXYZI getPointXYZI(const radar_msgs::msg::RadarReturn & radar, float in
const float x = r_xy * std::cos(radar.azimuth);
const float y = r_xy * std::sin(radar.azimuth);
const float z = radar.range * std::sin(radar.elevation);
return pcl::PointXYZI{x, y, z, intensity};
pcl::PointXYZI point{x, y, z, intensity};
return point;
}

pcl::PointCloud<pcl::PointXYZI> toAmplitudePCL(const radar_msgs::msg::RadarScan & radar_scan)
Expand Down

0 comments on commit a1d1d70

Please sign in to comment.