usdot-fhwa-stol / carma-messenger

CARMA Messenger will be a scaled down version of CARMA Platform for a non-automated vehicle to participate in Cooperative Driving Automation (CDA). Doxygen Source Code Documentation: https://usdot-fhwa-stol.github.io/documentation/carma-messenger/
14 stars 11 forks source link

sdsm encoder in cpp_message is not able to encode correctly and shutting down carma-platform #216

Closed MishkaMN closed 6 months ago

MishkaMN commented 8 months ago

Summary

Currently CP stack uses externalobjectlist to sdsm node to publish detected objects as sdsm. However, it is immediately shutting down the message stack because either that node is giving corrupted sdsm data or the encoder in message stack is not able to encode successfully due to wrong implementation. It is most likely the 2nd case since decoder had similar issues before. Found during VRU use case integration testing

Commit

0643839efbf68293c93be6382139bdcbf5e11c2e

Expected Behavior

cpp_message should not crash at the start

Actual Behavior

cpp_message crashes at the start because cp stack starts publishing sdsm. the node lives fine if that node is turned off which makes no sdsm to publish.

Steps to Reproduce the Actual Behavior

See above

Related Work

No response

MishkaMN commented 6 months ago

Resolved with above PR