RapyutaSimulationPlugins
Public Member Functions | Public Attributes | List of all members
URRROS2SkeletalMeshStatePublisher Class Reference

Publish pose of owner ARobotVehicle which has skeletalmesh. More...

#include <RRROS2SkeletalMeshStatePublisher.h>

Inheritance diagram for URRROS2SkeletalMeshStatePublisher:
Inheritance graph
[legend]
Collaboration diagram for URRROS2SkeletalMeshStatePublisher:
Collaboration graph
[legend]

Public Member Functions

 URRROS2SkeletalMeshStatePublisher ()
 
void UpdateMessage (UROS2GenericMsg *InMessage) override
 publish pose of owner ARobotVehicle More...
 
void SetTargetRobot (ARobotVehicle *InRobot) override
 Set the Target Robot object. Set first USkeletalMeshComponent to SkeletalMeshComp. More...
 
- Public Member Functions inherited from URRROS2StatePublisher
 URRROS2StatePublisher ()
 
void UpdateMessage (UROS2GenericMsg *InMessage) override
 
void AddEntityToPublish (const FString &InName, const FVector &InPosition, const FRotator &InOrientation, const FString &InRefFrame)
 

Public Attributes

USkeletalMeshComponent * SkeletalMeshComp = nullptr
 
AActor * Map = nullptr
 Reference Actor. More...
 
- Public Attributes inherited from URRROS2StatePublisher
TArray< FROSEntityState > StatesToPublish
 it's responsibility of the owner to update this More...
 
int32 Idx = 0
 
TWeakObjectPtr< ARobotVehicleRobot = nullptr
 
FString FrameId
 
FString ReferenceFrameId
 

Detailed Description

Publish pose of owner ARobotVehicle which has skeletalmesh.

UCLASS()

Constructor & Destructor Documentation

◆ URRROS2SkeletalMeshStatePublisher()

URRROS2SkeletalMeshStatePublisher::URRROS2SkeletalMeshStatePublisher ( )

Member Function Documentation

◆ SetTargetRobot()

void URRROS2SkeletalMeshStatePublisher::SetTargetRobot ( ARobotVehicle InRobot)
overridevirtual

Set the Target Robot object. Set first USkeletalMeshComponent to SkeletalMeshComp.

Parameters
InRobot

Reimplemented from URRROS2StatePublisher.

◆ UpdateMessage()

void URRROS2SkeletalMeshStatePublisher::UpdateMessage ( UROS2GenericMsg *  InMessage)
override

publish pose of owner ARobotVehicle

Todo:
update to use conversion utils to convert UE to ROS coordinate.
Parameters
InMessage

Member Data Documentation

◆ Map

AActor* URRROS2SkeletalMeshStatePublisher::Map = nullptr

◆ SkeletalMeshComp

USkeletalMeshComponent* URRROS2SkeletalMeshStatePublisher::SkeletalMeshComp = nullptr

The documentation for this class was generated from the following file: