Removed old commented lines
This commit is contained in:
parent
76bb65d24d
commit
3985512ccb
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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(
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
#include "Carla/Sensor/SceneCaptureCamera.h"
|
||||
|
||||
#include "Runtime/RenderCore/Public/RenderingThread.h"
|
||||
// #include "Runtime/Engine/Public/UnrealEngine.h"
|
||||
|
||||
FActorDefinition ASceneCaptureCamera::GetSensorDefinition()
|
||||
{
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue