HOSOKIkikou class for 2022_NHK_B

Dependents:   2022_NHK_B_UK 2022_NHK_B_sub2

Files at this revision

API Documentation at this revision

Comitter:
ikarashikota
Date:
Wed Oct 12 09:02:51 2022 +0000
Parent:
6:c4428d7f6078
Commit message:
add debug function

Changed in this revision

HOSOKIkikou.cpp Show annotated file Show diff for this revision Revisions of this file
HOSOKIkikou.h Show annotated file Show diff for this revision Revisions of this file
diff -r c4428d7f6078 -r d73c83c92932 HOSOKIkikou.cpp
--- a/HOSOKIkikou.cpp	Wed Oct 12 05:33:08 2022 +0000
+++ b/HOSOKIkikou.cpp	Wed Oct 12 09:02:51 2022 +0000
@@ -98,4 +98,8 @@
     }else{
         mspeed[3] = 0;   
     }
-}
\ No newline at end of file
+}
+
+void HOSOKIkikou::checkAllMotorSpeed(float* data_buff){
+    data_buff = mspeed;
+}
diff -r c4428d7f6078 -r d73c83c92932 HOSOKIkikou.h
--- a/HOSOKIkikou.h	Wed Oct 12 05:33:08 2022 +0000
+++ b/HOSOKIkikou.h	Wed Oct 12 09:02:51 2022 +0000
@@ -25,6 +25,8 @@
     void runLift(float speed);
     
     void stopAll();
+    
+    void checkAllMotorSpeed(float* data_buff);
 
 private: