필터 지우기
필터 지우기

How to use Simulink with ROS

조회 수: 3 (최근 30일)
Bao Nguyen
Bao Nguyen 2023년 12월 29일
댓글: Jagadeesh Konakalla 2024년 1월 5일
Hey!
Im trying to connect the line estimate SOC to publish the ROS node but error keeps occuring, can someone please help me with this?
"
One or more signal names in the input bus to block 'BatterySOCEstimation/Publish/SignalSpecification' does not match the signal names in the bus specified by the bus object 'SL_Bus_BatterySOCEstimation_std_msgs_Float64' on the block dialog. Signal Specification blocks always treat element name mismatches as errors, regardless of the 'Element name mismatch' option setting. Either change the specified bus object or rename the input bus element signals to match the bus object.
"
  댓글 수: 3
Bao Nguyen
Bao Nguyen 2023년 12월 29일
Hey there!
I use the example of getting the SOC from simulink example lists. Then i just tried to publish the estimate SOC to a ROS node by simply connect the line to a bus creator then to a ROS publisher with std_message/Float32 (this might be the problem in the type conversion?). I noticed the naming mismatch error but i dont know how to fix it cause it didnt really show me how to change the name nor did i know how to do it
Jagadeesh Konakalla
Jagadeesh Konakalla 2024년 1월 5일
Hi Bao,
Please reach out to MathWorks Technical Support Team as you need to share your Simulink models.
Thanks,
Jagadeesh K.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 System Composer에 대해 자세히 알아보기

태그

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by