mechjeb

MechJeb Staging Info

get/api/mj.stagingInfo

Query parameters

scalestring
Example:0,1023

Input scaling range for embedded controllers. Format: min,max. Maps the first bracket argument from the integer range [min, max] to [0.0, 1.0]. Example: scale=0,1023 with arg 5120.5.

precisioninteger
Example:2

Round numeric output to N decimal places (0–15).

intboolean

When true, return output as integer: value × 10^precision. Requires precision to be set. Useful for integer-only embedded boards.

Response

Successful response

mj.stagingInfoobject

Changes

Changed in 2 of the 3 revisions of this API.33

    • added the new optional query request parameter int

      new-optional-request-parameter

    • added the new optional query request parameter precision

      new-optional-request-parameter

    • added the new optional query request parameter scale

      new-optional-request-parameter

    • deleted the query request parameter int

      request-parameter-removed

    • deleted the query request parameter precision

      request-parameter-removed

    • deleted the query request parameter scale

      request-parameter-removed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog