Commit 9e4d6a4d authored by Bostjan Pintar's avatar Bostjan Pintar
Browse files

Spatem templates

parent 6fcc4da3
......@@ -785,6 +785,26 @@ module LibItsMapemSpatem_Templates {
regional := *
} // end mw_IntersectionState
template (present) IntersectionState mw_IntersectionState_regional (
template (present) IntersectionState.id p_id := ?,
template (present) IntersectionState.revision p_revision := ?,
template (present) IntersectionState.status p_status := ?,
template (present) IntersectionState.states p_states := ?,
template (present) IntersectionState.regional p_regional := ?
) modifies mw_IntersectionState := {
regional := p_regional
} // end mw_IntersectionState
template (present) IntersectionState mw_IntersectionState_maneuverAssistList (
template (present) IntersectionState.id p_id := ?,
template (present) IntersectionState.revision p_revision := ?,
template (present) IntersectionState.status p_status := ?,
template (present) IntersectionState.states p_states := ?,
template (present) IntersectionState.maneuverAssistList p_maneuverAssistList := ?
) modifies mw_IntersectionState := {
maneuverAssistList := p_maneuverAssistList
} // end mw_IntersectionState
template (present) IntersectionState mw_IntersectionState_moyAndTimeStamp(
template (present) IntersectionState.id p_id := ?,
template (present) IntersectionState.revision p_revision := ?,
......@@ -807,7 +827,70 @@ module LibItsMapemSpatem_Templates {
maneuverAssistList := *, //ManeuverAssistList OPTIONAL,
regional := * //RegionalExtension {{Reg-MovementState}} OPTIONAL
}
template (present) MovementEvent mw_movementEvent(
in template (present) MovementPhaseState p_eventState := ?,
in template TimeChangeDetails p_timing := *,
in template MovementEvent.speeds p_speeds := *
) := {
eventState := stop_Then_Proceed, // Consisting of: Phase state (the basic 11 states) and Directional, protected, or permissive state
timing := p_timing, // Timing Data in UTC time stamps for event includes start and min/max end times of phase confidence and estimated next occurrence
speeds := p_speeds, // Various speed advisories for use by general and specific types of vehicles supporting green-wave and other flow needs
regional := *
}
template (present) TimeChangeDetails mw_timeChangeDetails(
in template (present) TimeMark p_minEndTime := ?,
in template TimeMark p_startTime := *,
in template TimeMark p_nextTime := *
) := {
startTime := p_startTime,
minEndTime := p_minEndTime,
maxEndTime := *,
likelyTime := *,
confidence := *,
nextTime := p_nextTime
}
template (present) ConnectionManeuverAssist mw_connectionManeuverAssist(
in template (present) LaneConnectionID p_connectionID := ?,
in template PedestrianBicycleDetect p_pedBicycleDetect := ?
) := {
connectionID := p_connectionID,
queueLength := *,
availableStorageLength := *,
waitOnStop := *,
pedBicycleDetect := p_pedBicycleDetect,
regional := *
}
template (present) ConnectionManeuverAssist mw_connectionManeuverAssist_queueAndAvailableStorageLength(
in template (present) LaneConnectionID p_connectionID := ?,
in template ZoneLength p_queueLength := ?,
in template ZoneLength p_availableStorageLength := ?
) := {
connectionID := p_connectionID,
queueLength := p_queueLength,
availableStorageLength := p_availableStorageLength,
waitOnStop := *,
pedBicycleDetect := *,
regional := *
}
template (present) AdvisorySpeed mw_advisorySpeed(
in template (present) AdvisorySpeedType p_type,
in template SpeedAdvice p_speed := *,
in template SpeedConfidenceDSRC p_confidence := *,
in template ZoneLength p_distance := *,
in template RestrictionClassID p_class := *
) := {
type_ := p_type, // The type of advisory which this is.
speed := p_speed,
confidence := p_confidence, // A confidence value for the above speed
distance := p_distance, // The distance indicates the region for which the advised speed is recommended, it is specified upstream from the stop bar along the connected egressing lane
class := p_class, // The vehicle types to which it applies when absent, the AdvisorySpeed applies to all motor vehicle types
regional := *
}
} // End of group spatemTemplates
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment