Parameters
Robot state as numpy array or list (concatenation of joints and gripper).
Optional real-time-chunking params (see :py:meth:
preprocess). When set, the server runs the RTC path and returns a prev_chunk field to feed back on the next call.Previous predicted chunk fed back as RTC guidance (None on the first call).
Returns
Action dictionary containing:- “actions”: numpy array of shape (horizon, action_dim) with predicted actions
- “prev_chunk”: (RTC only) chunk to feed back on the next call
- Other fields from policy.infer() (e.g., “state”, “policy_timing”, etc.)