Error publishing lane data as custom message

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)

Hi,
Can you please go through the following documentation page on how to work with ROS messages.
Thanks,
Jagadeesh K.

Categories

Products

Release

R2022a

Asked:

on 19 Oct 2022

Moved:

on 10 Jun 2024

Community Treasure Hunt

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

Start Hunting!