Andrew Hellrigel / SwerveModule

Dependents:   SwerveDriveRobot

Files at this revision

API Documentation at this revision

Comitter:
andrewh33
Date:
Fri Apr 29 11:11:38 2022 +0000
Parent:
1:05a5529f9c0d
Commit message:
update

Changed in this revision

SwerveModule.h Show annotated file Show diff for this revision Revisions of this file
--- a/SwerveModule.h	Fri Apr 29 07:52:21 2022 +0000
+++ b/SwerveModule.h	Fri Apr 29 11:11:38 2022 +0000
@@ -45,6 +45,10 @@
         _steer->update(curr_time);
     }
     
+    bool is_on_target(){
+        return _steer->is_on_target();
+    }
+    
 };
 
 #endif
\ No newline at end of file