fluxoid-org / CyclismoProject

Contains all subprojects and libraries for the Cyclismo project
Other
7 stars 4 forks source link

Improve the way we keep the power model up to date #60

Open jovial opened 8 years ago

jovial commented 8 years ago

Currently we call setters manually; would it be better to implement some sort of Observer pattern? We are essentially keeping two models up to date. For an example: see PowerModel#setGradientAsPercentage; we also keep the slope in the BushidoBrakeModel.