I am having problems building and running my simulink model. I am try using a custom message in a service but when I try to buid my node it give the following error:
Top model targets built:
Model Action Rebuild Reason
test_service Failed Code generation information file does not exist.
0 of 1 models built (0 models already up to date)
Build duration: 0h 0m 15.279s
Unrecognized message type simple_test/MyTest. Use rosmsg list to see available types.
Right now I am just trying to get a toy model working so I can get my real controller working that is much more complex.
My custom message is the following called simple_test/MyTest.srv:
I used this to message to replace the model in ros_twoint_service_simulink_example.slx
when i run rosmsg list I get the following:
here is a screen shot of my current workspace: