Change of type to avoid windows error

This commit is contained in:
Daniel Santos-Olivan 2020-07-29 11:36:33 +02:00 committed by DSantosO
parent 65ae2c0366
commit 64183b025a
2 changed files with 2 additions and 2 deletions

View File

@ -117,7 +117,7 @@ ARayCastLidar::FDetection ARayCastLidar::ComputeDetection(const FHitResult& HitI
}
void ARayCastLidar::ComputeAndSaveDetections(const FTransform& SensorTransform) {
std::vector<u_int32_t> PointsPerChannel(Description.Channels);
std::vector<uint32_t> PointsPerChannel(Description.Channels);
for (auto idxChannel = 0u; idxChannel < Description.Channels; ++idxChannel)
PointsPerChannel[idxChannel] = RecordedHits[idxChannel].size();

View File

@ -138,7 +138,7 @@ void ARayCastRawLidar::SimulateLidar(const float DeltaTime)
}
void ARayCastRawLidar::ComputeAndSaveDetections(const FTransform& SensorTransform) {
std::vector<u_int32_t> PointsPerChannel(Description.Channels);
std::vector<uint32_t> PointsPerChannel(Description.Channels);
for (auto idxChannel = 0u; idxChannel < Description.Channels; ++idxChannel)
PointsPerChannel[idxChannel] = RecordedHits[idxChannel].size();