HelsinkiHacklab / cambot

1 stars 0 forks source link

Design abstract sensors class #4

Open rambo opened 13 years ago

rambo commented 13 years ago

That can be plugged with the filter classes in #3, so that all sensors have about the same API.

Hierarchy something like: Sensor -> accelerometer -> i2c_accelerometer -> 3_axis -> bma180 (c++ has multiple inheritance so number of axes and interface style might be better placed)