Commit 7421a920 authored by perezed's avatar perezed
Browse files

- Minor corrections to PCVM autogen documentation.

parent 938a4170
Loading
Loading
Loading
Loading
Loading
+20 −12
Original line number Original line Diff line number Diff line
@@ -18,15 +18,15 @@ FROM ETSI-ITS-CDD {
;
;


/** 
/** 
 * This type represents the PCIM PDU.
 * This type represents the PCVM PDU.
 *
 *
 * It shall include the following components: 
 * It shall include the following components: 
 *
 *
 * @field header: The header of the PCIM PDU.
 * @field header: The header of the PCVM PDU.
 *
 *
 * @field e2eProtection: A mandatory container for E2E Protection by Autosar Profile 4.
 * @field e2eProtection: A mandatory container for E2E Protection by Autosar Profile 4.
 *
 *
 * @field pcim: The payload of the PCVM PDU.
 * @field pcvm: The payload of the PCVM PDU.
*/
*/
PCVM ::= SEQUENCE {
PCVM ::= SEQUENCE {
  header ItsPduHeader,
  header ItsPduHeader,
@@ -39,7 +39,7 @@ PCVM ::= SEQUENCE {
  *
  *
  * It includes the following components: 
  * It includes the following components: 
  *
  *
  * @field msgGenerationTime  
  * @field msgGenerationTime: Represents the time when the PCVM was genaerated.   
  * 
  * 
  * @field sessionID: Represents a 32 character session ID.   				
  * @field sessionID: Represents a 32 character session ID.   				
  * 
  * 
@@ -63,7 +63,7 @@ PCVM ::= SEQUENCE {
  * 
  * 
  * @field vehicleProperties: Represents vehicle-specific data elements as feedback from vehicle to external system.
  * @field vehicleProperties: Represents vehicle-specific data elements as feedback from vehicle to external system.
  * 
  * 
  * @field oemSpecific. Represents an OEM specific 16 bit field for special purposes.
  * @field oemSpecific: Represents an OEM specific 16 bit field for special purposes.
  */
  */
Pcvm ::= SEQUENCE {
Pcvm ::= SEQUENCE {
  msgGenerationTime  TimestampIts OPTIONAL,
  msgGenerationTime  TimestampIts OPTIONAL,
@@ -193,13 +193,16 @@ VehicleError ::= SEQUENCE {
  * 
  * 
  * @field powertrainActive: True if the power train is active, e.g. the engine is running/e-motor ready.
  * @field powertrainActive: True if the power train is active, e.g. the engine is running/e-motor ready.
*/
*/
VehicleDebug ::= SEQUENCE {               -- Optional information from the vehicle that might help debugging and analysis
VehicleDebug ::= SEQUENCE {               
  requestedVelocity VelocityComponentValue,  -- The currently requested velocity sent to the vehicle. Negative when driving backwards.
  requestedVelocity VelocityComponentValue,  
  requestedCurvature HighResCurvature,    -- The currently requested curvature sent to the vehicle.
  requestedCurvature HighResCurvature,    
  powertrainActive BOOLEAN                -- True if the power train is active, e.g. the engine is running/e-motor ready.
  powertrainActive BOOLEAN                
}
}


VehicleSafetyFeedback ::= SEQUENCE (SIZE(1..5)) OF VehicleSafetyFeedbackContainer   -- up to 5 VehicleSafetyFeedback containers for 20 ms monitoring, logging and debugging
/**
  * Up to 5 VehicleSafetyFeedback containers for 20 ms monitoring, logging and debugging.
*/
VehicleSafetyFeedback ::= SEQUENCE (SIZE(1..5)) OF VehicleSafetyFeedbackContainer   


/**
/**
  * This type represents the optional container added to the PCVM message mainly as a surrogate for missing static vehicle data that RVO will possibly need.  
  * This type represents the optional container added to the PCVM message mainly as a surrogate for missing static vehicle data that RVO will possibly need.  
@@ -221,7 +224,10 @@ VehicleSafetyFeedbackContainer ::= SEQUENCE {
  currentVehicleSafetyClockTime TimestampIts  
  currentVehicleSafetyClockTime TimestampIts  
}
}


SafetyViolationsContainer ::= SEQUENCE (SIZE(0..5)) OF SafetyViolationsEnum -- up to 5 safety violations can be reported per cycle
/**
  * Up to 5 safety violations can be reported per cycle.
*/
SafetyViolationsContainer ::= SEQUENCE (SIZE(0..5)) OF SafetyViolationsEnum 


/**
/**
  * This type represents the optional container added to the PCVM message mainly as a surrogate for missing static vehicle data that RVO will possibly need.  
  * This type represents the optional container added to the PCVM message mainly as a surrogate for missing static vehicle data that RVO will possibly need.  
@@ -265,7 +271,9 @@ VehicleProperties ::= SEQUENCE {
  ...
  ...
}
}


-- ******************** PCVM specific ENUMs ***************************
/**
  * PCVM specific ENUMs.
*/


/**
/**
  * This DE saves this state for logging purposes and forwards its content to the backend.
  * This DE saves this state for logging purposes and forwards its content to the backend.