plan_to_goal
Plans the next action to reach a goal by encoding current and goal observations, searching action sequences via latent MPC, and returning the first action of the best plan. Replan each step for receding-horizon control.
Instructions
Plan the next action that drives the agent toward a goal, via latent MPC.
Encodes the current and goal observations, searches action sequences by rolling the world model forward in latent space (cross-entropy method), and returns the first action of the best plan. Call repeatedly (replanning each step) to follow a receding-horizon trajectory to the goal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| current_obs | Yes | ||
| goal_obs | Yes |