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

Odometry Topic and TF publisher of ARRBaseRobot. More...

#include <RRROS2OdomPublisher.h>

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

Public Member Functions

 URRROS2OdomPublisher ()
 Construct a new URRROS2OdomPublisher object. More...
 
virtual bool InitializeWithROS2 (UROS2NodeComponent *InROS2Node) override
 
void InitializeTFWithROS2 (UROS2NodeComponent *InROS2Node)
 
void UpdateMessage (UROS2GenericMsg *InMessage) override
 
bool GetOdomData (FROSOdom &OutOdomData) const
 Convert UE->ROS, Append Namespace to ChildFrameId and update TF data. More...
 
- Public Member Functions inherited from URRROS2BaseSensorPublisher
 URRROS2BaseSensorPublisher ()
 

Public Attributes

URRROS2TFPublisherTFPublisher = nullptr
 
bool bPublishOdomTf = false
 Publish tf or not. More...
 
bool bAppendNodeNamespace = true
 add robot name to the frame_id and ChildFrameId or not. More...
 
- Public Attributes inherited from URRROS2BaseSensorPublisher
URRROS2BaseSensorComponentDataSourceComponent = nullptr
 

Detailed Description

Odometry Topic and TF publisher of ARRBaseRobot.

See also
UROS2Publisher

UCLASS(ClassGroup = (Custom), Blueprintable, meta = (BlueprintSpawnableComponent))

Constructor & Destructor Documentation

◆ URRROS2OdomPublisher()

URRROS2OdomPublisher::URRROS2OdomPublisher ( )

Construct a new URRROS2OdomPublisher object.

Member Function Documentation

◆ GetOdomData()

bool URRROS2OdomPublisher::GetOdomData ( FROSOdom &  OutOdomData) const

Convert UE->ROS, Append Namespace to ChildFrameId and update TF data.

Parameters
OutOdomData
Returns
true
false

◆ InitializeTFWithROS2()

void URRROS2OdomPublisher::InitializeTFWithROS2 ( UROS2NodeComponent *  InROS2Node)

◆ InitializeWithROS2()

virtual bool URRROS2OdomPublisher::InitializeWithROS2 ( UROS2NodeComponent *  InROS2Node)
overridevirtual

◆ UpdateMessage()

void URRROS2OdomPublisher::UpdateMessage ( UROS2GenericMsg *  InMessage)
overridevirtual

Reimplemented from URRROS2BaseSensorPublisher.

Member Data Documentation

◆ bAppendNodeNamespace

bool URRROS2OdomPublisher::bAppendNodeNamespace = true

add robot name to the frame_id and ChildFrameId or not.

UPROPERTY(BlueprintReadWrite)

◆ bPublishOdomTf

bool URRROS2OdomPublisher::bPublishOdomTf = false

Publish tf or not.

UPROPERTY(BlueprintReadWrite)

◆ TFPublisher

URRROS2TFPublisher* URRROS2OdomPublisher::TFPublisher = nullptr

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