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

Respuestas (1)

Jagadeesh Konakalla
Jagadeesh Konakalla el 21 de Oct. de 2022
Movida: Jagadeesh Konakalla el 10 de Jun. de 2024

0 votos

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

Categorías

Productos

Versión

R2022a

Preguntada:

el 19 de Oct. de 2022

Movida:

el 10 de Jun. de 2024

Community Treasure Hunt

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

Start Hunting!

Translated by