Visible to the public detection publisher problem in simulinkConflict Detection Enabled

1 reply [Last post]
jing
jing's picture
Offline
Established Community Member
Joined: Jan 31 2017

I have a problem with using simulink to create a node about detection. Does anyone saw this problem previous and know the solution?

I set the blankMsg as polygonStamped. and in the Publisher also is polygonStamped.

The matlab function named outputMsg is very similiar with posted in task2.

I cut some pictures for this problem.

Jonathan Sprinkle
sprinkle's picture
Offline
AdministratorEstablished Community Member
Joined: Aug 11 2010
Probably this error is

Probably this error is related to the name of the Simulink data bus. I realize it's a little confusing, but check out this tutorial:

https://www.mathworks.com/help/robotics/examples/work-with-ros-messages-in-simulink.html

And look under "Task 3 - Work with Messages Using MATLAB Function Block"

If you look at it, it might have the name of your previous example you cloned (e.g., task1simulink or laserscan2image) as part of its name. You will need to select the SL_Bus_..... to match what your new filename is. I think if you do that, things will work out! :)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.