Evo r2r mpc controller

From OpenLAIR/OpenSkill · View interactive version

Evo r2r mpc controller is an AI agent skill from the GitHub repository OpenLAIR/OpenSkill. Implements MPC controller with prediction matrices, QP formulation, simulation loop for R2R web handling. Generates controller_params.json, control_log.json, and metrics.json.

How to use this skill

Skill file

evo-r2r-mpc-controller

MPC controller for 6-section R2R system with reference step tracking.

Usage

import sys
sys.path.insert(0, '/app/environment/skills/evo-r2r-mpc-controller/scripts')
from utils import (
    build_prediction_matrices,
    build_qp_matrices,
    solve_mpc_step,
    run_simulation_loop,
    compute_performance_metrics,
    save_output_files
)

Key Functions

Output Files

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.