I would like to deploy the code on Ubuntu 16.02 + ROS which prepared the CAN communication model created on simulink separately using the code which uses the CANUSB device made by Lawicel in the URL below and is made available on the following URL. If I select "/ canrx" as the topic of the Subscribe block in the procedure in, and then select the Subscribe block again, an error such as an image will occur.
1. Place the ROS Subscribe block
2. Double click on it
3. Select "Select from ROS network"
4. Select the topic "/ canrx" on another PC's ROS network from "Select" on the right side of Topic:
5. Message type is automatically set to "canusb / CAN", apply, and press OK.
Of course "Configure ROS Network Addresses" can be connected to the ROS network of another PC without any problem, and the configuration parameters "Run hardware", "Target hardware resources", "Build option" "Edit" "Test" There is no error and the connection with the ROS network is good.