Menu

Implementation in Real Time

2018-07-02
2018-07-11
  • Ulices Santa Cruz Leal

    Dear Tobias Englert:

    First of all, thanks a lot for GRAMPC, a truly useful (and elegant) tool!
    I have successfully generated an executable of a NMPC. Nevertheless i would like to implement the GRAMPC code in an embedded system (i.e Raspberry Pi ). Is it possible to implement GRAMPC in real-time ? I want to keep GRAMPC running indefinitely and follow new user setpoints. Please could you guide me with some suggestions? Thanks a lot!!

    Regards,
    Ulices Santa Cruz

     
  • Tobias Englert

    Tobias Englert - 2018-07-03

    Dear Ulices Santa Cruz,

    Unfortunately, we have no experience with the real-time implementation of GRAMPC on a Raspberry Pi. One possibility would be to use the Raspberry Pi Support from Simulink https://www.mathworks.com/hardware-support/raspberry-pi-simulink.html
    in combination with the GRAMPC s-function. Another possibility is of course to use GRAMPC directly in a C or C++ program.

    In addition, depending on the sampling rate of your system a real-time operating system may be necessary. A guide for installing a real-time kernel can for example be found here
    http://www.frank-durr.de/?p=203

    Best regards

     
  • Ulices Santa Cruz Leal

    Thanks a lot !

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.