-
Notifications
You must be signed in to change notification settings - Fork 164
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
Refactor Current Trip signals #509
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -184,16 +184,50 @@ Speed: | |
description: Vehicle speed. | ||
|
||
TravelledDistance: | ||
deprecation: V3.1 moved to Vehicle.TraveledDistance | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Today we are mixing British and American English. While poking around in this area, do we think it is a good idea to rename TravelledDistance to TraveledDistance (using our deprecated-methodology, i.e. keeping old signal until v4.0) |
||
datatype: float | ||
type: sensor | ||
unit: km | ||
description: Odometer reading, total distance travelled during the lifetime of the vehicle. | ||
description: Odometer reading, total distance traveled during the lifetime of the vehicle. | ||
|
||
TripMeterReading: | ||
TraveledDistance: | ||
datatype: float | ||
type: sensor | ||
unit: km | ||
description: Odometer reading, total distance traveled during the lifetime of the vehicle. | ||
|
||
TraveledDistanceSinceStart: | ||
datatype: float | ||
type: sensor | ||
unit: km | ||
description: Current trip meter reading. | ||
description: Distance traveled since start of current trip. | ||
comment: A new trip is considered to start when engine gets enabled (e.g. LowVoltageSystemState in ON or START mode). | ||
A trip is considered to end when engine is no longer enabled. | ||
The signal may however keep the value of the last trip until a new trip is started. | ||
|
||
StartTime: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Changed from TimeSinceStart to StartTime based on discussion in last meeting. (That is a side topic that comes up now and then, do we in VSS syntax need something that from a formal perspective tells that a signal contains a time stamp, either by using a predefined unit, or a datatype alias (for example "datatype:time" but specifying that it means string + iso 8601 syntax) |
||
datatype: string | ||
type: sensor | ||
description: Start time of current or latest trip, formatted according to ISO 8601 with UTC time zone. | ||
comment: This signal is supposed to be set whenever a new trip starts. | ||
A new trip is considered to start when engine gets enabled (e.g. LowVoltageSystemState in ON or START mode). | ||
A trip is considered to end when engine is no longer enabled. | ||
|
||
EndTime: | ||
datatype: string | ||
type: sensor | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Meeting notes:
|
||
description: End time of latest trip, formatted according to ISO 8601 with UTC time zone. | ||
comment: This signal is supposed to be set whenever a trip ends. | ||
A new trip is considered to start when engine gets enabled (e.g. LowVoltageSystemState in ON or START mode). | ||
A trip is considered to end when engine is no longer enabled. | ||
If EndTime is later than StartTime that means no trip is ongoing and duration of latest trip can be calculated by EndTime - StartTime. | ||
|
||
TripMeterReading: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For traveled distance I see it relevant to have 3 values
Adapting description accordingly. |
||
datatype: float | ||
type: actuator | ||
unit: km | ||
description: Trip meter reading. | ||
comment: The trip meter is an odometer that can be manually reset by the driver | ||
|
||
IsBrokenDown: | ||
datatype: boolean | ||
|
@@ -214,7 +248,10 @@ AverageSpeed: | |
type: sensor | ||
unit: km/h | ||
description: Average speed for the current trip. | ||
|
||
comment: A new trip is considered to start when engine gets enabled (e.g. LowVoltageSystemState in ON or START mode). | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is it sufficient to have a single Or do we need additional signals for average speed - e.g. by adding one related to average speed over lifetime or average speed since trip meter reset? |
||
A trip is considered to end when engine is no longer enabled. | ||
The signal may however keep the value of the last trip until a new trip is started. | ||
Calculation of average speed may exclude periods when the vehicle for example is not moving or transmission is in neutral. | ||
|
||
# | ||
# Spatial Acceleration | ||
|
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.
Is it sufficient to have consumption since start of current trip, or do we also need a signal for "consumption since trip meter reset". Similar for the signal
AverageConsumption
above. Today we state that period is a variation point, shall we better specify that it is for current trip or split it to two signals, one for "average consumption for current trip" and one for "average consumption since trip meter reset"