ethz-asl / data-driven-dynamics

Data Driven Dynamics Modeling for Aerial Vehicles
Other
94 stars 13 forks source link

Fix plotting with dataselection #191

Closed pascalau closed 2 years ago

pascalau commented 2 years ago

This is a fix for the issue that arises when plotting and manual data selection is performed. The issue stems from the self.y_forces and self.y_moments not being cropped during data selection which leads to wrong sizes during plotting. This pr fixes the issue by correctly passing cropped y_forces and y_moments to the residual calculation and plotting.

Jaeyoung-Lim commented 2 years ago

My fault that I didn't check this thoroughly.

The axis seems to be mixed: Figure_1