Error publishing lane data as custom message

2 views (last 30 days)
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

Answers (1)

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

Categories

Find more on Specialized Messages in Help Center and File Exchange

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!