Skip to content

Commit

Permalink
fix(aeries2_decoder): un-mirror the pointcloud
Browse files Browse the repository at this point in the history
  • Loading branch information
mojomex committed Jun 28, 2024
1 parent 165e3f2 commit b6da1ed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ void AevaAries2Decoder::processPointcloudMessage(const aeva::PointCloudMessage &
AevaPoint point;

point.distance = raw_point.range.value();
point.azimuth = raw_point.azimuth.value() * M_PI_2f;
point.azimuth = -raw_point.azimuth.value() * M_PI_2f;
point.elevation = raw_point.elevation.value() * M_PI_4f;

float xy_distance = point.distance * std::cos(point.elevation);
Expand Down

0 comments on commit b6da1ed

Please sign in to comment.