Skip to content

Commit

Permalink
Issue #7 - Adding derivation to default tlm.yaml file
Browse files Browse the repository at this point in the history
  • Loading branch information
aywaldron committed Nov 28, 2018
1 parent 1487867 commit 587d74e
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion config/tlm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
name: 1553_HS_Packet
desc: Ethernet 1553 packet used to monitor telemetry in real-time
functions:
CurrA_Fx(dn): (dn - 2) / 1234.0
CurrA_Fx(dn): (dn - 2) / 1234.0
Difference(x,y): x - y

fields:
- !Field
Expand Down Expand Up @@ -34,6 +35,14 @@
equation: CurrA_Fx(raw.Current_A)
units: amperes

derivations:
- !Derivation
name: Volt_Diff
desc: Difference between Voltage_A and Voltage_B
type: MSB_U16
equation: Difference(Voltage_A, Voltage_B)
units: Volts

- !Packet
name: Ethernet_HS_Packet
desc: Ethernet Health and Status Packet
Expand Down

0 comments on commit 587d74e

Please sign in to comment.