Commit f67d9f36 authored by YannGarcia's avatar YannGarcia
Browse files

TTF T024: Compiler error fixed

parent 572ae5a1
Loading
Loading
Loading
Loading
+43 −43

File changed.

Preview size limit exceeded, changes collapsed.

+8 −5
Changes for lib/LibItsMbr_Pixits.ttcn: 8 added lines, 5 removed lines.
Original line number Diff line number Diff line
module LibItsMbr_Pixits {

  // LibIts
  import from ETSI_ITS_CDD language "ASN.1:1997" all;

  /**
   * @desc Number of consistent messages to send to the IUT
   * @see ETSI TS 103 868-3 Table B.7
@@ -22,7 +25,7 @@ module LibItsMbr_Pixits {
   * @desc requestTime (in second) between two inconsistent messages
   * @see ETSI TS 103 868-3 Table B.7
   */
  modulepar float PX_REPEAT_INCONSISTENT_MESSAGE_TIMEOUT := 1.0 / 20; // 20 Hz
  modulepar float PX_REPEAT_INCONSISTENT_MESSAGE_TIMEOUT := 0.05; // 20 Hz

  /**
   * @desc Speed threshold value for unknown(0), pedestrian(1), cyclist(2), moped(3), specialVehicles(10) and tram(11)
@@ -55,16 +58,16 @@ module LibItsMbr_Pixits {
  modulepar integer PX_MBR_RSU_SPEED_THRESHOLD := 0;

  /**
   * @desc Altered StationTyoe
   * @desc Altered StationType
   * @see ASN.1 Type definition for MbObsCamStatic
   */
  modulepar integer PX_MBR_ALTER_STATION_TYPE := 4; // motocycle

  /**
   * @desc Altered StationTyoe
   * @desc Altered StationRole
   * @see ASN.1 Type definition for MbObsCamStatic
   */
  modulepar integer PX_MBR_ALTER_VEHICLE_ROLE := 8; // agriculture
  modulepar VehicleRole PX_MBR_ALTER_VEHICLE_ROLE := agriculture; // agriculture

  /**
   * @desc Vehicle length threshold value
@@ -73,7 +76,7 @@ module LibItsMbr_Pixits {
  modulepar integer PX_MBR_VEHICLE_LENGTH_VALUE_THRESHOLD := 1000;

  /**
   * @desc Vehicle lenght  threshold value
   * @desc Vehicle width threshold value
   * @see ASN.1 Type definition for MbObsCamStatic
   */
  modulepar integer PX_MBR_VEHICLE_WIDTH_VALUE_THRESHOLD := 1000;
+45 −7
Changes for lib/LibItsMbr_Templates.ttcn: 45 added lines, 7 removed lines.
Original line number Diff line number Diff line
@@ -306,6 +306,44 @@ module LibItsMbr_Templates {

    } // End of group long_acc

    group position {
      
      template (value) AsrCam m_asr_cam_report_position(
                                                        in template (value) MbObsCamPosition p_observations, 
                                                        in template (value) V2xPduStreamList p_v2xPduEvidence,
                                                        in template (value) AsrCam.nonV2xPduEvidence p_nonV2xPduEvidence := {}
                                                        ) := {
        //observations       := { p_observations }, 
        observations       := { 
                                {  tgtId := c_CamTgt_PositionCommon, 
                                  observations := { { mbObsCamPosition := p_observations}  }
                                } // Record ObservationsByTarget
                              }, // Record of ObservationsByTargetSequence
        v2xPduEvidence     := p_v2xPduEvidence,
        nonV2xPduEvidence  := p_nonV2xPduEvidence
      } // End of template m_asr_cam_report_position

      template (present) AsrCam mw_asr_cam_report_position(
                                                           template (present) MbObsCamPosition p_observations := ?, 
                                                           template (present) V2xPduStreamList p_v2xPduEvidence := ?,
                                                           template (present) AsrCam.nonV2xPduEvidence p_nonV2xPduEvidence := ?
                                                           ) := {
        observations       := { 
                                {  tgtId := c_CamTgt_PositionCommon, 
                                  observations := { { mbObsCamPosition := p_observations}  }
                                } // Record ObservationsByTarget
                              }, // Record of ObservationsByTargetSequence 
        v2xPduEvidence     := p_v2xPduEvidence,
        nonV2xPduEvidence  := p_nonV2xPduEvidence
      } // End of template mw_asr_cam_report_position

      template (value) MbObsCamPosition m_mb_obs_cam_position_change_too_large := {
        obsId  := c_ObsPosition_ChangeTooLarge,
        obs    := { position_ChangeTooLarge := NULL }
      } // End of template m_mb_obs_cam_position_change_too_large

    } // End of group position

    group beacon {
      
      template (present) AsrCam mw_asr_cam_report_beacom(
@@ -323,7 +361,7 @@ module LibItsMbr_Templates {
      } // End of template mw_asr_cam_report_beacom

      template (value) MbObsCamBeacon mw_asr_cam_report_beacon_interval_too_small := {
        obsId  := c_Obs_Beacon_IntervalTooSmall,
        obsId  := c_ObsBeacon_IntervalTooSmall,
        obs    := { beacon_IntervalTooSmall := NULL }
      } // End of template mw_asr_cam_report_beacon_interval_too_small

@@ -346,32 +384,32 @@ module LibItsMbr_Templates {
      } // End of template mw_asr_cam_report_static

      template (value) MbObsCamStatic mw_asr_cam_report_static_change_performance_class := {
        obsId  := c_Obs_Static_Change,
        obsId  := c_ObsStatic_Change,
        obs    := { static_Change := '00000'B }
      } // End of template mw_asr_cam_report_static_change_performance_class

      template (value) MbObsCamStatic mw_asr_cam_report_static_change_vehicle_width := {
        obsId  := c_Obs_Static_Change,
        obsId  := c_ObsStatic_Change,
        obs    := { static_Change := '00001'B }
      } // End of template mw_asr_cam_report_static_change_vehicle_width

      template (value) MbObsCamStatic mw_asr_cam_report_static_change_vehicle_role := {
        obsId  := c_Obs_Static_Change,
        obsId  := c_ObsStatic_Change,
        obs    := { static_Change := '00010'B }
      } // End of template mw_asr_cam_report_static_change_vehicle_role

      template (value) MbObsCamStatic mw_asr_cam_report_static_change_vehicle_length := {
        obsId  := c_Obs_Static_Change,
        obsId  := c_ObsStatic_Change,
        obs    := { static_Change := '00100'B }
      } // End of template mw_asr_cam_report_static_change_vehicle_length

      template (value) MbObsCamStatic mw_asr_cam_report_static_change_station_type := {
        obsId  := c_Obs_Static_Change,
        obsId  := c_ObsStatic_Change,
        obs    := { static_Change := '01000'B }
      } // End of template mw_asr_cam_report_static_change_station_type

      template (value) MbObsCamStatic mw_asr_cam_report_static_change_special_transport_type := {
        obsId  := c_Obs_Static_Change,
        obsId  := c_ObsStatic_Change,
        obs    := { static_Change := '10000'B }
      } // End of template mw_asr_cam_report_static_change

+3 −3

File changed.

Preview size limit exceeded, changes collapsed.