|
Agrarsense
|
#include <DataCapture.h>


Public Member Functions | |
| ADataCapture (const FObjectInitializer &ObjectInitializer) | |
| void | SetupDataCapture (FCaptureData NewCaptureData) |
Protected Member Functions | |
| virtual void | BeginPlay () override |
| virtual void | Tick (float DeltaTime) override |
| virtual void | EndPlay (const EEndPlayReason::Type EndPlayReason) override |
Private Member Functions | |
| void | Capture () |
| void | UpdatePositions (const FTransform &Transform) |
| void | CaptureDataNow () |
| void | DestroySensors () |
Private Attributes | |
| FCaptureData | CaptureData |
| ECaptureStep | CaptureStep = ECaptureStep::WaitingForPositionUpdate |
| int32 | FrameCounter = 0 |
| bool | NeedsPositionUpdate = true |
Definition at line 78 of file DataCapture.h.
| ADataCapture::ADataCapture | ( | const FObjectInitializer & | ObjectInitializer | ) |
Definition at line 18 of file DataCapture.cpp.
|
overrideprotectedvirtual |
Definition at line 159 of file DataCapture.cpp.
|
private |
Definition at line 178 of file DataCapture.cpp.
References CaptureData, CaptureDataNow(), FCaptureData::CapturePositions, CaptureStep, Capturing, FCaptureData::CurrentCaptureIndex, Destroy, DestroySensors(), FrameCounter, FCaptureData::FramesToKeepInSamePosition, UpdatePositions(), WaitingAfterCapture, WaitingAfterPositionUpdate, and WaitingForPositionUpdate.
Referenced by Tick().
|
private |
Definition at line 267 of file DataCapture.cpp.
References FCaptureData::Cameras, CaptureData, FCaptureData::Lidars, ACamera::SaveCurrentFrameToDisk(), and ALidar::SaveCurrentPointCloudToDisk().
Referenced by Capture().
|
private |
Definition at line 288 of file DataCapture.cpp.
References CaptureData, and FCaptureData::Sensors.
Referenced by Capture(), and SetupDataCapture().
|
overrideprotectedvirtual |
Definition at line 170 of file DataCapture.cpp.
References FCaptureData::Cameras, CaptureData, and FCaptureData::CapturePositions.
| void ADataCapture::SetupDataCapture | ( | FCaptureData | NewCaptureData | ) |
Definition at line 27 of file DataCapture.cpp.
References UPhysicsUtilities::AlignTransformFromGroundInMeters(), FCaptureData::Cameras, CaptureData, FCaptureData::CapturePositions, FCaptureData::CaptureRotatedViews, ACamera::ChangeCameraParameters(), Destroy, DestroySensors(), UCoordinateConversionUtilities::GeographicToUnrealCoordinates(), ACamera::GetCameraParameters(), FCaptureData::Lidars, SimulatorLog::Log(), FCameraBaseParameters::SaveImageToDisk, FCameraBaseParameters::SendDataToROS, FCaptureData::Sensors, UpdatePositions(), FCaptureData::UseGPSLocation, and FCaptureData::UseHeightAboveGround.
Referenced by USimulatorJsonParser::ParseDataCapture().
|
overrideprotectedvirtual |
Definition at line 164 of file DataCapture.cpp.
References Capture().
|
private |
Definition at line 244 of file DataCapture.cpp.
References CaptureData, ALidar::ForceClearContainers(), FCaptureData::Lidars, FCaptureData::Sensors, and Transform.
Referenced by Capture(), and SetupDataCapture().
|
private |
Definition at line 110 of file DataCapture.h.
Referenced by Capture(), CaptureDataNow(), DestroySensors(), EndPlay(), SetupDataCapture(), and UpdatePositions().
|
private |
Definition at line 112 of file DataCapture.h.
Referenced by Capture().
|
private |
Definition at line 114 of file DataCapture.h.
Referenced by Capture().
|
private |
Definition at line 116 of file DataCapture.h.