ethz-asl / data-driven-dynamics

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

Tiltwing model flooded with debug outputs #120

Closed Jaeyoung-Lim closed 3 years ago

Jaeyoung-Lim commented 3 years ago

Problem Description When running the tiltwing model, the terminal is being flooded with debug outputs

Evaluating objective function.
acceleration prediction RMSE:  1.2792108617237172
Evaluating objective function.
acceleration prediction RMSE:  1.2792108636238253
Evaluating objective function.
acceleration prediction RMSE:  1.2792108616957063
Evaluating objective function.
acceleration prediction RMSE:  1.2792108623663425
Evaluating objective function.
acceleration prediction RMSE:  1.2792108616133975
Evaluating objective function.
acceleration prediction RMSE:  1.2792108619574944
Evaluating objective function.
acceleration prediction RMSE:  1.2792108624657261
Evaluating objective function.
manumerous commented 3 years ago

I mean its not really a bug. Its programmed to do that for feedback. But we can eliminate it or add a verbose argument to the config.

Jaeyoung-Lim commented 3 years ago

@manumerous Hmm... If this was the purpose, is there any reason it should be tiltwing specific?

At least for me, this behavior appeared as the pipeline is broken and therefore I added the bug label. It is anyway broken in the sense that it is not consistent with other models.

manumerous commented 3 years ago

It was only added to the tiltwing model since this is the only model at the moment with the nonlinear optimization and a custom cost function. Therefore it was added as a development tool and to give some feedback when you run the algorithm.

But if its confusing we can just delete the printout statements. :)