Skip to content
Back to skills

Mpc Optimization

ASecurity

"Configures cuRobo trajectory optimization, rollout costs, and CUDA

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
toolsgoreactapi

Works with

  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill mpc-optimization --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mpc Optimization?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Mpc Optimization
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-mpc-optimization/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-mpc-optimization)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: mpc-optimization
description: "Configures cuRobo trajectory optimization, rollout costs, and CUDA
  MPC loops for smooth, collision-aware robot control."
disable-model-invocation: true
metadata:
  disco-role: operating
license: NOASSERTION
---

# Optimization and MPC

Use this route for B-spline trajectory optimization, MPC action sequences,
custom costs/rollouts, optimizer stages, or reactive control design. Read
[api-reference.md](references/api-reference.md) and
[workflows.md](references/workflows.md) before constructing internal configs.

## Core workflow

1. Choose `TrajectoryOptimizerCfg.create` for offline trajectory generation or
   `ModelPredictiveControlCfg.create` for receding-horizon control. Keep robot,
   optimizer, rollout, transition, metrics, and scene YAMLs from compatible
   families.
2. Configure `DeviceCfg`, collision/self-collision, tolerances, horizon/dt,
   seeds, and `use_cuda_graph=True`. Construct only after a CUDA probe.
3. For trajopt, call `solve_pose`, `solve_cspace`, or `solve_state`; inspect
   convergence, costs, collision metrics, and interpolated trajectory.
4. For MPC, update current state and goal/tool pose, then call
   `optimize_next_action` or `optimize_action_sequence`. Warm-start from the
   previous solution and use safe deceleration on failure.
5. Disable graphs only in a bounded debug/test pass. The included
   [scripts/optimization_smoke.py](scripts/optimization_smoke.py) checks
   configuration and optimizer construction without a long control loop.

For scene schemas use [collision-scenes](../collision-scenes/SKILL.md); for a
composed planner use [motion-planning](../motion-planning/SKILL.md).

Files in this skill

  • SKILL.md1.6 KB
  • references/api-reference.md1.1 KB
  • references/troubleshooting.md968 B
  • references/workflows.md1 KB
  • scripts/optimization_smoke.py1.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.