Commit 2760db00 authored by Bostjan Pintar's avatar Bostjan Pintar
Browse files

New templates and PICS added

parent 9e4d6a4d
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -138,4 +138,8 @@ module LibItsMapemSpatem_Pics {
     */
     */
    modulepar boolean PICS_SPATEM_TRANSMISSION_RATE := false;
    modulepar boolean PICS_SPATEM_TRANSMISSION_RATE := false;
    
    
    modulepar float PICS_T_GEN_SPATEM_MIN := 0.1;
    
    modulepar float PICS_T_GEN_SPATEM_MAX := 2.0;
    
} // end LibItsSremSsem_Pics
} // end LibItsSremSsem_Pics
+34 −0
Original line number Original line Diff line number Diff line
@@ -668,6 +668,40 @@ module LibItsMapemSpatem_Templates {
                    regional            := omit
                    regional            := omit
                }
                }
                
                
                template (value) IntersectionState m_intersection_regional (
                                          in template (omit) IntersectionState.regional p_regional := omit
                ) modifies m_intersection := {
                    name                := omit,                                                // Human readable name for intersection to be used only in debug mode
                    id                  := m_intersectionReferenceID,                           // A globally unique value set, consisting of a  regionID and 
                                                                                                // intersection ID assignment provides a unique mapping to the intersection MAP in question which provides complete location and approach/move/lane data
                    revision            := PX_INTERSECTIONSTATE_REVISION,
                    status              := IntersectionStatusObject_manualControlIsEnabled_,
                                                                                                // General status of the controller(s)
                    moy                 := omit,                                                // Minute of current UTC year used only with messages to be archived 
                    timeStamp           := omit,                                                // The mSec point in the current UTC minute that this message was constructed
                    enabledLanes        := { 1, 2 },                                            // A list of lanes where the RevocableLane bit has been set which are now active andtherefore part of the current intersection
                    states              := m_movements,                                         // Each Movement is given in turn and contains its signal phase state, mapping to the lanes it applies to, and point in time it will end, and it may contain both active and future states
                    maneuverAssistList  := omit,                                                // Assist data
                    regional            := p_regional
                }
                
                template (value) IntersectionState m_intersection_maneuverAssistList (
                                          in template (omit) IntersectionState.maneuverAssistList p_maneuverAssistList := omit
                ) modifies m_intersection := {
                    name                := omit,                                                // Human readable name for intersection to be used only in debug mode
                    id                  := m_intersectionReferenceID,                           // A globally unique value set, consisting of a  regionID and 
                                                                                                // intersection ID assignment provides a unique mapping to the intersection MAP in question which provides complete location and approach/move/lane data
                    revision            := PX_INTERSECTIONSTATE_REVISION,
                    status              := IntersectionStatusObject_manualControlIsEnabled_,
                                                                                                // General status of the controller(s)
                    moy                 := omit,                                                // Minute of current UTC year used only with messages to be archived 
                    timeStamp           := omit,                                                // The mSec point in the current UTC minute that this message was constructed
                    enabledLanes        := { 1, 2 },                                            // A list of lanes where the RevocableLane bit has been set which are now active andtherefore part of the current intersection
                    states              := m_movements,                                         // Each Movement is given in turn and contains its signal phase state, mapping to the lanes it applies to, and point in time it will end, and it may contain both active and future states
                    maneuverAssistList  := p_maneuverAssistList,                                                // Assist data
                    regional            := omit
                }
                
                template (value) MovementList m_movements := { m_movement };
                template (value) MovementList m_movements := { m_movement };
                
                
                template (omit) MovementState m_movement := {
                template (omit) MovementState m_movement := {