Are you looking for a dynamics and controls example for teaching or research?
Check out the getting started video on YouTube: https://www.youtube.com/watch?v=wWLdbItrh48
Also included in this bundle are the corresponding hardware implementation models for LEGO Mindstorms NXT and EV3, a video showing the controlled LEGO system in action, and a hardware construction manual. For the traditional modeling approach the Euler-Lagrange tool is used to derive the system differential equations:
For model handling and startup: either a) execute the startup script in the utilities folder and easily access all models through a html menu, or b) open up models individually.
You can model and develop more elaborate algorithms using the Control System Toolbox and Stateflow. MATLAB Coder, Simulink Coder and Embedded Coder allow you to inspect and modify the generated code to learn on and explore industry-grade hardware platforms.
Mischa Kim (2020). Physical modeling in academia: the rotary pendulum with low-cost hardware (https://www.mathworks.com/matlabcentral/fileexchange/50731-physical-modeling-in-academia-the-rotary-pendulum-with-low-cost-hardware), MATLAB Central File Exchange. Retrieved .
This is great. But how can I deal with the error massage
"Failed to load library 'aerolibanimutils' referenced by 'RotaryPendulum_SLdemo_SwingUp/Simulation Pace'".
This occured whie I was running Simulink.
It doesn't work for R2017a!!!
Great work and fine to get it free for own experiments. Unfortunately, I cannot get it working in Matlab R2016b. As there are a lot of changes in hardware support package for ev3, have you any experience with this version? (E.g. TLC file changed from realtime.tlc to ert.tlc and sampling rate collapsed from 1kHz (R15a) down to 25Hz (R16b) in a simple model ).
This is great. Unbelievable how LEGO MINDSTORMS can be used to learn advanced modeling, simulation and controls.
Added a getting started video.
Title and description changes.
Improved user handling: added startup script and html menu for easy, one-click access to all models.
Included a readme file