ethz-asl / data-driven-dynamics

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

Enforce function naming from baseclass #111

Closed Jaeyoung-Lim closed 3 years ago

Jaeyoung-Lim commented 3 years ago

Problem Description There was a discrepancy of method naming of the tiltwing model compared to other models.

Proposed Solution This commit enforces that prepare_regression_matrices are implemented in children classes of dynamics_model class by raising a notImplemented exception if the method doesn't exist. This is trying to enforce a virtual function as in cpp