rusefi-1/firmware/integration/LiveData.yaml

37 lines
2.2 KiB
YAML
Raw Normal View History

2022-04-13 14:29:44 -07:00
#
2022-04-23 06:29:58 -07:00
# Here we facilitate monitoring by exposing model/transfer object of each individual controller. While some entries are only
# useful for monitoring the big idea is to bring calculation and monitoring as close to each other as possible by exposing
# many calculation fields directly
#
2022-04-13 14:29:44 -07:00
# here we have LiveData configuration file
2022-04-23 06:29:58 -07:00
# entry format, where 'key' is a unique ID:
2022-04-22 19:48:07 -07:00
# key: [NameOfJavaToGenerate.java, folder_where_key.txt_is located, (optional advanced options)]
# Naming convention: top level struct in .txt file should be called key_s
2022-04-22 19:54:53 -07:00
# at the moment new line would need to be added into StateDictionary.java manually todo: Add code generation of StateDictionary.java
2022-04-22 19:48:07 -07:00
#
# see gen_live_documentation.sh which is the main generation script
# todo: what is sequence of events in terms of 'live_data_e' code generation?
2022-04-13 14:29:44 -07:00
#
Usages:
output_channels: ["TsOutputs.java", "console/binary", "-prepend=integration/rusefi_config.txt" ]
2022-04-29 08:15:46 -07:00
knock_controller: [ "KnockController.java", "controllers/engine_cycle" ]
2022-01-04 22:34:48 -08:00
high_pressure_fuel_pump: [ "HighPressureFuelPump.java", "controllers/engine_cycle" ]
injector_model: [ "InjectorModel.java", "controllers/algo/fuel" ]
launch_control_state: [ "LaunchControl.java", "controllers/algo" ]
boost_control: [ "BoostControl.java", "controllers/actuators" ]
ac_control: [ "AcControl.java", "controllers/actuators", "-prepend=integration/rusefi_config.txt" ]
2022-01-04 22:34:48 -08:00
fan_control: [ "FanControl.java", "controllers/actuators" ]
fuel_pump_control: [ "FuelPump.java", "controllers/actuators" ]
2022-01-04 22:34:48 -08:00
main_relay: [ "MainRelay.java", "controllers/actuators" ]
2022-01-06 12:20:58 -08:00
#todo: handle ETB pid and Idle pid which point at same pid_state.txt
#pid_state: [ "PidState.java", "util/math" ]
2022-01-04 22:34:48 -08:00
engine_state: [ "EngineState.java", "controllers/algo" ]
tps_accel_state: [ "TpsAccelState.java", "controllers/algo" ]
trigger_central: [ "TriggerCentral.java", "controllers/trigger", "-with_c_defines=true" ]
2022-05-08 05:59:14 -07:00
trigger_state: [ "TriggerState.java", "controllers/trigger", "-prepend=integration/rusefi_config.txt" ]
2022-01-04 22:34:48 -08:00
wall_fuel_state: [ "WallFuelState.java", "controllers/algo" ]
idle_state: [ "IdleState.java", "controllers/actuators" ]
ignition_state: [ "IgnitionState.java", "controllers/algo" ]
electronic_throttle: [ "ElectronicThrottle.java", "controllers/actuators" ]