omni wheel library
Dependents: quadOmni_yanagi NHK2017_octopus hayatoShooter
オムニ用のライブラリです。
Diff: omni.cpp
- Revision:
- 8:ab46e745cfab
- Parent:
- 7:1d0aa4275eb0
- Child:
- 10:4f0b55344c73
diff -r 1d0aa4275eb0 -r ab46e745cfab omni.cpp --- a/omni.cpp Sun Aug 06 00:33:34 2017 +0000 +++ b/omni.cpp Sun Aug 06 14:49:01 2017 +0000 @@ -23,7 +23,7 @@ } inline double toDegrees(double radians) { - return radianss * (180.0 / M_PI); + return radians * (180.0 / M_PI); } Omni::Omni(int wheels, double initDegree) :