geez0x1 / CompliantJointToolbox

Compliant Joint Toolbox (CJT) for MATLAB and Simulink
GNU General Public License v3.0
38 stars 14 forks source link

Kalman observer and Luenberger observer do not find stable gains #53

Closed joernmalzahn closed 6 years ago

joernmalzahn commented 6 years ago

Both, the Kalman block and the Luenbeger block throw this error when inserting the joint class parameter:

grafik

The guess is that the blocks have not been updated after recent interface changes (input / output dimensionality). This way the blocks are unusable.

joernmalzahn commented 6 years ago

I created a new branch to work on this issue: https://github.com/geez0x1/CompliantJointToolbox/tree/dev_fix_issue_53

In the meantime, I disabled both in the dev_doc branch.

geez0x1 commented 6 years ago

Leaving a note here to say that the tests in cjtSimulinkLibraryTest need to be re-enabled once this is fixed.

geez0x1 commented 6 years ago

This is an interesting issue. The systems used in the examples (output_fixed) are not observable due to the secondary input.

geez0x1 commented 6 years ago

This has been fixed by somewhat of a workaround for the Kalman observer, and properly for the Luenberger observer. Both examples and unit tests work now: b6819be16f3a01ada97b4e49b54c416c9d4e20d1...c5b0095f29442c74fc8b436ce251762a8bc2bc7b.