-
Notifications
You must be signed in to change notification settings - Fork 168
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
Feature/structure engine fluids #710
Feature/structure engine fluids #710
Conversation
99d5cce
to
5a2165f
Compare
Signed-off-by: Koen Deleij <[email protected]>
Signed-off-by: Koen Deleij <[email protected]>
Signed-off-by: Koen Deleij <[email protected]>
Signed-off-by: Koen Deleij <[email protected]>
f505f2c
to
aadf20b
Compare
Topics to discuss:
|
I think marking them as deprecated is fine, and leave them in. Is there any standard/rule for removing deprecations? For which version would these signals then be deprecated? |
Ah nevermind about the rule for deprecation. I found the description in the basics.md. But knowing the version for deprecation would still be useful. Would that be v5.0? |
Signed-off-by: Koen Deleij <[email protected]>
Signed-off-by: Koen Deleij <[email protected]>
…he reference to the EV engine to keep the coolant consistent across powertrain types Signed-off-by: Koen Deleij <[email protected]>
Possibly. Historically we have selected "next release" as "deprecated from", but right now we have not really decided if we will release a 4.2 or if next release will be 5.0. I would say that 5.0 is the best option for now for main, if we decide to create a 4.2 then we as maintainers should anyway check all deprecation comments and adjust version if needed, like replacing 5.0 with 4.2 for the maintenance branch. |
Signed-off-by: Koen Deleij <[email protected]>
Clear! I'll add the deprecation attributes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few minor comments.
@@ -0,0 +1,38 @@ | |||
# Copyright (c) 2016 Contributors to COVESA |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2016 -> 2024?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In one way 2016 can make sense, as some of the signals actually have been copied from another file and maybe they were added in 2016, I have not checked. So even if the file is created 2024, the content is older
allowed: [ | ||
'CRITICALLY_LOW', # Critically low, immediate action required | ||
'LOW', # Level below recommended range, but not critical | ||
'NORMAL', # Within normal range, no need for driver action |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this also have a HIGH and CRITICALLY_HIGH level as for EngineOil.Level?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would at least not hurt. I actually do not know what sensors modern high-end vehicles have for coolant; like can they detect and report that there is too much coolant?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know enough about the mechanisms, but one possibility may be that the same kind of sensor could be used for both, for example. As well, what I am proposing seems to provide consistency that could be reused for other "level" sensors (washer fluid, transmission fluid, etc.). We do have another issue tackling common signals. Maybe we should consider a fluid-level signal that can be re-used for all these kinds of sensors?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did consider reusing this and have the same enums. Technically I don't know what a typical sensor for the coolant could do; From a functional perspective I don't know if it makes sense to have HIGH and CRITICALLY_HIGH. For the engine oil I can imagine that having the right amount between 2 thresholds is important. But with coolant I don't think there is an upper threshold (other than you'll probably get wet shoes).
ISO 7000 2429, which is meant for the coolant level telltale describes 'low' or 'out of specified values'. In that case it would maybe make more sense to have something like 'NORMAL', 'LOW', 'CRITICAL'.
MoM:
|
MoM:
|
MoM:
|
MoM:
|
I have no further comments. I am fine with the responses that were provided, with a note that I am still slightly in favour of reusing the set of enum values, but not enough to block merge. |
MoM:
|
* Restructured the coolant end engine oil into 2 branches Signed-off-by: Koen Deleij <[email protected]>
Several engine oil and coolant related attributes where spread in the main branch of the combustion engine.
The engine oil and coolant have been put under a branch.
Additional coolant lifespan and level (ISO 7000 2429) have been added under the coolant branch.