Instrument - iimurpyh/pilot-lua GitHub Wiki

A device which can measure various things in the environment such as Temperature, or Velocity.

Table of Contents

Methods


any Instrument:GetReading(int typeId=nil)

Gets the reading from the sensor. You can also pass an integer value type and the Instrument will return that reading type.

Currently Known Types

  • 0 - Velocity
  • 1 - Rotational Velocity
  • 2 - Temperature (Fahrenheit)
  • 3 - Region time
  • 4 - Available power
  • 5 - Attached part size
  • 6 - Position in the region
  • 7 - Temperature in Celsius
  • 8 - Orientation of the instrument