![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
my new gear...
Diff: control_theory/SLE.cpp
- Revision:
- 6:e7f2335456c8
- Parent:
- 2:e7b09385d197
diff -r a611aac03d85 -r e7f2335456c8 control_theory/SLE.cpp --- a/control_theory/SLE.cpp Sun Mar 27 06:43:22 2022 +0000 +++ b/control_theory/SLE.cpp Sat Apr 09 03:20:19 2022 +0000 @@ -1,6 +1,6 @@ #include <SLE.hpp> -SLE::SLE(Port enc0,Port enc1,Port enc2,Port enc3,float resolution,float ensyu,float interval):wheel_ensyu(ensyu),dt(interval) +SLE::SLE(Port enc0,Port enc1,Port enc2,Port enc3,int resolution,float ensyu,float interval):wheel_ensyu(ensyu),dt(interval) { odometer[0].specinit(enc0.pin[0],enc0.pin[1],1,resolution,4); odometer[1].specinit(enc1.pin[0],enc1.pin[1],1,resolution,4);