{
  "environment": {
    "python": "3.14.3",
    "system": "Windows",
    "machine": "AMD64",
    "numpy": "2.5.5",
    "scipy": "1.18.1",
    "matplotlib": "3.11.2"
  },
  "unit_examples": {
    "wheel_speed_m_s": 0.6283185307179586,
    "marker_field_m": [
      1.0,
      3.0
    ],
    "adc_code_width_mV": 0.8056640625,
    "power_duty": 0.6,
    "lqr_first_limited_step_K": 0.14274387294606072,
    "vertical_forces_N": [
      25.62,
      21.12,
      29.43
    ],
    "scaled_acceleration_m_s2": 0.09999999999999998
  },
  "identification": {
    "gain_K_W": 1.8024533163378014,
    "tau_s": 2.4064789945934857,
    "holdout_mean_K": -0.0005169482640058499,
    "holdout_rmse_K": 0.015223483747380227
  },
  "estimation": {
    "fixes": 32,
    "dead_rmse_m": 1.3374219210409608,
    "filter_rmse_m": 0.07375028622246081,
    "sigma_6_m": 0.04318938123040926,
    "sigma_9_5_m": 0.3402075459031692,
    "low_pass_step": [
      0.0,
      0.25,
      0.4375,
      0.578125,
      0.68359375
    ]
  },
  "control": {
    "plant_A": 0.9048374180359595,
    "plant_B": 0.09516258196404048,
    "riccati": 7.7199071226222316,
    "lqr_gain": 3.912260472423212,
    "lqr_pole": 0.5325366101643099,
    "methods": {
      "P + FF": {
        "iae_Ks": 1.2877108822610797,
        "final_bias_K": 0.10209566803410028,
        "peak_W": 1.5,
        "max_temperature_K": 1.006819535684416,
        "final_power_sd_W": 0.03227017568985016
      },
      "PI + FF": {
        "iae_Ks": 1.074404847307883,
        "final_bias_K": 0.013548457092320998,
        "peak_W": 1.5,
        "max_temperature_K": 0.9931062295242588,
        "final_power_sd_W": 0.03130245747805105
      },
      "LQR + FF": {
        "iae_Ks": 0.9845227877980556,
        "final_bias_K": 0.06356107216518526,
        "peak_W": 1.5,
        "max_temperature_K": 1.0119465423321943,
        "final_power_sd_W": 0.06895572949963424
      },
      "ESO + FF": {
        "iae_Ks": 0.6243460254207319,
        "final_bias_K": 0.0034735576582734353,
        "peak_W": 1.5,
        "max_temperature_K": 1.0134919528376116,
        "final_power_sd_W": 0.028773685473538393
      },
      "MPC": {
        "iae_Ks": 0.9419634139871649,
        "final_bias_K": 0.05955795312325862,
        "peak_W": 1.5,
        "max_temperature_K": 1.0028913704011926,
        "final_power_sd_W": 0.054486236794258416
      }
    },
    "eso_rmse_W": {
      "clean, w = 3": 4.101021063101642e-06,
      "noisy, w = 3": 0.012763475605404312,
      "noisy, w = 7": 0.07743599302360879
    },
    "mpc_excerpt": [
      {
        "k": 7,
        "x_K": 0.7679910925550225,
        "planned_W": [
          1.5,
          1.5,
          1.25
        ],
        "predicted_K": [
          0.7679910925550225,
          0.8376509502081629,
          0.900681795947783,
          0.9339238181724334
        ]
      },
      {
        "k": 8,
        "x_K": 0.8331343084533966,
        "planned_W": [
          1.5,
          1.25,
          1.25
        ],
        "predicted_K": [
          0.8331343084533966,
          0.8965949694842068,
          0.9302259046671701,
          0.9606564332242575
        ]
      },
      {
        "k": 9,
        "x_K": 0.8833839814178653,
        "planned_W": [
          1.5,
          1.25,
          1.0
        ],
        "predicted_K": [
          0.8833839814178653,
          0.942062753826528,
          0.971366857255292,
          0.9740916610486233
        ]
      }
    ],
    "mpc_limit_demo": {
      "x0_K": 1.08,
      "r_K": 1.3,
      "limit_K": 1.1,
      "constrained_W": [
        1.25,
        1.0,
        1.0
      ],
      "relaxed_W": [
        1.5,
        1.5,
        1.5
      ]
    },
    "mpc_us": {
      "n": 120,
      "median": 24.2,
      "maximum": 62.7
    }
  },
  "frequency": {
    "P": {
      "crossover_rad_s": 1.7320508075688772,
      "phase_margin_deg": 114.04564792944464,
      "closed_bandwidth_rad_s": 3.4536651040583233,
      "noise_gain_20": 0.10978305961036626
    },
    "P + lead": {
      "crossover_rad_s": 3.6558753567185667,
      "phase_margin_deg": 129.4888972107071,
      "closed_bandwidth_rad_s": 21.81131356545089,
      "noise_gain_20": 0.49397370091509485
    }
  },
  "planning": {
    "time_bounds_s": [
      2.25,
      2.080895725143909,
      1.8171205928321394
    ],
    "duration_s": 2.25,
    "mid_q_m": 0.3,
    "peak_v_m_s": 0.5,
    "peak_a_m_s2": 0.6842669857062231,
    "peak_j_m_s3": 3.1604938271604937,
    "brake_distance_m": 0.09,
    "brake_peak_a_m_s2": 0.75,
    "brake_peak_j_m_s3": 5.0,
    "path_corner_mid_m": [
      0.95,
      0.05
    ],
    "short_triangle_s": 0.7745966692414834,
    "long_trapezoid_s": 1.825
  },
  "speed_profiles": {
    "s_curve_duration_s": 1.9583333333333333,
    "s_curve_segment_durations_s": [
      0.13333333333333333,
      0.4916666666666667,
      0.13333333333333333,
      0.44166666666666665,
      0.13333333333333333,
      0.4916666666666667,
      0.13333333333333333
    ],
    "s_curve_final_position_m": 0.6,
    "s_curve_peak_velocity_m_s": 0.5
  }
}
