omniwheel lib

Dependents:   NHK2017_octopus NHK2017_octopus2 NHK2017_octopus2_drive 2018NHK_gakugaku_robo ... more

Revision:
2:9d972b2dad0f
Parent:
1:e9b590a5b27a
Child:
3:86fee122b81d
--- a/wheel.cpp	Sat Sep 30 05:22:22 2017 +0000
+++ b/wheel.cpp	Sun Oct 01 15:34:40 2017 +0900
@@ -39,6 +39,12 @@
     return *this;
 }
 
+Wheel &Wheel::operator=(float value)
+{
+    setOutput(value);
+    return *this;
+}
+
 Wheel::operator double()
 {
     return output;