Class GoalStatusDefaultVisualizer
Default visualizer for actionlib_msgs/GoalStatus messages. Displays the goal ID and its human-readable status string in the HUD.
Inheritance
GoalStatusDefaultVisualizer
Inherited Members
Object.GetEntityId()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate<T>(T, InstantiateParameters)
Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.SimulationPro.Foundation.Visualizations
Assembly: Unity.SimulationPro.Foundation.Visualizations.dll
Syntax
public class GoalStatusDefaultVisualizer : GuiVisualizer<GoalStatusMsg>, IVisualFactory, IPriority
Fields
s_GoalStatusTable
Human-readable names for each goal status code, indexed by the status field value.
Declaration
public static string[] s_GoalStatusTable
Field Value
| Type | Description |
|---|---|
| string[] |
Methods
CreateGUI(GoalStatusMsg, MessageMetadata)
Creates a GUI callback that renders an Inspector panel for the message data.
Declaration
public override Action CreateGUI(GoalStatusMsg message, MessageMetadata meta)
Parameters
| Type | Name | Description |
|---|---|---|
| GoalStatusMsg | message | The message data to visualize. |
| MessageMetadata | meta | Metadata about the received message (topic, timestamp, frame). |
Returns
| Type | Description |
|---|---|
| Action | An action that draws the GUI. |
Overrides
GUI(GoalStatusMsg)
Renders a GoalStatusMsg as labels showing the goal ID and resolved status name.
Declaration
public static void GUI(GoalStatusMsg message)
Parameters
| Type | Name | Description |
|---|---|---|
| GoalStatusMsg | message | The message data to visualize. |