Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding ThM (modified throttle send to engine) to EFIS log #27077

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

loki077
Copy link
Contributor

@loki077 loki077 commented May 16, 2024

  • ThM added to help understand the engine logs better
  • Updated the field names to keep the total length 64-characters long.

- ThM added to help understand the engine logs better
 - Updated the field names to keep the total length 64-characters long.
Copy link
Contributor

@peterbarker peterbarker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commit message needs fixing.

@@ -205,6 +205,7 @@ void AP_EFI_Serial_Hirth::send_request()
bool AP_EFI_Serial_Hirth::send_target_values(uint16_t thr)
{
uint8_t computed_checksum = 0;
throttle = 0;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a little too generic a name for a member variable IMO.

Perhaps

Suggested change
throttle = 0;
throttle_to_hirth = 0;

Comment on lines +373 to +379
// @Field: ES1: Status of EGT1 excess temperature error
// @Field: ES2: Status of EGT2 excess temperature error
// @Field: CS1: Status of CHT1 excess temperature error
// @Field: CS2: Status of CHT2 excess temperature error
// @Field: ETS: Status of Engine temperature sensor
// @Field: ATS: Status of Air temperature sensor
// @Field: APS: Status of Air pressure sensor
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Many of these are booleans. You could save columns and logging bandwidth by logging them into a bitmask.

Many analysis tools do have reasonable support for bitmasks now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants