Skip to content

Commit

Permalink
AP_EFI : Addition of Engine Information over Mavlink
Browse files Browse the repository at this point in the history
CHT2 and EGT2
  • Loading branch information
Pradeep-Carbonix committed Jan 23, 2024
1 parent 85f8529 commit 4f8641d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libraries/AP_EFI/AP_EFI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,9 @@ void AP_EFI::send_mavlink_status(mavlink_channel_t chan)
state.pt_compensation,
state.ignition_voltage
);

gcs().send_named_float("CHT2", KELVIN_TO_C(state.cylinder_status.cylinder_head_temperature));
gcs().send_named_float("EGT2", KELVIN_TO_C(state.cylinder_status.exhaust_gas_temperature));
}

// get a copy of state structure
Expand Down

0 comments on commit 4f8641d

Please sign in to comment.