Go to the documentation of this file.
21 #include <Components/ActorComponent.h>
23 #include <CoreMinimal.h>
37 #include "ROS2Topic.generated.h"
41 DECLARE_LOG_CATEGORY_EXTERN(LogROS2Topic, Log, All);
57 #define IS_TOPIC_INITED(InNode, InName, OutRes) \
67 LogROS2Topic, Warning, TEXT(
"[%s] Publisher/Subscriber is not initialized yet. Please initialize Action."), *InName); \
144 virtual bool InitializeMessage();
161 virtual void Destroy();
205 TEnumAsByte<UROS2State> State = UROS2State::Created;
299 if (QoSProfile.IsSet())
303 return QoSProfile.GetValue();
326 virtual void InitializeTopicComponent();
#define IS_ROS2NODE_INITED(InNode, InName, OutRes)
Check UROS2NodeComponent is initialized or not.
Definition: ROS2NodeComponent.h:731
TOptional< rmw_qos_profile_t > QoSProfile
Optional custom QoS profile.
Definition: ROS2Topic.h:266
UROS2QoS
used to set QoS policies
Definition: rclcUtilities.h:177
rmw_qos_profile_t GetEffectiveQoS() const
Get the effective QoS profile to use for this topic.
Definition: ROS2Topic.h:295
TSubclassOf< UROS2GenericMsg > MsgClass
this information is redundant with Topic, but it's needed to initialize it
Definition: ROS2Topic.h:183
Header containing utilities and includes that are needed/useful in almost any class in rclUE.
static const TMap< UROS2QoS, rmw_qos_profile_t > QoS_LUT
Look-Up Table matching enum with rcl profiles.
Definition: rclcUtilities.h:319
UROS2GenericMsg * TopicMessage
Message Instance.
Definition: ROS2Topic.h:277
Class implementing ROS2 node.
Definition: ROS2NodeComponent.h:782
ROS2 topic class. Parent class of UROS2Publisher and UROS2Subscriber.
Definition: ROS2Topic.h:88
This should be refactored with other generic ROS2 types (Msgs, Sensors, Actions).
@ Initialized
UMETA(DisplayName = "Created"),.
Definition: rclcUtilities.h:158
This should be refactored with other generic ROS2 types (Msgs, Sensors, Actions).
Definition: ROS2GenericMsg.h:46
Class implementing ROS2 node.