Removed old commented lines

This commit is contained in:
Daniel Santos-Olivan 2020-12-15 19:32:19 +01:00 committed by bernat
parent 76bb65d24d
commit 3985512ccb
8 changed files with 0 additions and 11 deletions

View File

@ -32,11 +32,7 @@ void AGnssSensor::Set(const FActorDescription &ActorDescription)
void AGnssSensor::PostPhysTick(UWorld *World, ELevelTick TickType, float DeltaSeconds)
{
// FVector l = ActorToWorld().GetLocation();
// UE_LOG(LogCarla, Warning, TEXT("PostPhysTick: X: %f, Y: %f\n"), l.X, l.Y);
carla::geom::Location Location = GetActorLocation();
carla::geom::GeoLocation CurrentLocation = CurrentGeoReference.Transform(Location);
// Compute the noise for the sensor

View File

@ -180,7 +180,6 @@ float AInertialMeasurementUnit::ComputeCompass()
void AInertialMeasurementUnit::PostPhysTick(UWorld *World, ELevelTick TickType, float DeltaTime)
{
// UE_LOG(LogCarla, Warning, TEXT("IMU - PostPhysTick - frame counter: %d"), FCarlaEngine::GetFrameCounter());
auto Stream = GetDataStream(*this);
Stream.Send(
*this,

View File

@ -34,7 +34,6 @@ public:
void SetOwner(AActor *Owner) override;
// void PrePhysTick(float DeltaTime) override;
virtual void PostPhysTick(UWorld *World, ELevelTick TickType, float DeltaTime) override;
const carla::geom::Vector3D ComputeAccelerometerNoise(

View File

@ -27,7 +27,6 @@ public:
void Set(const FActorDescription &Description) override;
// void PrePhysTick(float DeltaSeconds) override;
virtual void PostPhysTick(UWorld *World, ELevelTick TickType, float DeltaSeconds) override;
private:

View File

@ -35,7 +35,6 @@ public:
virtual void Set(const FActorDescription &Description) override;
virtual void Set(const FLidarDescription &LidarDescription) override;
// virtual void PrePhysTick(const float DeltaTime);
virtual void PostPhysTick(UWorld *World, ELevelTick TickType, float DeltaTime);
private:

View File

@ -40,7 +40,6 @@ public:
virtual void Set(const FLidarDescription &LidarDescription);
protected:
// virtual void PrePhysTick(float DeltaTime) override;
virtual void PostPhysTick(UWorld *World, ELevelTick TickType, float DeltaTime) override;
/// Creates a Laser for each channel.

View File

@ -8,7 +8,6 @@
#include "Carla/Sensor/SceneCaptureCamera.h"
#include "Runtime/RenderCore/Public/RenderingThread.h"
// #include "Runtime/Engine/Public/UnrealEngine.h"
FActorDefinition ASceneCaptureCamera::GetSensorDefinition()
{

View File

@ -70,7 +70,6 @@ ASceneCaptureSensor::ASceneCaptureSensor(const FObjectInitializer &ObjectInitial
CaptureComponent2D->bCaptureOnMovement = false;
CaptureComponent2D->bCaptureEveryFrame = false;
CaptureComponent2D->bAlwaysPersistRenderingState = true;
// CaptureComponent2D->CaptureSource = ESceneCaptureSource::SCS_FinalColorHDR;
SceneCaptureSensor_local_ns::SetCameraDefaultOverrides(*CaptureComponent2D);