Closed kylc closed 8 years ago
Leaning towards option 1, perhaps with enum keys rather than strings. Implementation of option 1 on enhancement/33_parameters.
This is moving forward but needs testing before I spend a lot of time ripping out code. Waiting on hardware.
Closing. The rest of the work is going into #54.
Two options I'm thinking about right now:
store.lookup("ATT_VEL_P")
. Disadvantage is string lookups and more implicit, advantage is less parameter passing.Parameter& p, Parameter& i, Parameter& d
to a PID controller. Disadvantage is a LOT of passing parameter objects around. Advantage is that it's explicit.