Skip to content

Module Reference: FlightDataRecorder

Starstrider42 edited this page May 2, 2017 · 9 revisions

FlightDataRecorder

Properties

  • configuration
  • flightDataMultiplier
  • flightDataEngineerModifier

Description

FlightDataRecorder is responsible for adding flight data to a part. Typically every frame the FlightDataRecorder calculates the amount of flight data gained and sends it to the TestFlightCore for recording. The base version of this module records data at all times, but various other versions of this module restrict the recording of data to certain conditions.

There can only ever be a single FlightDataRecorder module on a part

Note: a part is defined to be operational, and has a chance of failure, under the same conditions in which its FlightDataRecorder collects data. For example, a part with FlightDataRecorder_Engine can only fail when its engine is running, while a part with the basic FlightDataRecorder can fail at any time. Part lifetime and base failure rate should be scaled accordingly.

Derived Modules

FlightDataRecorder //basic flight recorder, "always on" recording

  • flightDataMultiplier = 10.0 //this multiplies how fast data is gained over time
  • flightDataEngineerModifier = 0.25 //25% percent more data per level per engineer on board

FlightDataRecorder_Resources //recorder for tanks, only recording when enough resource exist

  • emptyThreshold = 0.1 //when any resource has at least this amount, data will record

FlightDataRecorder_Engine //recorder for engines, records when engine is 'lit'

FlightDataRecorder_HeatShield //for ModuleAblator, records when temp above ablation temp

FlightDataRecorder_Intake //for ModuleResourceIntake, records when air going into intake

FlightDataRecorder_Lights //for ModuleLight, records when light on

FlightDataRecorder_RCS //for ModuleRCS, records when rcs is thrusting

FlightDataRecorder_ReactionWheel //ModuleReactionWheel, recording when wheel is giving force

FlightDataRecorder_Science //ModuleScienceExperiment, currently is a simple "always on" recorder identical to the basic FlightDataRecorder, in future may be changed to include activity checks

FlightDataRecorder_Solar //ModuleDeployableSolarPanel, records when panels deployed + making power

FlightDataRecorder_Wheels //ModuleWheel, records when wheel is driving (why is this not a reaction wheel in space?)

Mod Specific Modules

FlightDataRecorder_FARCtrlSrf //FAR FARControllableSurface, records data when pitch/yaw/roll not zeroed

FlightDataRecorder_RT //RemoteTech ModuleRTAntenna, recors when antenna is active+powered