ethz-asl / data-driven-dynamics

Data Driven Dynamics Modeling for Aerial Vehicles
Other
98 stars 14 forks source link

Fix plotting #182

Closed Jaeyoung-Lim closed 2 years ago

Jaeyoung-Lim commented 2 years ago

Problem Description Plotting of the predictions were broken as reported in https://github.com/ethz-asl/data-driven-dynamics/issues/180

This was due to the fact that the axis order of the prediction / measurement has been flipped after https://github.com/ethz-asl/data-driven-dynamics/pull/176

This PR fixes the plotting by fixing the order of the matrices

Testing The results can be reproduced with the following command.

make estimate-model plot=True

Before PR Residual_Visualization Figure_1 Figure_2

After PR Residual_Visualization Figure_1 Figure_2

Additional Context