AutoMovie API
    Preparing search index...

    Class MotionTrajectoryFailure

    A trajectory reached its existing time-resolution guard, with its last rejection. The airborne wrapper consumes this numeric context to explain its physical history and target at the failed probe. Foreign model errors keep their own identity and are never converted to this type.

    Hierarchy

    • Error
      • MotionTrajectoryFailure
    Index
    • Keep the resolution refusal and numeric record; a supplied scope must be a symbol.

      Parameters

      • time: number

        Start of the interval rejected by the existing time-resolution guard, seconds.

      • step: number

        Next attempted step caught by that guard, including its roundoff margin, seconds.

      • Optionalrejection: {
            end?: IEndpoint;
            kind: "rms" | "numeric-dense" | "physical";
            physical?: number;
            probe?: {
                error: number;
                q: IAutoMovieQuaternion;
                time: number;
                w: IAutoMovieVector3;
            };
            rms: number;
            start?: IEndpoint;
            step: number;
        }

        Last rejection since the preceding accepted step; absent before any rejection.

        • Optionalend?: IEndpoint

          Actual final-stage angular RHS reading, absent without orientation.

        • kind: "rms" | "numeric-dense" | "physical"

          Which admission condition rejected this trial.

        • Optionalphysical?: number

          Sampled normalized physical defect, absent when not evaluated.

        • Optionalprobe?: { error: number; q: IAutoMovieQuaternion; time: number; w: IAutoMovieVector3 }

          The first failed physical probe, copied only on rejection.

          • error: number

            The callback's unchanged normalized defect.

          • q: IAutoMovieQuaternion

            Owned dense orientation at that second.

          • time: number

            Actual film second passed to the physical callback.

          • w: IAutoMovieVector3

            Owned dense body angular velocity, rad/s.

        • rms: number

          RMS or explicit-block estimate before dense physical admission.

        • Optionalstart?: IEndpoint

          Actual first-stage angular RHS reading, absent without orientation.

        • step: number

          The rejected trial's duration before the controller reduced it, seconds.

      • Optionalscope: symbol

        Optional operation token; only that caller may enrich this numeric failure.

      Returns MotionTrajectoryFailure

    cause?: unknown
    message: string
    name: string
    rejection?: {
        end?: IEndpoint;
        kind: "rms" | "numeric-dense" | "physical";
        physical?: number;
        probe?: {
            error: number;
            q: IAutoMovieQuaternion;
            time: number;
            w: IAutoMovieVector3;
        };
        rms: number;
        start?: IEndpoint;
        step: number;
    }

    Last rejection since the preceding accepted step; absent before any rejection.

    Type Declaration

    • Optionalend?: IEndpoint

      Actual final-stage angular RHS reading, absent without orientation.

    • kind: "rms" | "numeric-dense" | "physical"

      Which admission condition rejected this trial.

    • Optionalphysical?: number

      Sampled normalized physical defect, absent when not evaluated.

    • Optionalprobe?: { error: number; q: IAutoMovieQuaternion; time: number; w: IAutoMovieVector3 }

      The first failed physical probe, copied only on rejection.

      • error: number

        The callback's unchanged normalized defect.

      • q: IAutoMovieQuaternion

        Owned dense orientation at that second.

      • time: number

        Actual film second passed to the physical callback.

      • w: IAutoMovieVector3

        Owned dense body angular velocity, rad/s.

    • rms: number

      RMS or explicit-block estimate before dense physical admission.

    • Optionalstart?: IEndpoint

      Actual first-stage angular RHS reading, absent without orientation.

    • step: number

      The rejected trial's duration before the controller reduced it, seconds.

    scope?: symbol

    Optional operation token; only that caller may enrich this numeric failure.

    stack?: string
    step: number

    Next attempted step caught by that guard, including its roundoff margin, seconds.

    time: number

    Start of the interval rejected by the existing time-resolution guard, seconds.

    stackTraceLimit: number

    The Error.stackTraceLimit property specifies the number of stack frames collected by a stack trace (whether generated by new Error().stack or Error.captureStackTrace(obj)).

    The default value is 10 but may be set to any valid JavaScript number. Changes will affect any stack trace captured after the value has been changed.

    If set to a non-number value, or set to a negative number, stack traces will not capture any frames.

    • Creates a .stack property on targetObject, which when accessed returns a string representing the location in the code at which Error.captureStackTrace() was called.

      const myObject = {};
      Error.captureStackTrace(myObject);
      myObject.stack; // Similar to `new Error().stack`

      The first line of the trace will be prefixed with ${myObject.name}: ${myObject.message}.

      The optional constructorOpt argument accepts a function. If given, all frames above constructorOpt, including constructorOpt, will be omitted from the generated stack trace.

      The constructorOpt argument is useful for hiding implementation details of error generation from the user. For instance:

      function a() {
      b();
      }

      function b() {
      c();
      }

      function c() {
      // Create an error without stack trace to avoid calculating the stack trace twice.
      const { stackTraceLimit } = Error;
      Error.stackTraceLimit = 0;
      const error = new Error();
      Error.stackTraceLimit = stackTraceLimit;

      // Capture the stack trace above function b
      Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
      throw error;
      }

      a();

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void

    • Parameters

      • err: Error
      • stackTraces: CallSite[]

      Returns any