Hi, I have a simulink model that is using blocks from Robotics Operating System Toolbox. I am trying to generate the C++ code from it, but I am getting following error:
Warning: The following error was caught while executing 'coder.internal.ModelBuilder' class destructor:
Could not find information file: /home/jane/Documents/slprj/ert/HoffManSubSystem2/tmwinternal/binfo.mat. One reason this can happen is that the top model has the 'Rebuild options' parameter set to 'Never' on the 'Model Referencing' pane of the Configuration Parameters dialog.
I checked for Model Referencing pane in the configuration Parameters dialog and it looks this:
I don't understand what is causing this problem. I have verified that roscore is running and Simulink is able to connect to ROS, so this is not the problem. One important point to note is that I am using variable size inputs and I have properly defined its maximum size. I am able to run the simulation from simulink and it produces the output as expected, but it is failing to generate the C++ code for standalone ROS.
Any help in this regard will be appreciated.