Add vehicle dims to DCM

This commit is contained in:
emanuel 2022-02-09 14:51:21 +00:00
parent 831b9d6d80
commit 329aaf5209
1 changed files with 3 additions and 3 deletions

View File

@ -119,9 +119,9 @@ static int mk_dcm(facilities_t* facilities, uint8_t* dcm_uper, uint16_t* dcm_upe
asn_ulong2INTEGER(&dcm->dcm.currentPosition.timestamp, now); asn_ulong2INTEGER(&dcm->dcm.currentPosition.timestamp, now);
// Vehicle Dimensions // Vehicle Dimensions
//dcm->dcm.vehicleDimensions.length.vehicleLengthValue = facilities->vehicle.length; dcm->dcm.vehicleDimensions.length.vehicleLengthValue = facilities->vehicle.length;
//dcm->dcm.vehicleDimensions.length.vehicleLengthConfidenceIndication = VehicleLengthConfidenceIndication_noTrailerPresent; dcm->dcm.vehicleDimensions.length.vehicleLengthConfidenceIndication = VehicleLengthConfidenceIndication_noTrailerPresent;
//dcm->dcm.vehicleDimensions.width = facilities->vehicle.width; dcm->dcm.vehicleDimensions.width = facilities->vehicle.width;
dcm->dcm.plannedTrajectory.list.count = trajectory_len; dcm->dcm.plannedTrajectory.list.count = trajectory_len;
dcm->dcm.plannedTrajectory.list.size = trajectory_len * sizeof(void*); dcm->dcm.plannedTrajectory.list.size = trajectory_len * sizeof(void*);