dial_plan_v1

Function dial_plan_v1 

Source
pub fn dial_plan_v1(
    req: &DialPlanRequestV1,
) -> Result<DialPlanReportV1, OpticError>
Expand description

Turn a TRUE angular AngularCorrection into ranked dial/hold/hybrid plans for an inline OpticProfile — the JSON bridge’s entry point to plan_corrections.

Contains NO arithmetic beyond the yards-to-metres conversion: everything else is plan_corrections itself, so there is no second implementation of the CF rule or the ranking logic to drift from the CLI’s dial-plan command or from plan_corrections’s own tests.