Skip to content

Add DAY to TrafficSign-Value-Unit and change DAY to WEEKDAY #662

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

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 33 additions & 1 deletion osi_trafficsign.proto
Original file line number Diff line number Diff line change
Expand Up @@ -101,17 +101,31 @@ message TrafficSignValue
// Unit: tn. sh.
//
UNIT_SHORT_TON = 11;

// Time of day.
// Hours since midnight. Starting with 0.
//
// Unit: h
//
UNIT_HOUR = 15;

// Time of day.
// Hour since midnight.
// Minutes since last hour. Starting with 0.
//
// Unit: min
//
UNIT_MINUTES = 12;

// Day of the month.
// Starting with 1.
//
UNIT_DAY_OF_MONTH = 16;

// Day of the week.
// Days since Monday. Monday = 0; Tuesday = 1; ...
//
// \note For consistency this field will be renamed to UNIT_DAY_OF_WEEK in v4.0.0 .
//
UNIT_DAY = 13;

// Percentage.
Expand All @@ -120,6 +134,24 @@ message TrafficSignValue
// Unit: %
//
UNIT_PERCENTAGE = 14;

// Duration in days.
//
// Unit: day
//
UNIT_DURATION_DAY = 17;

// Duration in hours.
//
// Unit: h
//
UNIT_DURATION_HOUR = 18;

// Duration in minutes.
//
// Unit: min
//
UNIT_DURATION_MINUTE = 19;
}

// Text associated with a sign, e.g. the name of a location whose distance
Expand Down