8#include "CoreMinimal.h"
12#include "ROSIntegration/Public/geometry_msgs/Transform.h"
13#include "ROSIntegration/Public/std_msgs/String.h"
15#include "TransformSensor.generated.h"
17class AGeoReferencingSystem;
32 void Init(AActor* TransformActor,
bool SimulateSensor =
true);
45 virtual void BeginPlay()
override;
47 virtual void EndPlay(
const EEndPlayReason::Type EndPlayReason)
override;
49 virtual void CreateROSTopic()
override;
51 virtual void DestroyROSTopic()
override;
55 void TickParallel(
float DeltaTime);
57 void SendTransformDataToROS(
const FVector& Translation,
const FQuat& Rotation);
59 void SendGnssDataToROS(
const FVector& ActorPosition);
68 FVector PreviousActorPosition = FVector(0.0f, 0.0f, 0.0f);
74 UTopic* GnssTopic =
nullptr;
77 AGeoReferencingSystem* GeoReferencingSystem =
nullptr;