Hi man just one question... After you linearize your model with linmod and use lqr to discover the K matrix how you include it in simulink? I mean you will actually get from LQR the full matrix K and you just can't copy and past it over simulink lqr block
Actually I am working on simmechanics simulation for collision avoidance mobile robot. when I run model imported from solidworks. at initial ,just at gravitational force wheels start oscillating like pendulum. I dont get it.
Can u please help me out?
I get the same error as @Chen, when I try to run the model:
"Variant Subsystem block 'QuadRotor_PID_Simulink3d/Plant_Quad_Base' contains no active variant objects."
What is the problem here?