To integrate X2C in Hopsan would allow to develop an advanced controller for the simulated system in Hopsan and then transfer it directly to cheap or production controller hardware for testing and production.
In an advanced variant of this integration Hopsan's animation mode could be used to visualize the real world system's state.
challenges
Automatic generation of the glue code needed for the X2C components. Much groundwork is already existing.
Interfacing X2C's parameter conversion functionally which is written in Java.
Transfer of the model to X2C's communicator (java).
Parameter update in X2C's communicator (java) when a parameter in Hopsan is changed.
One idea to solve this challenges is to extend X2C with a CORBA interface. Then Hopsan could interface X2C through this interface.
Author Name: Martin Hochwallner (@marthoch) Original Redmine Issue: 1333, https://flumes.iei.liu.se/redmine/issues/1333 Original Date: 2014/10/09
http://www.mechatronic-simulation.org/
X2C is mostly free environment to design and simulate advanced controller software which can then automatically transferred (code generation) to e.g. Microcontrollers. See http://www.modprod.liu.se/modprod2014-talks/1.545904/MODPROD2014_MartinHochwallner_X2C.pdf
To integrate X2C in Hopsan would allow to develop an advanced controller for the simulated system in Hopsan and then transfer it directly to cheap or production controller hardware for testing and production.
In an advanced variant of this integration Hopsan's animation mode could be used to visualize the real world system's state.
challenges
One idea to solve this challenges is to extend X2C with a CORBA interface. Then Hopsan could interface X2C through this interface.