-
Notifications
You must be signed in to change notification settings - Fork 4
Test BSM Revision Counter
linda-baker edited this page Jul 24, 2024
·
2 revisions
A series of BSM Messages. The first 2 are sent at the same time, while the rest are each separated by 1 second. The first 3 are identical, and the fourth is the same except for a changed revision number. The fifth and sixth BSM both change different contents as well as their revision number. The seventh's contents change, but the revision number stays the same.
Only the last message should trigger a revision counter event, when the BSM message changes without updating the revision count.
topic.CmBsmRevisionCounterEvents
One BsmRevisionCounterEvents produced on the topic within 30 seconds.
Topic: topic.CmBsmRevisionCounterEvents
% Waiting for group rebalance
% Group grouph rebalanced (memberid rdkafka-4d0dde19-b61a-4c69-8cb0-1d3df71880f2): assigned: topic.CmBsmRevisionCounterEvents [0]
% Reached end of topic topic.CmBsmRevisionCounterEvents [0] at offset 13
{"eventGeneratedAt":1721253290551,"eventType":"BsmRevisionCounter","intersectionID":0,"roadRegulatorID":0,"previousBsm":{"metadata":{"bsmSource":"RV","logFileName":"","recordType":"bsmTx","securityResultCode":"success","receivedMessageDetails":{"locationData":{"latitude":"","longitude":"","elevation":"","speed":"","heading":""},"rxSource":"RV"},"payloadType":"us.dot.its.jpo.ode.model.OdeBsmPayload","serialId":{"streamId":"","bundleSize":1,"bundleId":0,"recordId":0,"serialNumber":0},"odeReceivedAt":"2024-07-17T21:54:50.385Z","schemaVersion":6,"maxDurationTime":0,"recordGeneratedAt":"","sanitized":false,"odePacketID":"","odeTimStartDateTime":"","originIp":"10.11.81.28"},"payload":{"data":{"coreData":{"msgCnt":59,"id":"E6B8BE70","secMark":54385,"position":{"latitude":39.644797,"longitude":-105.0816018,"elevation":0},"accelSet":{"accelLong":0,"accelYaw":0},"accuracy":{"semiMajor":0,"semiMinor":0,"orientation":0},"transmission":"UNAVAILABLE","speed":22.42,"heading":190.5,"brakes":{"wheelBrakes":{"leftFront":false,"rightFront":false,"unavailable":true,"leftRear":false,"rightRear":false},"traction":"unavailable","abs":"on","scs":"unavailable","brakeBoost":"unavailable","auxBrakes":"unavailable"},"size":{"width":0,"length":0}},"partII":[{"id":"VehicleSafetyExtensions","value":{"pathHistory":{"crumbData":[]},"pathPrediction":{"confidence":0,"radiusOfCurve":0}}}]},"dataType":"us.dot.its.jpo.ode.plugin.j2735.J2735Bsm"}},"newBsm":{"metadata":{"bsmSource":"RV","logFileName":"","recordType":"bsmTx","securityResultCode":"success","receivedMessageDetails":{"locationData":{"latitude":"","longitude":"","elevation":"","speed":"","heading":""},"rxSource":"RV"},"payloadType":"us.dot.its.jpo.ode.model.OdeBsmPayload","serialId":{"streamId":"","bundleSize":1,"bundleId":0,"recordId":0,"serialNumber":0},"odeReceivedAt":"2024-07-17T21:54:50.385Z","schemaVersion":7,"maxDurationTime":0,"recordGeneratedAt":"","sanitized":false,"odePacketID":"","odeTimStartDateTime":"","originIp":"10.11.81.28"},"payload":{"data":{"coreData":{"msgCnt":59,"id":"E6B8BE70","secMark":55385,"position":{"latitude":39.644797,"longitude":-105.0816018,"elevation":0},"accelSet":{"accelLong":0,"accelYaw":0},"accuracy":{"semiMajor":0,"semiMinor":0,"orientation":0},"transmission":"UNAVAILABLE","speed":22.42,"heading":190.5,"brakes":{"wheelBrakes":{"leftFront":false,"rightFront":false,"unavailable":true,"leftRear":false,"rightRear":false},"traction":"unavailable","abs":"on","scs":"unavailable","brakeBoost":"unavailable","auxBrakes":"unavailable"},"size":{"width":0,"length":0}},"partII":[{"id":"VehicleSafetyExtensions","value":{"pathHistory":{"crumbData":[]},"pathPrediction":{"confidence":0,"radiusOfCurve":0}}}]},"dataType":"us.dot.its.jpo.ode.plugin.j2735.J2735Bsm"}},"message":"Bsm message changed without msgCount increment."}
% Reached end of topic topic.CmBsmRevisionCounterEvents [0] at offset 14
If the BSM messages for this intersection has been sent prior to this test, the result may differ from the above.