Error publishing lane data as custom message

2 次查看(过去 30 天)
I am trying to publish XY lane points in world coordinates as a custom ros message. No problem adding the custom message to matlab.I can see it in rosmsg list. The error occurs in data assignment. I get the following error
'A signal can be assigned only once, but the assigned bus signal 'Xleft' fully covers the assigned signal 'Xleft.Data_SL_Info.CurrentLength' in block 'LKA0110/Subsystem/Bus Assignment1'
I could not find a suitable explanation on what this error means. Has anyone encountered this before?
Thank you

回答(1 个)

Jagadeesh Konakalla
Jagadeesh Konakalla 2022-10-21
移动:Jagadeesh Konakalla 2024-6-10
Hi,
Can you please go through the following documentation page on how to work with ROS messages.
Thanks,
Jagadeesh K.

类别

Help CenterFile Exchange 中查找有关 ROS Network Access in Simulink 的更多信息

产品


版本

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by