blockfactory icon indicating copy to clipboard operation
blockfactory copied to clipboard

Notes about Modelica support

Open traversaro opened this issue 5 years ago • 0 comments

This are some random notes related to get blockfactory to generate Modelica blocks. It is meant to be more a place where to store relevant information, rather than an issue that should be closed in the short term.

External C code can be called from Modelica blocks using "External Functions', see http://book.xogeny.com/behavior/functions/external/ for more info.

An example of a simple Modelica MIMO block implemented using C external code (in that case to enable ROS integration) can be found in https://github.com/ModROS/ROS_Bridge/blob/d9a011da3f079b12ac93b106811f3bf585add7ec/Blocks/ROS_Sampler.mo . See https://github.com/ModROS/ROS_Bridge#usage-summary for a more detailed description of the block.

traversaro avatar Mar 01 '19 15:03 traversaro