Add if command, and speed saving

This commit is contained in:
Michael Mikovsky
2025-02-26 15:40:29 -07:00
parent d7765def68
commit eb5dce08df
6 changed files with 117 additions and 29 deletions
@@ -72,7 +72,7 @@ public class Lidar extends Subsystem {
if(distance == -1){
s.addReport(ReportLevel.ERROR, "LIDAR DISCONNECTED");
}else{
s.addReport(ReportLevel.ERROR, "LIDAR CONNECTED");
s.addReport(ReportLevel.INFO, "LIDAR CONNECTED");
}
return s;
}