Skip to content

Commit b6da1ed

Browse files
committed
fix(aeries2_decoder): un-mirror the pointcloud
1 parent 165e3f2 commit b6da1ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nebula_decoders/src/nebula_decoders_aeva/aeva_aries2_decoder.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ void AevaAries2Decoder::processPointcloudMessage(const aeva::PointCloudMessage &
4646
AevaPoint point;
4747

4848
point.distance = raw_point.range.value();
49-
point.azimuth = raw_point.azimuth.value() * M_PI_2f;
49+
point.azimuth = -raw_point.azimuth.value() * M_PI_2f;
5050
point.elevation = raw_point.elevation.value() * M_PI_4f;
5151

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

0 commit comments

Comments
 (0)