Class AccelStampedDefaultVisualizer
Default visualizer for geometry_msgs/AccelStamped messages. Draws a linear-acceleration arrow and an angular-velocity ring, optionally tracking the message frame via TF.
Inheritance
Inherited Members
Namespace: Global Namespace
Assembly: Unity.SimulationPro.Foundation.Visualizations.dll
Syntax
public class AccelStampedDefaultVisualizer : DrawingVisualizer<AccelStampedMsg>, IVisualFactory, IPriority
Fields
m_LengthScale
Scale factor applied to vector magnitudes for visualization.
Declaration
public float m_LengthScale
Field Value
| Type | Description |
|---|---|
| float |
m_Origin
Optional GameObject whose world position serves as the drawing origin; if null, the world origin is used.
Declaration
public GameObject m_Origin
Field Value
| Type | Description |
|---|---|
| GameObject |
m_SphereRadius
Radius in world units for spheres and rings drawn at the origin.
Declaration
public float m_SphereRadius
Field Value
| Type | Description |
|---|---|
| float |
m_Thickness
Line thickness in world units for drawing vectors and arcs.
Declaration
public float m_Thickness
Field Value
| Type | Description |
|---|---|
| float |
Methods
CreateGUI(AccelStampedMsg, MessageMetadata)
Creates a GUI callback that renders an Inspector panel for the message data.
Declaration
public override Action CreateGUI(AccelStampedMsg message, MessageMetadata meta)
Parameters
| Type | Name | Description |
|---|---|---|
| AccelStampedMsg | 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
Draw(Drawing3d, AccelStampedMsg, MessageMetadata)
Draws a 3D visualization of the message data.
Declaration
public override void Draw(Drawing3d drawing, AccelStampedMsg message, MessageMetadata meta)
Parameters
| Type | Name | Description |
|---|---|---|
| Drawing3d | drawing | The 3D drawing context to render into. |
| AccelStampedMsg | message | The message data to visualize. |
| MessageMetadata | meta | Metadata about the received message (topic, timestamp, frame). |