Skip to content

Commit

Permalink
modified: src/tmx/TmxUtils/test/J2735MessageTest.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
jwillmartin committed Dec 1, 2023
1 parent 4fce5f9 commit 39ae4ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/tmx/TmxUtils/test/J2735MessageTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -782,8 +782,8 @@ TEST_F(J2735MessageTest, EncodeSDSM)
sDSMTimeStamp->year = year;
message->sDSMTimeStamp = *sDSMTimeStamp;

message->refPos.lat = 38.121212;
message->refPos.Long = -77.121212;
message->refPos.lat = 38121212;
message->refPos.Long = -77121212;

message->refPosXYConf.orientation = 10;
message->refPosXYConf.semiMajor = 12;
Expand All @@ -793,6 +793,7 @@ TEST_F(J2735MessageTest, EncodeSDSM)
auto objectData = (DetectedObjectData_t*) calloc(1, sizeof(DetectedObjectData_t));
objectData->detObjCommon.objType = ObjectType_unknown;
objectData->detObjCommon.objTypeCfd = 1;
objectData->detObjCommon.objectID = 1;
objectData->detObjCommon.measurementTime = 1;
objectData->detObjCommon.timeConfidence = 1;
objectData->detObjCommon.pos.offsetX = 1;
Expand All @@ -805,7 +806,6 @@ TEST_F(J2735MessageTest, EncodeSDSM)
objectData->detObjCommon.headingConf = 1;
ASN_SEQUENCE_ADD(&objects->list.array, objectData);
message->objects = *objects;
std::cout << message <<std::endl;
xer_fprint(stdout, &asn_DEF_SensorDataSharingMessage, message);

//Encode SDSM
Expand Down

0 comments on commit 39ae4ce

Please sign in to comment.