Class ActionFeedback<TFeedback>
Action Feedback.
Implements
Inherited Members
Namespace: Unity.SimulationPro.Foundation
Assembly: Unity.SimulationPro.Foundation.dll
Syntax
public abstract class ActionFeedback<TFeedback> : IMessage where TFeedback : IMessage
Type Parameters
| Name | Description |
|---|---|
| TFeedback | The feedback message type. |
Constructors
ActionFeedback()
Initializes a new ActionFeedback<TFeedback> with default field values.
Declaration
public ActionFeedback()
ActionFeedback(IMessageDeserializer)
Initializes a new ActionFeedback<TFeedback> by reading field values from the specified deserializer.
Declaration
protected ActionFeedback(IMessageDeserializer deserializer)
Parameters
| Type | Name | Description |
|---|---|---|
| IMessageDeserializer | deserializer | The deserializer to read field values from. |
ActionFeedback(HeaderMsg, GoalStatusMsg, TFeedback)
Initializes a new ActionFeedback<TFeedback> with the specified values.
Declaration
public ActionFeedback(HeaderMsg header, GoalStatusMsg status, TFeedback feedback)
Parameters
| Type | Name | Description |
|---|---|---|
| HeaderMsg | header | ROS message header containing timestamp and coordinate frame identifier. |
| GoalStatusMsg | status | Status of the goal this feedback relates to. |
| TFeedback | feedback | The feedback payload reported by the action server. |
Fields
feedback
The feedback.
Declaration
public TFeedback feedback
Field Value
| Type | Description |
|---|---|
| TFeedback |
header
ROS message header containing timestamp and coordinate frame identifier.
Declaration
public HeaderMsg header
Field Value
| Type | Description |
|---|---|
| HeaderMsg |
s_FieldNames
The s_field names.
Declaration
public static string[] s_FieldNames
Field Value
| Type | Description |
|---|---|
| string[] |
status
Status information.
Declaration
public GoalStatusMsg status
Field Value
| Type | Description |
|---|---|
| GoalStatusMsg |
Properties
MessageTypeId
Unique identifier used to register and look up this message type at runtime.
Declaration
public abstract MessageTypeId MessageTypeId { get; }
Property Value
| Type | Description |
|---|---|
| MessageTypeId |
MessageTypeName
The ROS message type name string used for serialization and topic matching.
Declaration
public abstract string MessageTypeName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
WriteTo(IMessageSerializer)
Writes all fields of this message into the specified serializer.
Declaration
public virtual void WriteTo(IMessageSerializer serializer)
Parameters
| Type | Name | Description |
|---|---|---|
| IMessageSerializer | serializer | The serializer to write field values to. |