Expand description
CAM Transmission Management — ETSI TS 103 900 V2.3.1 (2026-05), the latest version.
Mirrors CAMTransmissionManagement in
flexstack/facilities/ca_basic_service/cam_transmission_management.py.
Key standard-compliance additions:
- Timer-based (T_CheckCamGen) instead of GPS-callback-reactive (§6.1.2, Annex B).
- T_GenCam is initialised to T_GenCamMax (not T_GenCamMin) as mandated by §6.1.2.
- Condition 1 (dynamics: heading/position/speed) and Condition 2 (time) are both evaluated on every T_CheckCamGen tick.
- A condition-1 CAM sets T_GenCam to the elapsed time; N_GenCam consecutive condition-2 CAMs reset it to T_GenCamMax; the first CAM keeps T_GenCamMax.
- Low-Frequency, Special-Vehicle, Very-Low-Frequency and Two-Wheeler extension containers are included according to §6.1.2.
- GN max packet lifetime 950 ms, below 1 s (TS 102 868-2 TP/CAM/MSD/PAR/BV-03; single-hop BTP-B/SHB per §6.1.1 and §5.3.4; V2.2.1 §5.3.4.1 allows at most 1000 ms, V2.3.1 leaves it to the NTL protocol stack).
- Ingestion into LDM on transmission if LDM adapter is configured.
Structs§
- CAMTransmission
Management - CAM Transmission Management — ETSI TS 103 900 V2.3.1 §6.1.
- Cooperative
Awareness Message - High-level Cooperative Awareness Message builder / container.
- InVehicle
Data - Latest in-vehicle data provided to the CA basic service (ETSI TS 103 900
V2.3.1 clauses 5.2 and 7.1): the next generated CAM carries these values.
Nonekeeps the static value ofVehicleData(drive direction, exterior lights) or omits the optional field (accelerationControl). The bit arrays are indexed asACCELERATION_CONTROL_BITS/EXTERIOR_LIGHTS_BITS. - Path
Entry - Transmission
State - Vehicle
Data - Static vehicle data used to populate every CAM.
Constants§
- ACCELERATION_
CONTROL_ BITS - AccelerationControl BIT STRING (SIZE(7)) bit names (ETSI TS 102 894-2 CDD).
- CAM_
PACKET_ LIFETIME_ S - GN packet lifetime of CAMs [s]: below 1 s (TS 102 868-2 TP/CAM/MSD/PAR/BV-03; TS 103 900 V2.2.1 §5.3.4.1: at most 1000 ms); 950 ms = 19 x 50 ms.
- EXTERIOR_
LIGHTS_ BITS - ExteriorLights BIT STRING (SIZE(8)) bit names (ETSI TS 102 894-2 CDD).
- N_
GEN_ CAM_ DEFAULT - N_GenCam: consecutive condition-2 CAMs after which T_GenCam returns to T_GenCamMax (§6.1.2).
- TIMESTAMP_
TOLERANCE_ MS - Tolerance of the elapsed-time comparisons [ms]: the evaluations are at least T_CheckCamGen apart, but millisecond truncation of the timestamps can make the measured interval 1 ms shorter.
- TWO_
WHEELER_ STATION_ TYPES - Station types that must include the Two-Wheeler extension container (§6.1.2): cyclist(2), moped(3), motorcycle(4).
- T_
CHECK_ CAM_ GEN_ MS - T_CheckCamGen [ms]: timer period for condition evaluation (≤ T_GenCamMin).
- T_
GEN_ CAM_ DCC_ MS - Default T_GenCam_DCC [ms] used until a DCC entity provides a value.
- T_
GEN_ CAM_ LF_ MS - Low-frequency container minimum interval [ms].
- T_
GEN_ CAM_ MAX_ MS - T_GenCamMax [ms]: maximum CAM generation interval (1 Hz minimum rate).
- T_
GEN_ CAM_ MIN_ MS - T_GenCamMin [ms]: minimum CAM generation interval (10 Hz maximum rate).
- T_
GEN_ CAM_ SPECIAL_ MS - Special-vehicle container minimum interval [ms].
- T_
GEN_ CAM_ VLF_ MS - Very-low-frequency container minimum interval [ms].
- VEHICLE_
ROLE_ NAMES - VehicleRole enum names indexed by integer value (§6.1.2 / CDD).
Functions§
- create_
altitude_ confidence - Translates the epv TPV value (in metres) to the altitude confidence value.
- create_
heading_ confidence - Translates the epd TPV value (in degrees) to the heading confidence value.
- create_
position_ confidence - Translates the epx and epy TPV values (in metres) to the position confidence ellipse value.
- haversine_
m - Return the great-circle distance in metres between two WGS-84 points.