UMjZmqComponent¶
Abstract base class for components that communicate with the MuJoCo simulation via ZeroMQ (or similar sockets).
Provides lifecycle hooks (Init/Shutdown) and simulation step hooks (PreStep/PostStep) that are executed on the dedicated MuJoCo physics thread.
| Attribute | Value |
|---|---|
| Kind | Class |
| UE Macro | UCLASS |
| Inherits | UActorComponent |
| Blueprint Spawnable | ✅ Yes |
Functions¶
Public Functions¶
General¶
| Function | Returns | Description |
|---|---|---|
UMjZmqComponent() |
Default constructor. | |
InitZmq() |
void | Called to initialize ZMQ sockets/contexts. Runs on Async thread. |
ShutdownZmq() |
void | Called to shutdown ZMQ resources. Runs on Async thread. |
PreStep() |
void | Executed before mj_step(). |
PostStep() |
void | Executed after mj_step(). |